[packages/fontconfig] - rel 5; actually leave lcd filter (as it is default off)

arekm arekm at pld-linux.org
Fri Sep 21 08:22:18 CEST 2012


commit ad175f83b81fb868022473a45323f3c421be0147
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Sep 21 08:22:09 2012 +0200

    - rel 5; actually leave lcd filter (as it is default off)

 fontconfig-lcd-filter.conf | 48 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/fontconfig-lcd-filter.conf b/fontconfig-lcd-filter.conf
new file mode 100644
index 0000000..6d3c74f
--- /dev/null
+++ b/fontconfig-lcd-filter.conf
@@ -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>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fontconfig.git/commitdiff/ad175f83b81fb868022473a45323f3c421be0147



More information about the pld-cvs-commit mailing list