PDF fonts poorly in Linux with Firefox
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
People
(Reporter: csae2608, Unassigned)
References
Details
(Whiteboard: [pdfjs-non-standard-font])
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
open PDF in Firefox under Linux Ubuntu 18.04 via website
https://web.archive.org/web/20011111104216/http://www.lungusa.org/air/pdf/pm01_rep.pdf
https://web.archive.org/web/20011111104402/http://www.lungusa.org/air/pdf/ozone01_rep.pdf
Actual results:
poor fonts are being displayed
Expected results:
should have included "original" fonts by default?
this could be achieved after going to
about:config (in adress bar)
setting "browser.display.use_document_fonts" to "0" instead of "1"
should be default behaviour, or am i wrong?
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Thanks for reporting!
I tried to reproduce this issue using Firefox 91.5.1esr and Beta 97 on Ubuntu 20.04, but unfortunately I didn’t manage to recreate the situation.
Upon changing the setting "browser.display.use_document_fonts" to "0" instead of "1" though, using Firefox 91.5.1esr, I refreshed the web pages and the pages were blank.
Can you please mention the Firefox version you're using? And can you also attach a screenshot of the occurring issue?
Comment 4•3 years ago
|
||
(In reply to Marco Castelluccio [:marco] from comment #2)
Pretty sure there is already a bug around about this.
There's actually bug 1563678, but it seems to be the opposite.
Hello,
i made some screenshot,
please see the difference (in readability)
with setting "0" (user-set)
https://ibb.co/d7PnX0f
https://ibb.co/0pNdLxL
https://ibb.co/SQKxVLk
with setting "1" (standard, firefox 91.5 esr, 64bit, ubuntu 18.04 LTS)
https://ibb.co/z7617DY
https://ibb.co/FVnZZDQ
https://ibb.co/NKkMmVw
Thanks.
Thank you for the reply!
I will mark this issue as NEW since I managed to reproduce it on Ubuntu 18.04 using Firefox 91.5.1esr, Firefox 96 and Nightly 98.0a1.
The issue was not reproducible on Ubuntu 20.04 though.
Comment 7•3 years ago
|
||
Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.
can confirm that this issue occurs on several other sites aswell, basically alot of PDF i opened "randomly" were affected,
glad that this issue is no more present in Ubuntu 20.04. thanks very much for your time & help.
Updated•3 years ago
|
it seems this issue is back on Ubuntu 22.04, see here, starting page 6
http://harvardmuslimalumni.org/sites/default/files/HUMA%20IF%20Conference%20-%20Program.pdf
Comment 12•2 years ago
|
||
I had filed bug 1767925, which was closed as a duplicate of this. That bug is specific to the snap on ubuntu. I have switched back to the deb via the mozillateam ppa, purely because of this issue. The deb works fine. The problem seems to be that the snap is not able to find fonts which are on the system but not embedded in the pdf. In other words it's an ubuntu snap packaging bug, not a firefox bug.
Comment 13•2 years ago
|
||
(In reply to rahul.siddharthan from comment #12)
I had filed bug 1767925, which was closed as a duplicate of this. That bug is specific to the snap on ubuntu. I have switched back to the deb via the mozillateam ppa, purely because of this issue. The deb works fine. The problem seems to be that the snap is not able to find fonts which are on the system but not embedded in the pdf. In other words it's an ubuntu snap packaging bug, not a firefox bug.
Thanks for the info, I've reopened bug 1767925 and marked it as blocking the meta bug tracking all Snap issues.
Comment 15•2 years ago
|
||
Are you still able to reproduce this with latest Nightly? It might have been fixed by https://github.com/mozilla/pdf.js/pull/16363 or https://github.com/mozilla/pdf.js/pull/16416.
Comment 16•2 years ago
|
||
I tried the two pdfs in the original report as well as the pdf in my (duplicate) bug report 1768783, and they all render correctly with 113.0.1 on Ubuntu. Thanks very much. :)
Comment 17•2 years ago
|
||
Thanks! Marking this as duplicate of bug 1766039 then.
Description
•