Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
152 lines (141 sloc) 5.85 KB
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Defaults -->
<alias>
<family>serif</family>
<prefer><family>Liberation Serif</family></prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer><family>Liberation Sans</family></prefer>
</alias>
<alias>
<family>monospace</family>
<prefer><family>Liberation Mono</family></prefer>
</alias>
<!-- Noautohint group -->
<match target="font">
<test name="family" compare="contains"><string>Liberation</string></test>
<edit mode="assign" name="noautohint"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family" compare="contains"><string>DejaVu</string></test>
<edit mode="assign" name="noautohint"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family" compare="contains"><string>PT</string></test>
<edit mode="assign" name="noautohint"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family" compare="contains"><string>Ubuntu</string></test>
<edit mode="assign" name="noautohint"><bool>true</bool></edit>
</match>
<match target="font">
<test name="noautohint"><bool>true</bool></test>
<!-- -->
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
<edit name="rgba" mode="assign"><const>none</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
</match>
<!-- Microsoft group -->
<match target="font">
<test name="family"><string>Arial</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Arial Black</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Comic Sans MS</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Courier New</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Georgia</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Impact</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Times New Roman</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Trebuchet MS</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Verdana</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>Webdings</string></test>
<edit mode="assign" name="microsoft"><bool>true</bool></edit>
</match>
<match target="font">
<test name="microsoft"><bool>true</bool></test>
<!-- -->
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
<edit name="rgba" mode="assign"><const>none</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
</match>
<match target="font">
<test name="microsoft"><bool>true</bool></test>
<test name="pixelsize" compare="less_eq"><double>16</double></test>
<test name="slant" compare="eq" target="pattern"><const>roman</const></test>
<test name="weight" compare="less_eq"><int>100</int></test>
<!-- -->
<edit name="antialias" mode="assign"><bool>false</bool></edit>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
</match>
<!-- Replacement -->
<match target="pattern">
<test name="family" compare="contains"><string>Proxima</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Sans</string></edit>
</match>
<match target="pattern">
<test name="family" compare="contains"><string>Raleway</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Sans</string></edit>
</match>
<match target="pattern">
<test name="family" compare="contains"><string>Lato</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Sans</string></edit>
</match>
<match target="pattern">
<test name="family" compare="contains"><string>Nimbus Sans</string></test>
<edit name="family" mode="assign" binding="weak"><string>Liberation Sans</string></edit>
</match>
<match target="pattern">
<test name="family" compare="contains"><string>Segoe UI</string></test>
<edit name="family" mode="assign" binding="weak"><string>Liberation Sans</string></edit>
</match>
<match target="pattern">
<test name="family" compare="contains"><string>PT Mono</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Mono</string></edit>
</match>
<match target="pattern">
<test name="family" compare="contains"><string>PTMono</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Mono</string></edit>
</match>
<match target="pattern">
<test name="family" compare="contains"><string>Inconsolata</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Mono</string></edit>
</match>
<match target="pattern">
<test name="family"><string>Andale Mono</string></test>
<edit name="family" mode="assign" binding="same"><string>Liberation Mono</string></edit>
</match>
</fontconfig>