diff options
Diffstat (limited to 'main/ttf-ubuntu-font-family/90-tt-ubuntu.conf')
-rw-r--r-- | main/ttf-ubuntu-font-family/90-tt-ubuntu.conf | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/main/ttf-ubuntu-font-family/90-tt-ubuntu.conf b/main/ttf-ubuntu-font-family/90-tt-ubuntu.conf new file mode 100644 index 0000000000..9ed867b65c --- /dev/null +++ b/main/ttf-ubuntu-font-family/90-tt-ubuntu.conf @@ -0,0 +1,71 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <!-- Ubuntu --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Ubuntu</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> + + <!-- Ubuntu Condensed --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Ubuntu Condensed</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> + + <!-- Ubuntu Mono --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Ubuntu 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>true</bool> + </edit> + </match> + +</fontconfig> |