Marguerite Su 2017-01-31 12:11:01 +00:00 committed by Git OBS Bridge
parent 243511370d
commit 3bf6ff49ee

View File

@ -2,7 +2,7 @@
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<!-- hinting --> <!-- hinting -->
<match target="pattern"> <match target="font">
<!-- hinting is on unconditionally, but that --> <!-- hinting is on unconditionally, but that -->
<!-- can be controlled via hintstyle (hintnone) --> <!-- can be controlled via hintstyle (hintnone) -->
<edit name="hinting" mode="assign"> <edit name="hinting" mode="assign">
@ -11,12 +11,12 @@
</match> </match>
<!-- hint type: autohinter or BCI --> <!-- hint type: autohinter or BCI -->
<match target="pattern"> <match target="font">
<edit name="autohint" mode="assign"> <edit name="autohint" mode="assign">
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="font_type"> <test name="font_type">
<string>TT Instructed Font</string> <string>TT Instructed Font</string>
</test> </test>
@ -24,7 +24,7 @@
<bool>false</bool> <bool>false</bool>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="font_type"> <test name="font_type">
<string>NON TT Instructed Font</string> <string>NON TT Instructed Font</string>
</test> </test>
@ -32,7 +32,7 @@
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="fontformat"> <test name="fontformat">
<string>CFF</string> <string>CFF</string>
</test> </test>
@ -40,7 +40,7 @@
<bool>false</bool> <bool>false</bool>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="force_autohint"> <test name="force_autohint">
<bool>true</bool> <bool>true</bool>
</test> </test>
@ -50,12 +50,12 @@
</match> </match>
<!-- hint style --> <!-- hint style -->
<match target="pattern"> <match target="font">
<edit name="hintstyle"> <edit name="hintstyle">
<const>hintslight</const> <const>hintslight</const>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="autohint"> <test name="autohint">
<bool>false</bool> <bool>false</bool>
</test> </test>
@ -66,7 +66,7 @@
<const>hintfull</const> <const>hintfull</const>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintnone</string> <string>hintnone</string>
</test> </test>
@ -74,7 +74,7 @@
<const>hintnone</const> <const>hintnone</const>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintslight</string> <string>hintslight</string>
</test> </test>
@ -82,7 +82,7 @@
<const>hintslight</const> <const>hintslight</const>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintmedium</string> <string>hintmedium</string>
</test> </test>
@ -90,7 +90,7 @@
<const>hintmedium</const> <const>hintmedium</const>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintfull</string> <string>hintfull</string>
</test> </test>
@ -100,7 +100,7 @@
</match> </match>
<!-- font smooth or don't font smooth --> <!-- font smooth or don't font smooth -->
<match target="pattern"> <match target="font">
<!-- this test should not be needed, <!-- this test should not be needed,
as antialiasing is done only for outlines, as antialiasing is done only for outlines,
but workarounds Qt5 issue, see bug 866705 --> but workarounds Qt5 issue, see bug 866705 -->
@ -111,7 +111,7 @@
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="pattern"> <match target="font">
<test name="force_bw"> <test name="force_bw">
<bool>true</bool> <bool>true</bool>
</test> </test>