[Fontconfig] How to prevent Chromium from scaling bitmapped fonts?
Kynn Jones
kynnjo at gmail.com
Tue Mar 8 04:15:13 UTC 2016
Hi everyone!
I can't keep Chromium from scaling the bitmapped font Terminus.
I have disabled (i.e. removed)
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/70-no-bitmaps.conf
and enabled (i.e. symlinked)
/etc/fonts/conf.d/50-enable-terminus.conf
...to no avail.
The URL below points to a comparison between Icweasel's and Chromium's
rendering of the same test page:
http://i.imgur.com/QWhGmbl.png
(The side that looks nice is Iceweasel; that one that looks like a
total disgrace is Chromium.)
The HTML that generated the test page is here
https://gist.github.com/kynnjo/d1c2b75e0903054e0163
Note that 12px is the only size that Chromium gets right. It looks
like it obtains the remaining sizes by scaling the 12px font.
(BTW, the lack of difference between 12px regular and 12px bold is to
be expected, since there's no 12px bold in this font. On the other
hand, there *should* be a difference between sizes 14px and 16px, and
between 18px and 20px, since my system has separate font specification
files for all those sizes. So maybe Iceweasel's rendering is not
perfect either. Nevertheless, I'd be delighted if I could get Chrome
to work as well as Iceweasel does here.)
Thanks in advance!
kj
More information about the Fontconfig
mailing list