Firefox pdfviewer show black rectangles instead of spaces
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
People
(Reporter: tomkobat, Unassigned, NeedInfo)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Steps to reproduce:
I updated firefox to version 110 (flatpak), and I opened pdf at this link: https://insis.vse.cz/zp/77457
Actual results:
The pdfviewer shows black rectangles instead of spaces.
Expected results:
The pdfviewer should display spaces correct as it shown in previous versions.
![]() |
||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
I'm not able to find the screenshoted page in the pdf.
Could you attach the pdf in this bug and give us the page number where the problem is ?
There is another example where this bug happens. It happens on the second page.
Comment 4•2 years ago
|
||
I can't reproduce neither on Windows 11 nor on Fedora 37.
Could you try in nightly ?
If you think it's a regression, could you try to find a potential culprit with mozregression ?
Comment 5•2 years ago
|
||
I set up an Ubuntu 22.04 in a VM, I snaped Firefox 110 and unfortunately I can't reproduce your issue.
I dived into the pdf itself.
The font used to render those spaces is /TimesNewRomanPSMT
but it isn't embedded in the pdf, hence we fallback Times, sans-serif
when rendering it on the canvas.
I suppose that sans-serif
isn't involved here else you'd have already noticed it, so likely you've a font called Times
(or there's a substitution for it) on your system, and this font has a black square for the glyph used to render a space.
Comment 6•2 years ago
|
||
Hello! I have tried to reproduce the issue using firefox 112.0a1 (2023-02-16) on Windows 10 and Ubuntu 22.04 but unfortunately I wasn't able to reproduce it on my end.
Could you please answer the following questions in order to further investigate this issue?
- Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
- Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
- Do you have any addons installed if so can you list them?
Hi, I tested it with add-ons disabled and the issue is was not present. I am closing the issue for now. Sorry for the inconvinience!
Comment 8•2 years ago
|
||
:tomkobat, if you know how to reproduce the bug it'd be nice to test with the built available here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1825293#c19
and then give your feedback in bug 1825293. Thank you.
Description
•