mandriva config files
Submitted by Behdad Esfahbod
Assigned to fon..@..op.org
Description
The 20-fix-globaladvance.conf file we have looks like this:
<fontconfig>
`<match target="font">`
`<test name="family">``<string>`GulimChe`</string>``</test>`
`<edit name="globaladvance">``<bool>`false`</bool>``</edit>`
`</match>`
`<match target="font">`
`<test name="family">``<string>`DotumChe`</string>``</test>`
`<edit name="globaladvance">``<bool>`false`</bool>``</edit>`
`</match>`
`<match target="font">`
`<test name="family">``<string>`BatangChe`</string>``</test>`
`<edit name="globaladvance">``<bool>`false`</bool>``</edit>`
`</match>`
`<match target="font">`
`<test name="family">``<string>`GungsuhChe`</string>``</test>`
`<edit name="globaladvance">``<bool>`false`</bool>``</edit>`
`</match>`
</fontconfig>
Looks to me like this should be changed to target="scan" now?
Also Mandriva has a more generic version:
<fontconfig>
<match target="font">
<test target="pattern" name="lang" compare="contains">
<string>
zh-tw</string>
<string>
zh-cn</string>
<string>
ja</string>
<string>
ko</string>
</test>
<edit name="spacing">
<const>
proportional</const>
</edit>
<edit name="globaladvance">
<bool>
false</bool>
</edit>
</match>
</fontconfig>
Of course that target="pattern" part is quite bogus. But the idea of matching on languages the font supports has merit.
Version: 2.4
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information