etc-config/fonts/local.conf

39 lines
888 B
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Отключаю autohinter для крупных шрифтов -->
<match target="font">
<test compare="more" name="size" qual="any">
<double>9</double>
</test>
<edit mode="assign" name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test compare="more" name="pixelsize" qual="any">
<double>10</double>
</test>
<edit mode="assign" name="autohint">
<bool>false</bool>
</edit>
</match>
<!-- Отключаю autohinter для жирных шрифтов -->
<match target="font">
<test name="weight" compare="more">
<const>medium</const>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- Указываю dpi -->
<match target="pattern">
<edit name="dpi" mode="assign"><double>99</double></edit>
</match>
</fontconfig>