MFC: Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Move the target of recipes to the "pattern" from the "font". This is to ensure the targeted objects is updated by them prior to FcDefaultSubstitute() so that it can adds the default values properly.
This commit is contained in:
parent
de08f67d60
commit
79dacaca45
2
dist/fontconfig/conf.d/10-autohint.conf
vendored
2
dist/fontconfig/conf.d/10-autohint.conf
vendored
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Use the Autohinter -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
2
dist/fontconfig/conf.d/10-no-sub-pixel.conf
vendored
2
dist/fontconfig/conf.d/10-no-sub-pixel.conf
vendored
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Enable sub-pixel rendering -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
2
dist/fontconfig/conf.d/10-sub-pixel-bgr.conf
vendored
2
dist/fontconfig/conf.d/10-sub-pixel-bgr.conf
vendored
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Enable sub-pixel rendering -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
2
dist/fontconfig/conf.d/10-sub-pixel-rgb.conf
vendored
2
dist/fontconfig/conf.d/10-sub-pixel-rgb.conf
vendored
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Enable sub-pixel rendering -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Enable sub-pixel rendering -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Enable sub-pixel rendering -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
2
dist/fontconfig/conf.d/10-unhinted.conf
vendored
2
dist/fontconfig/conf.d/10-unhinted.conf
vendored
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Disable hinting -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Use lcddefault as default for LCD filter -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Use lcdlegacy as default for LCD filter -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Use lcdlight as default for LCD filter -->
|
||||
<match target="font">
|
||||
<match target="pattern">
|
||||
<!--
|
||||
This configuration is available on the major desktop environments.
|
||||
We shouldn't overwrite it with "assign" unconditionally.
|
||||
|
Loading…
Reference in New Issue
Block a user