summaryrefslogtreecommitdiff
path: root/fontconfig/conf.d/00-commit-mono-options.conf
blob: 9c7373a535aba4e2a52db0a48ea9ab8867c322a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<fontconfig>
	<description>Enable opentype features for CommitMono to make it match better with Inter as its monospace counterpart</description>
	<match target="font">
		<test name="family" compare="eq" ignore-blanks="true">
			<string>CommitMono</string>
		</test>
		<edit name="fontfeatures" mode="append">
			<string>ss03 on</string> <!-- smart case -->
			<string>ss04 on</string> <!-- symbol spacing -->
			<string>cv02 on</string> <!-- alt g -->
			<string>cv06 on</string> <!-- alt 6 & 9 -->
		</edit>
	</match>
</fontconfig>