summaryrefslogtreecommitdiff
path: root/user/ttf-carlito/90-tt-carlito.conf
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-13 04:58:51 -0400
committerMax Rees <maxcrees@me.com>2018-08-13 04:58:51 -0400
commit92197441722ae423a6acc72e50f318536fe2aef4 (patch)
treeedbeba08ad82f842a2318b6903960051c9084924 /user/ttf-carlito/90-tt-carlito.conf
parent4709c5bb3e7e297871d7f725001367aa3205096f (diff)
downloadpackages-92197441722ae423a6acc72e50f318536fe2aef4.tar.gz
packages-92197441722ae423a6acc72e50f318536fe2aef4.tar.bz2
packages-92197441722ae423a6acc72e50f318536fe2aef4.tar.xz
packages-92197441722ae423a6acc72e50f318536fe2aef4.zip
user/ttf-carlito: new package
Diffstat (limited to 'user/ttf-carlito/90-tt-carlito.conf')
-rw-r--r--user/ttf-carlito/90-tt-carlito.conf56
1 files changed, 56 insertions, 0 deletions
diff --git a/user/ttf-carlito/90-tt-carlito.conf b/user/ttf-carlito/90-tt-carlito.conf
new file mode 100644
index 000000000..87847acab
--- /dev/null
+++ b/user/ttf-carlito/90-tt-carlito.conf
@@ -0,0 +1,56 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="force_autohint">
+ <bool>false</bool>
+ </test>
+ <test name="family">
+ <string>Carlito</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>hintfull</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>Carlito</string>
+ </test>
+ <test name="weight" compare="less">
+ <const>medium</const>
+ </test>
+ <test name="pixelsize" compare="more">
+ <double>21.5</double>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>22.5</double>
+ </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>