Closed Bug 1816853 Opened 2 years ago Closed 2 years ago

Firefox pdfviewer show black rectangles instead of spaces

Categories

(Firefox :: PDF Viewer, defect)

Firefox 110
defect

Tracking

()

RESOLVED INVALID

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.

Component: Untriaged → PDF Viewer

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 ?

I added the file, it happens on all three pages.

There is another example where this bug happens. It happens on the second page.

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 ?

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.

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?

  1. 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
  2. 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/
  3. Do you have any addons installed if so can you list them?
Flags: needinfo?(tomkobat)

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!

Flags: needinfo?(tomkobat)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID

: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.

Flags: needinfo?(tomkobat)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: