aboutsummaryrefslogtreecommitdiffstats
path: root/main/ttf-liberation/90-tt-liberation.conf
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-14 11:59:51 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-14 12:03:25 +0200
commit5050de71f7681083cc330b9d87aa67635173ec30 (patch)
treec6a4fb534fe8a5fb612c69ce5b09923986bf80f2 /main/ttf-liberation/90-tt-liberation.conf
parentd5f2c4683c41dd846c66f0c42b3cf5cbdb60c8eb (diff)
downloadaports-5050de71f7681083cc330b9d87aa67635173ec30.tar.bz2
aports-5050de71f7681083cc330b9d87aa67635173ec30.tar.xz
main/ttf-liberation: add narrow fonts and default config
Diffstat (limited to 'main/ttf-liberation/90-tt-liberation.conf')
-rw-r--r--main/ttf-liberation/90-tt-liberation.conf213
1 files changed, 213 insertions, 0 deletions
diff --git a/main/ttf-liberation/90-tt-liberation.conf b/main/ttf-liberation/90-tt-liberation.conf
new file mode 100644
index 0000000000..b31837d251
--- /dev/null
+++ b/main/ttf-liberation/90-tt-liberation.conf
@@ -0,0 +1,213 @@
+<?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 Sans Narrow -->
+ <match target="font">
+ <test name="force_autohint">
+ <bool>false</bool>
+ </test>
+ <test name="family">
+ <string>Liberation Sans Narrow</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>
+
+ <!-- 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>