Closed Bug 1298473 Opened 8 years ago Closed 2 years ago

[PDF Viewer] Text on the map does not appear

Categories

(Firefox :: PDF Viewer, defect)

47 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: thibolu, Unassigned)

References

Details

(Whiteboard: [pdfjs-font-missing])

Attachments

(5 files)

Attached file 581575.pdf
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160209234642

Steps to reproduce:

Open the attached file with Firefox 47 (same issue in Firefox 44)


Actual results:

The map is rendered properly, but the text overlay is not displayed


Expected results:

Both the text and the map should be rendered correctly.
Status: UNCONFIRMED → NEW
Component: Untriaged → PDF Viewer
Ever confirmed: true
Summary: PDF.js text on the map does not appear → [PDF Viewer] Text on the map does not appear

confirming the bug:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
nightly build: 20211210215852

Attached file 1298473_testcase..pdf

testcase with only a text which is not displayed

screenshot of inspector view: the text element is set to transparent in FF

Sorry, please ignore comment 5. That was stupid...The transparence was in the textlayer... as it should be.

It looks like the PDF doesn't embed the font files. We should be able to handle this though, so I'm not sure why our fallback isn't working.

Whiteboard: [pdfjs-font-missing]

Thanks for testing Kenan!

Status: NEW → RESOLVED
Closed: 2 years ago
Depends on: 1772598
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: