Opened 9 years ago
Closed 9 years ago
#76 closed defect (fixed)
fontconfig: Firefox 31 font quality regression
Reported by: | dmik | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | *none | Version: | |
Severity: | high | Keywords: | |
Cc: |
Attachments (3)
Change History (8)
by , 9 years ago
Attachment: | Снимок экрана 2015-11-25 в 14.08.25.png added |
---|
by , 9 years ago
Attachment: | Снимок экрана 2015-11-25 в 14.10.38.png added |
---|
ff 31 with new fontconfig
comment:1 by , 9 years ago
My guess is that somehow the new font config selects a different pixel size for Workplace Sans for which it doesn't have a bitmap font.
comment:2 by , 9 years ago
Or, to be more exact, the new fontconfig causes the vector version of Workplace Sans
to be matched instead the bitmap version (given the same pattern). As we clearly see that on the first screenshot there are bitmap versions (the menu bar and small letters on the page) while on the second screenshot vector fonts (with not too good hinting) are used. This may also relate to the new algorithm of matching the font weight and slant which makes fontconfig fall back to vector instead of bitmap.
comment:3 by , 9 years ago
Okay, Silvan quickly found the difference. The old fontconfig forced FC_EMBEDDED_BITMAP=FcTrue
for all patterns by default in FcPatternCreate
. Doing so gives exactly the same visual results as before. Attaching the new screenshot. A commit from Silvan will follow.
by , 9 years ago
Attachment: | Снимок экрана 2015-11-25 в 16.00.31.png added |
---|
ff 31 with FC_EMBEDDED_BITMAP=FcTrue
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed r1185 per further discussion with @diver. Note that we should review it all one day because FcDefaultSubstitute
is actually supposed to be called by the application as long as FcConfigSubstitute
which is a no-op for now (and we need to resolve #75 to make its ll actually work). Once resolved, r1184 and r 1185 should be rolled back I suppose.
ff 31 with old fontconfig