archrelease: copy trunk to community-any
[ArchLinux/community.git] / adobe-source-han-sans-fonts / trunk / 44-source-han-sans-otc.conf
blobe55b07eac1ecd43d6ff0cdf5593194b7bd774a3c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
3 <fontconfig>
4 <!--
5 - Medium variant is used instead of Regular on Qt apps:
6 https://bugs.launchpad.net/ubuntu-font-family/+bug/744812
7 - Medium and Bold looks the same in certain applications:
8 https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373
9 -->
10 <match target="scan">
11 <test name="fullname" compare="eq">
12 <string>Source Han Sans Medium</string>
13 </test>
14 <edit name="weight" mode="assign">
15 <const>demibold</const>
16 </edit>
17 </match>
18 <match target="scan">
19 <test name="fullname" compare="eq">
20 <string>Source Han Sans K Medium</string>
21 </test>
22 <edit name="weight" mode="assign">
23 <const>demibold</const>
24 </edit>
25 </match>
26 <match target="scan">
27 <test name="fullname" compare="eq">
28 <string>Source Han Sans SC Medium</string>
29 </test>
30 <edit name="weight" mode="assign">
31 <const>demibold</const>
32 </edit>
33 </match>
34 <match target="scan">
35 <test name="fullname" compare="eq">
36 <string>Source Han Sans TC Medium</string>
37 </test>
38 <edit name="weight" mode="assign">
39 <const>demibold</const>
40 </edit>
41 </match>
42 <match target="scan">
43 <test name="fullname" compare="eq">
44 <string>Source Han Sans HC Medium</string>
45 </test>
46 <edit name="weight" mode="assign">
47 <const>demibold</const>
48 </edit>
49 </match>
50 </fontconfig>