PCF font rendering is too tiny after Firefox 89 update
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: a0939712328, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
- Have a Linux system with legacy PCF font files (Ex. timB08.pcf.gz aka. Times)
- Browse a website that uses PCF font names (Ex. https://en.wikipedia.org/wiki/Wikipedia:Typography#Legacy_font_names)
- Observe the font size.
Actual results:
The text is significantly smaller than in Firefox 88.
Expected results:
The text size is the same as Firefox 88.
Reporter | ||
Comment 1•3 years ago
|
||
Using mozregression, I figure that the following changeset introduced the issue.
https://hg.mozilla.org/integration/autoland/rev/6f7a64d3796bf8acb2421721d8a6b8b94db2a067
Reporter | ||
Comment 2•3 years ago
|
||
A temporary workaround is to remove *.pcf(.gz) font files from the system. This way, Firefox always finds the TTF fonts instead (might consider making it prefer TTF fonts over PCF fonts as well?)
Comment 3•3 years ago
|
||
Can reproduce the issue here (voidlinux, updated to FF89 yesterday, User agent "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"). On the example page provided, the three legacy fonts "Helvetica", "Times" and "Courier" are all rendered incredibly small.
Can also confirm that the workaround -- removing the *.pcf.gz font files -- worked for me (after restarting firefox).
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Does setting gfx.e10s.font-list.shared=false
and restarting Firefox improve the behavior here?
Comment 5•3 years ago
|
||
(I think this is really a regression from that work, which was masked by a change of mine that probably reordered the fontconfig faces in just the right way)
Reporter | ||
Comment 6•3 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #4)
Does setting
gfx.e10s.font-list.shared=false
and restarting Firefox improve the behavior here?
The text size is back to normal. In fact, zoom level now affects the text size as well, indicating that it might be using the TTF ones now instead.
Comment 7•3 years ago
|
||
Great, so that means that the root cause of the issue here is that the shared font list doesn't deal correctly with bitmap fonts. Let's track this in bug 1714282.
Description
•