[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Wed Feb 22 22:24:34 PST 2012


 conf.d/11-lcdfilter-default.conf |   10 ++++++++++
 conf.d/11-lcdfilter-legacy.conf  |   10 ++++++++++
 conf.d/11-lcdfilter-light.conf   |   10 ++++++++++
 conf.d/Makefile.am               |    3 +++
 4 files changed, 33 insertions(+)

New commits:
commit a3ff1f07f8c60d2a3c77a4670de6aad0622ecacc
Author: Akira TAGOH <akira at tagoh.org>
Date:   Thu Feb 23 15:23:23 2012 +0900

    Bug 27385 - lcdfilter settings for freetype-2.3.12 not available in fontconfig-2.8.0
    
    Add config files for FT_LcdFilter options.
    
    Patch from Robin Johnson.

diff --git a/conf.d/11-lcdfilter-default.conf b/conf.d/11-lcdfilter-default.conf
new file mode 100644
index 0000000..040a4ac
--- /dev/null
+++ b/conf.d/11-lcdfilter-default.conf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--  Use lcddefault as default for LCD filter -->
+  <match target="font">
+    <edit mode="assign" name="lcdfilter">
+      <const>lcddefault</const>
+    </edit>
+  </match>
+</fontconfig>
diff --git a/conf.d/11-lcdfilter-legacy.conf b/conf.d/11-lcdfilter-legacy.conf
new file mode 100644
index 0000000..218585c
--- /dev/null
+++ b/conf.d/11-lcdfilter-legacy.conf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--  Use lcdlegacy as default for LCD filter -->
+  <match target="font">
+    <edit mode="assign" name="lcdfilter">
+      <const>lcdlegacy</const>
+    </edit>
+  </match>
+</fontconfig>
diff --git a/conf.d/11-lcdfilter-light.conf b/conf.d/11-lcdfilter-light.conf
new file mode 100644
index 0000000..d38a66e
--- /dev/null
+++ b/conf.d/11-lcdfilter-light.conf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!--  Use lcdlight as default for LCD filter -->
+  <match target="font">
+    <edit mode="assign" name="lcdfilter">
+      <const>lcdlight</const>
+    </edit>
+  </match>
+</fontconfig>
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am
index 3f5255f..d122a8f 100644
--- a/conf.d/Makefile.am
+++ b/conf.d/Makefile.am
@@ -32,6 +32,9 @@ CONF_FILES = \
 	10-sub-pixel-vbgr.conf \
 	10-sub-pixel-vrgb.conf \
 	10-unhinted.conf \
+	11-lcdfilter-default.conf \
+	11-lcdfilter-legacy.conf \
+	11-lcdfilter-light.conf \
 	20-fix-globaladvance.conf \
 	20-unhint-small-vera.conf \
 	25-unhint-nonlatin.conf \


More information about the Fontconfig mailing list