aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf
blob: 6855791b43b2253e0b06ce79bdef3cb7cd60a70a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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 Sans CN Medium</string>
		</test>
		<edit name="weight" mode="assign">
			<const>demibold</const>
		</edit>
	</match>
</fontconfig>