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.
This commit is contained in:
Akira TAGOH 2012-02-23 15:23:23 +09:00
parent 5e4ea1104c
commit a3ff1f07f8
4 changed files with 33 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -32,6 +32,9 @@ CONF_FILES = \
10-sub-pixel-vbgr.conf \ 10-sub-pixel-vbgr.conf \
10-sub-pixel-vrgb.conf \ 10-sub-pixel-vrgb.conf \
10-unhinted.conf \ 10-unhinted.conf \
11-lcdfilter-default.conf \
11-lcdfilter-legacy.conf \
11-lcdfilter-light.conf \
20-fix-globaladvance.conf \ 20-fix-globaladvance.conf \
20-unhint-small-vera.conf \ 20-unhint-small-vera.conf \
25-unhint-nonlatin.conf \ 25-unhint-nonlatin.conf \