I don't want to disable bitmap fonts by enabling 70-no-bitmaps.conf
, because I'm using them in the xfce4-terminal (i.e. Fixed
font). So I've found the solution in 29-replace-bitmap-fonts.conf
/etc/fonts/conf.avail/29-replace-bitmap-fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Replace generic bitmap font names by generic font families.
These font-families will get replaced by other rules and
default to scaled ones. -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Helvetica</string>
</test>
<edit mode="assign" name="family">
<string>Arial</string>
<string>Liberation Sans</string>
<string>sans-serif</string>
</edit>
</match>
</fontconfig>
And then I've enabled this config:
ln -s /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf /etc/fonts/conf.d/29-replace-bitmap-fonts.conf
For Gentoo users:
eselect fontconfig enable 29-replace-bitmap-fonts.conf
This makes the ugliness go away, but makes the page display a different font than before, unfortunately. – Andrew Mao – 2014-03-10T16:22:08.513
Yes, that's true. I think you'll have to wait until that bug is fixed, or downgrade... – PurpleAlien – 2014-03-12T15:57:03.837
As of version 33.0.1750.152, this seems to be fixed. – PurpleAlien – 2014-03-18T16:42:27.127
@PurpleAlien Still happens for me on 34.0.1847.60 – Michael Mrozek – 2014-03-20T01:44:48.543
4@Michael, could be an issue with your fontconfig (see eselect fontconfig). Wish I had more space here to go into detail, but try to enable 70-no-bitmaps.conf and disable 70-yes-bitmaps.conf for starters. – PurpleAlien – 2014-03-20T09:22:59.037
@PurpleAlien Yeah, I worked around it with the method from your link; just clarifying that the problem doesn't go away in 33.0.1750.152 – Michael Mrozek – 2014-03-20T14:08:04.103
@Michael, well, it did for me. Must be something else then. Only thing I can think of is fontconfig... – PurpleAlien – 2014-03-20T22:49:17.613
@PurpleAlien I'm still getting it on 33.0.1750.152 as well. – Andrew Mao – 2014-03-31T18:12:18.507
@Andrew, compare your fontconfig with mine here: http://pastebin.com/uv4Lx7Ag
– PurpleAlien – 2014-04-07T02:30:42.060@PurpleAlien why do you have all four subpixel rendering schemes on? – Andrew Mao – 2014-04-07T15:06:22.810
@Andrew, probably a leftover from testing... – PurpleAlien – 2014-04-09T02:28:15.263
@PurpleAlien Updating to Chrome 34 stable (just released) fixed things without any changes needed to fontconfig. – Andrew Mao – 2014-04-09T17:59:55.297