Closed Bug 868465 Opened 9 years ago Closed 7 years ago

Text in PDF is not visible using FF PDF viewer - but fine in all other viewerss


(Firefox :: PDF Viewer, defect, P3)

20 Branch
Windows 8





(Reporter: timh, Unassigned)



(Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-f-fixed-upstream]


(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130409194949

Steps to reproduce:

1. Go to
2. Notice that every paragraph has a "click here" to view a PDF.
3. Click on any of them - for example this first one:

Actual results:

The PDF appears in Firefox internal viewer, but not the text.

This problem is unique to the FF internal viewer. Every other viewer from every platform, including all mobile devices, work fine.

Expected results:

The text should be visible.
Again, every other PDF viewer on every platform, including mobile platforms, show these PDFs fine. Only the FF internal viewer has this issue of not showing the text in these PDFs.
Component: General → PDF Viewer
Product: Core → Firefox
Confirmed with FF23 on Win 7 too.

Web console log in FF23:
[15:56:35.033] "PDF 59138f2e13aba279ea5bb8b5ab26323f [1.3 Haru Free PDF Library 2.3.0RC2 / -] (PDF.js: 0.8.47)"
[15:56:35.465] "Warning: Error during font loading: ranges[(ranges.length - 1)] is undefined"
Ever confirmed: true
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion]
I have yet to find a PDF where text *does* work. I can't believe you guys are shipping this obviously unfinished PDF viewer.
We have found a workaround by using other fonts. The PDF's listed in the URL above will be replaced sometime soon.
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion] → [pdfjs-c-rendering][pdfjs-d-font-conversion][pdfjs-f-fixed-upstream]
(In reply to Tim Hennings from comment #3)
> We have found a workaround by using other fonts. The PDF's listed in the URL
> above will be replaced sometime soon.

Hi Tim, I'm having the same problem, see and example document

Just interested what fonts you used to get around this as I've tried several 'common fonts' but no joy. I can only get it to work by turning off hardware acceleration or opening in safe mode - neither of which I can sell as a solution to our customers.
I have got the same problem and i used before Arial and now i am using Georgia, but i find that RichText with Georgia not being showed either.

So i need to change to normal label to show all text
Ok, i think my old post was not good enough.

I am using Devexpress to generate PDF and its designer tool there are one object called RichText that after changed to Georgia not show the text, but the object called Label does.

So after some tests i find that RichText with Booled style shows.
Closed: 7 years ago
Depends on: 937670
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.