SOURCES: fontconfig-lcd-filter.conf (NEW) - 10-lcd-filter.conf: use LCD fil...

qrczak qrczak at pld-linux.org
Fri Jun 13 17:15:12 CEST 2008


Author: qrczak                       Date: Fri Jun 13 15:15:12 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- 10-lcd-filter.conf: use LCD filter for extra smooth fonts, for those
  who want it.
- Release 2.

---- Files affected:
SOURCES:
   fontconfig-lcd-filter.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/fontconfig-lcd-filter.conf
diff -u /dev/null SOURCES/fontconfig-lcd-filter.conf:1.1
--- /dev/null	Fri Jun 13 17:15:12 2008
+++ SOURCES/fontconfig-lcd-filter.conf	Fri Jun 13 17:15:07 2008
@@ -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>
================================================================


More information about the pld-cvs-commit mailing list