Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

incorrect display of pdf

  • 6 odpovedí
  • 1 má tento problém
  • 3 zobrazenia
  • Posledná odpoveď od _ms_

more options

In a previous incarnation, firefox failed to display a dot with the pdf equivalent of the PostScript 100 100 moveto closepath 10 setlinewidth 1 setlinecap stroke That seems to be fixed in 77.0beta2, although it seems to be using PDF.js In any case, now there is the opposite problem. The pdf equivalent of the PostScript 100 100 moveto closepath 10 setlinewidth 2 setlinecap stroke is showing a little square. This is wrong, it should not show anything.

In a previous incarnation, firefox failed to display a dot with the pdf equivalent of the PostScript 100 100 moveto closepath 10 setlinewidth 1 setlinecap stroke That seems to be fixed in 77.0beta2, although it seems to be using PDF.js In any case, now there is the opposite problem. The pdf equivalent of the PostScript 100 100 moveto closepath 10 setlinewidth 2 setlinecap stroke is showing a little square. This is wrong, it should not show anything.

Všetky odpovede (6)

more options

Does this problem exist in the latest "web app" version of PDF.js or only in the built-in viewer, which may be a bit behind? You can test the web app version here:

https://mozilla.github.io/pdf.js/web/viewer.html

Use the "Open file" icon on the black toolbar (next to the print icon) to load your PDF from disk for testing. This is handled in-tab and not submitted to the server.

more options

I am now on a different Win10 PC, running 76.0, not a beta version. Running test.pdf from here using https://mozilla.github.io/pdf.js/web/viewer.html, I see a blank page, which is incorrect, but different from what I saw on the other Win10 PC. It is vaguely possible that the test.pdf files on the two PCs are different, being separately generated with possibly different versions of ghostview, but they display the same in Acrobat. The PostScript source is:

100 100 translate 10 setlinewidth 0 1 2 {/x exch def x setlinejoin

 0 1 2 {/y exch def y setlinecap
   100 x mul 100 y mul moveto closepath stroke
 } for

} for showpage

more options

Sorry, I don't know what to do with PostScript code...

Do you want to post an example of a PDF that doesn't render correctly in beta on some storage site and share a link to it?

more options

https://github.com/ms0/test/blob/master/test.pdf

The PostScript source is there as well (test.ps); I use ghostview to convert ps to pdf.

more options

For what it's worth, it looks blank to me in both Firefox 76.0 and Nightly, in both the built-in viewer and the web app viewer. So maybe file an issue on pdf.js? https://github.com/mozilla/pdf.js/issues/

more options

I have filed an issue in pdf.js, as you suggested.