aports/main/font-liberation/90-liberation.conf
Jakub Jirutka a98380b1ca main/font-liberation: rename from ttf-liberation
To unify font packages naming and ensure backward compatibility.
2022-03-26 19:12:43 +01:00

191 lines
4.5 KiB
XML

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Liberation Mono -->
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Mono</string>
</test>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Mono</string>
</test>
<test name="pixelsize" compare="more">
<double>10.5</double>
</test>
<test name="pixelsize" compare="less">
<double>13.5</double>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Mono</string>
</test>
<test name="pixelsize" compare="more">
<double>15.5</double>
</test>
<test name="pixelsize" compare="less">
<double>17.5</double>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Mono</string>
</test>
<test name="pixelsize" compare="more">
<double>19.5</double>
</test>
<test name="pixelsize" compare="less">
<double>22.5</double>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<test name="family">
<string>Liberation Mono</string>
</test>
<test name="pixelsize" compare="less_eq">
<double>12.0</double>
</test>
<edit name="lcd_filter" mode="assign">
<const>lcdlegacy</const>
</edit>
</match>
<!-- Liberation Sans -->
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Sans</string>
</test>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Sans</string>
</test>
<test name="pixelsize" compare="less">
<double>12.5</double>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
<edit name="lcd_filter" mode="assign">
<const>lcdlegacy</const>
</edit>
</match>
<!-- Liberation Serif -->
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Serif</string>
</test>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>