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