source: projects/specs/trunk/T/TrueType-ipafont/60-ipa-gothic.conf @ 7656

Revision 7656, 2.1 KB checked in by daisuke, 11 years ago (diff)

fontconfig > 2.10 対応

Line 
1<?xml version="1.0"?>
2<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3<fontconfig>
4
5   <!-- IPAPGothic -->
6    <match target="font">
7        <test name="family">
8            <string>IPAPGothic</string>
9        </test>
10        <test name="pixelsize" compare="less">
11            <double>9</double>
12        </test>
13        <edit name="hinting" mode="assign">
14            <bool>false</bool>
15        </edit>
16        <edit name="autohint" mode="assign">
17            <bool>false</bool>
18        </edit>
19    </match>
20    <match target="font">
21        <test name="family">
22            <string>IPAPGothic</string>
23        </test>
24        <test name="pixelsize" compare="more_eq">
25            <double>9</double>
26        </test>
27        <edit name="hinting" mode="assign">
28            <bool>true</bool>
29        </edit>
30        <edit name="hintstyle" mode="assign">
31            <const>hintslight</const>
32        </edit>
33        <edit name="autohint" mode="assign">
34            <bool>true</bool>
35        </edit>
36    </match>
37
38   <!-- IPAGothic -->
39    <match target="font">
40        <test name="family">
41            <string>IPAGothic</string>
42        </test>
43        <test name="pixelsize" compare="less">
44            <double>9</double>
45        </test>
46        <edit name="hinting" mode="assign">
47            <bool>false</bool>
48        </edit>
49        <edit name="autohint" mode="assign">
50            <bool>false</bool>
51        </edit>
52    </match>
53    <match target="font">
54        <test name="family">
55            <string>IPAGothic</string>
56        </test>
57        <test name="pixelsize" compare="more_eq">
58            <double>9</double>
59        </test>
60        <edit name="hinting" mode="assign">
61            <bool>true</bool>
62        </edit>
63        <edit name="hintstyle" mode="assign">
64            <const>hintslight</const>
65        </edit>
66        <edit name="autohint" mode="assign">
67            <bool>true</bool>
68        </edit>
69    </match>
70
71    <alias>
72        <family>sans-serif</family>
73        <prefer>
74            <family>IPAPGothic</family>
75        </prefer>
76    </alias>
77
78    <alias>
79        <family>monospace</family>
80        <prefer>
81            <family>IPAGothic</family>
82        </prefer>
83    </alias>
84
85</fontconfig>
Note: See TracBrowser for help on using the repository browser.