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
83f679ce55
commit
2c69625574
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Use the Autohinter -->
|
<!-- Use the Autohinter -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Enable sub-pixel rendering -->
|
<!-- Enable sub-pixel rendering -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Enable sub-pixel rendering -->
|
<!-- Enable sub-pixel rendering -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Enable sub-pixel rendering -->
|
<!-- Enable sub-pixel rendering -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Enable sub-pixel rendering -->
|
<!-- Enable sub-pixel rendering -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Enable sub-pixel rendering -->
|
<!-- Enable sub-pixel rendering -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Disable hinting -->
|
<!-- Disable hinting -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Use lcddefault as default for LCD filter -->
|
<!-- Use lcddefault as default for LCD filter -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Use lcdlegacy as default for LCD filter -->
|
<!-- Use lcdlegacy as default for LCD filter -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<!-- Use lcdlight as default for LCD filter -->
|
<!-- Use lcdlight as default for LCD filter -->
|
||||||
<match target="font">
|
<match target="pattern">
|
||||||
<!--
|
<!--
|
||||||
This configuration is available on the major desktop environments.
|
This configuration is available on the major desktop environments.
|
||||||
We shouldn't overwrite it with "assign" unconditionally.
|
We shouldn't overwrite it with "assign" unconditionally.
|
||||||
|
|
Loading…
Reference in New Issue