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:
parent
5e4ea1104c
commit
a3ff1f07f8
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue