summarylogtreecommitdiffstats
path: root/44-source-han-mono-otc.conf
blob: acf707ea8eb91362d9704ac604f7652666f365e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
	<!-- 
	    - Medium variant is used instead of Regular on Qt apps:
		https://bugs.launchpad.net/ubuntu-font-family/+bug/744812
		- Medium and Bold looks the same in certain applications:
		https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373
	-->
	<match target="scan">
		<test name="fullname" compare="eq">
			<string>Source Han Mono Medium</string>
		</test>
		<edit name="weight" mode="assign">
			<const>demibold</const>
		</edit>
	</match>
	<match target="scan">
		<test name="fullname" compare="eq">
			<string>Source Han Mono K Medium</string>
		</test>
		<edit name="weight" mode="assign">
			<const>demibold</const>
		</edit>
	</match>
	<match target="scan">
		<test name="fullname" compare="eq">
			<string>Source Han Mono SC Medium</string>
		</test>
		<edit name="weight" mode="assign">
			<const>demibold</const>
		</edit>
	</match>
	<match target="scan">
		<test name="fullname" compare="eq">
			<string>Source Han Mono TC Medium</string>
		</test>
		<edit name="weight" mode="assign">
			<const>demibold</const>
		</edit>
	</match>
</fontconfig>