]> git.pld-linux.org Git - packages/fontconfig.git/commitdiff
- rel 5; actually leave lcd filter (as it is default off) auto/th/fontconfig-2.10.1-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 Sep 2012 06:22:09 +0000 (08:22 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 Sep 2012 06:22:09 +0000 (08:22 +0200)
fontconfig-lcd-filter.conf [new file with mode: 0644]

diff --git a/fontconfig-lcd-filter.conf b/fontconfig-lcd-filter.conf
new file mode 100644 (file)
index 0000000..6d3c74f
--- /dev/null
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <match target="font">
+    <test name="fontformat" compare="eq">
+      <string>TrueType</string>
+    </test>
+    <edit mode="assign" name="hinting">
+      <bool>true</bool>
+    </edit>
+    <edit mode="assign" name="hintstyle">
+      <const>hintfull</const>
+    </edit>
+    <edit mode="assign" name="lcdfilter">
+      <const>lcddefault</const>
+    </edit>
+  </match>
+
+  <match target="font">
+    <test name="fontformat" compare="eq">
+      <string>CFF</string>
+    </test>
+    <edit mode="assign" name="hinting">
+      <bool>true</bool>
+    </edit>
+    <edit mode="assign" name="hintstyle">
+      <const>hintslight</const>
+    </edit>
+    <edit mode="assign" name="lcdfilter">
+      <const>lcdlight</const>
+    </edit>
+  </match>
+
+  <match target="font">
+    <test name="fontformat" compare="eq">
+      <string>Type 1</string>
+    </test>
+    <edit mode="assign" name="hinting">
+      <bool>true</bool>
+    </edit>
+    <edit mode="assign" name="hintstyle">
+      <const>hintslight</const>
+    </edit>
+    <edit mode="assign" name="lcdfilter">
+      <const>lcdlight</const>
+    </edit>
+  </match>
+</fontconfig>
This page took 0.118722 seconds and 4 git commands to generate.