]> git.wh0rd.org Git - fontconfig.git/blob - conf.d/20-fix-globaladvance.conf
Handle Japanese fonts better. (debian bug #435971)
[fontconfig.git] / conf.d / 20-fix-globaladvance.conf
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <!-- conf.d/sub-pixel.conf -->
4 <fontconfig>
5 <!--
6   Some Asian fonts misadvertise themselves as monospaced when
7   in fact they are dual-spaced (half and full).  This makes
8   FreeType very confused as it forces all widths to match.
9   Undo this magic by disabling the width forcing code -->
10         <match target="font">
11                 <test name="family"><string>GulimChe</string></test>
12                 <edit name="globaladvance"><bool>false</bool></edit>
13         </match>
14
15         <match target="font">
16                 <test name="family"><string>DotumChe</string></test>
17                 <edit name="globaladvance"><bool>false</bool></edit>
18         </match>
19
20         <match target="font">
21                 <test name="family"><string>BatangChe</string></test>
22                 <edit name="globaladvance"><bool>false</bool></edit>
23         </match>
24
25         <match target="font">
26                 <test name="family"><string>GungsuhChe</string></test>
27                 <edit name="globaladvance"><bool>false</bool></edit>
28         </match>
29 </fontconfig>