cat /etc/fonts/conf.avail/51-local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>zzzzz</description>
<match target="pattern">
<edit name="rgba" mode="append"><const>none</const></edit>
</match>
<match target="pattern">
<edit name="hinting" mode="append"><bool>true</bool></edit>
</match>
<match target="pattern">
<edit name="hintstyle" mode="append"><const>hintfull</const></edit>
</match>
<match target="pattern">
<edit name="lcdfilter" mode="append"><const>lcdnone</const></edit>
</match>
<match target="pattern">
<edit name="autohint" mode="append"><bool>true</bool></edit>
</match>
</fontconfig>
sudo eselect fontconfig list
]Available fontconfig .conf files (* is enabled):
[1] 10-autohint.conf
[2] 10-hinting-full.conf
[3] 10-hinting-medium.conf
[4] 10-hinting-none.conf
[5] 10-hinting-slight.conf
[6] 10-no-sub-pixel.conf
[7] 10-scale-bitmap-fonts.conf
[8] 10-sub-pixel-bgr.conf
[9] 10-sub-pixel-rgb.conf
[10] 10-sub-pixel-vbgr.conf
[11] 10-sub-pixel-vrgb.conf
[12] 10-unhinted.conf
[13] 11-lcdfilter-default.conf
[14] 11-lcdfilter-legacy.conf
[15] 11-lcdfilter-light.conf
[16] 20-unhint-small-dejavu-sans-mono.conf
[17] 20-unhint-small-dejavu-sans.conf
[18] 20-unhint-small-dejavu-serif.conf
[19] 20-unhint-small-vera.conf
[20] 25-unhint-nonlatin.conf
[21] 30-metric-aliases.conf
[22] 40-nonlatin.conf
[23] 45-generic.conf *
[24] 45-latin.conf
[25] 49-sansserif.conf
[26] 50-user.conf
[27] 51-local.conf *
[28] 57-dejavu-sans-mono.conf
[29] 57-dejavu-sans.conf
[30] 57-dejavu-serif.conf
[31] 60-generic.conf
[32] 60-latin.conf
[33] 60-liberation.conf
[34] 65-fonts-persian.conf
[35] 65-khmer.conf
[36] 65-nonlatin.conf
[37] 69-unifont.conf
[38] 70-no-bitmaps.conf
[39] 70-yes-bitmaps.conf
[40] 75-yes-terminus.conf
[41] 80-delicious.conf
[42] 90-synthetic.conf
В debian’e просто делал и всё было тип-топ: cat /etc/fonts/local.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcdnone</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="autohint">
<bool>true</bool>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
вроде подсунул так, как было в дебиан. Ан-нет, не работает так, как это было в дебиане :\