]> git.pld-linux.org Git - packages/fonts-TTF-vlgothic.git/blob - vlgothic-fontconfig-gothic.conf
- new, based on fedora vlgothic-fonts package
[packages/fonts-TTF-vlgothic.git] / vlgothic-fontconfig-gothic.conf
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <fontconfig>
4     <!-- Generic names rule -->
5     <alias>
6         <family>VL Gothic</family>
7         <default>
8             <family>monospace</family>
9         </default>
10     </alias>
11     <!-- NOTE: just for fallback - ideally better installing vlgothic-p-fonts -->
12     <alias>
13         <family>VL Gothic</family>
14         <default>
15             <family>sans-serif</family>
16         </default>
17     </alias>
18     <!-- Locale-specific overrides rule -->
19     <match>
20         <test name="lang">
21             <string>ja-jp</string>
22             <string>ja</string>
23         </test>
24         <test name="family">
25             <string>monospace</string>
26         </test>
27         <edit name="family" mode="prepend">
28             <string>VL Gothic</string>
29         </edit>
30     </match>
31     <!-- NOTE: just for fallback - ideally better installing vlgothic-p-fonts -->
32     <match>
33         <test name="lang">
34             <string>ja-jp</string>
35             <string>ja</string>
36         </test>
37         <test name="family">
38             <string>sans-serif</string>
39         </test>
40         <edit name="family" mode="prepend">
41             <string>VL Gothic</string>
42         </edit>
43     </match>
44     <!-- disabling hinting rule -->
45     <match target="font">
46         <test name="family">
47             <string>VL Gothic</string>
48         </test>
49         <edit name="hinting" mode="assign">
50             <bool>false</bool>
51         </edit>
52     </match>
53 </fontconfig>
This page took 0.047212 seconds and 3 git commands to generate.