source: projects/specs/trunk/T/TrueType-ipafont/59-ipa-mincho.conf @ 7656

Revision 7656, 1.9 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    <!-- IPA PMincho -->
6    <match target="font">
7        <test name="family">
8            <string>IPAPMincho</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
21    <match target="font">
22        <test name="family">
23            <string>IPAPMincho</string>
24        </test>
25        <test name="pixelsize" compare="more_eq">
26            <double>9</double>
27        </test>
28        <edit name="hinting" mode="assign">
29            <bool>true</bool>
30        </edit>
31        <edit name="hintstyle" mode="assign">
32            <const>hintslight</const>
33        </edit>
34        <edit name="autohint" mode="assign">
35            <bool>true</bool>
36        </edit>
37    </match>
38
39    <!-- IPA Mincho -->
40    <match target="font">
41        <test name="family">
42            <string>IPAMincho</string>
43        </test>
44        <test name="pixelsize" compare="less">
45            <double>9</double>
46        </test>
47        <edit name="hinting" mode="assign">
48            <bool>false</bool>
49        </edit>
50        <edit name="autohint" mode="assign">
51            <bool>false</bool>
52        </edit>
53    </match>
54
55    <match target="font">
56        <test name="family">
57            <string>IPAMincho</string>
58        </test>
59        <test name="pixelsize" compare="more_eq">
60            <double>9</double>
61        </test>
62        <edit name="hinting" mode="assign">
63            <bool>true</bool>
64        </edit>
65        <edit name="hintstyle" mode="assign">
66            <const>hintslight</const>
67        </edit>
68        <edit name="autohint" mode="assign">
69            <bool>true</bool>
70        </edit>
71    </match>
72
73    <alias>
74        <family>serif</family>
75        <prefer>
76            <family>IPAPMincho</family>
77        </prefer>
78    </alias>
79
80</fontconfig>
Note: See TracBrowser for help on using the repository browser.