aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-ubuntu-font-family/90-tt-ubuntu.conf
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-14 12:36:21 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-14 12:36:21 +0200
commitd5cadfd321b7ca88b162f8894b11f26a0f856d27 (patch)
treec2b65c9808c3c4bf054e66237095d8700eefb9e1 /main/ttf-ubuntu-font-family/90-tt-ubuntu.conf
parent31e9efc12cbbeae8c221bb87ba0d72b687ae2f1e (diff)
downloadaports-d5cadfd321b7ca88b162f8894b11f26a0f856d27.tar.bz2
aports-d5cadfd321b7ca88b162f8894b11f26a0f856d27.tar.xz
main/ttf-ubuntu-font-family: add default config
Diffstat (limited to 'main/ttf-ubuntu-font-family/90-tt-ubuntu.conf')
-rw-r--r--main/ttf-ubuntu-font-family/90-tt-ubuntu.conf71
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>