Comment 6 for bug 1971608

Revision history for this message
In , Rahul-siddharthan (rahul-siddharthan) wrote :

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0

Steps to reproduce:

My setup is Firefox 99.0.1 snap on Ubuntu 22.04 Jammy. I filed an Ubuntu bug but they said the firefox snap is from upstream and sent me here.
I opened http://www.wormbook.org/chapters/www_intromethodscellbiology/intromethodscellbiology.pdf and the fonts are wrong and spacing is ugly.

Over on reddit people suggested disabling use document fonts (browser.display.use_document_fonts=0) and that fixed it; but for html pages it uses the wrong fonts then.

Also on reddit, someone said reproducible in a Ubuntu VM; someone else said, not reproducible on Linux Mint, which is based on Ubuntu but doesn't use snaps.

Actual results:

Ugly fonts. Results in first image here
https://www.reddit.com/r/firefox/comments/uhz6d1/continued_messedup_font_rendering_in_firefox_pdf/

Expected results:

Beautiful fonts. Second image here
https://www.reddit.com/r/firefox/comments/uhz6d1/continued_messedup_font_rendering_in_firefox_pdf/