-
Notifications
You must be signed in to change notification settings - Fork 10
/
.fonts.conf
64 lines (64 loc) · 1.83 KB
/
.fonts.conf
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
netj's font configuration (~/.fonts.conf)
Author: Jaeho Shin <[email protected]>
Refined: 2006-04-23
-->
<fontconfig>
<!-- Turn on antialias and hinting with hintmedium for Malgun Gothic -->
<match target="font">
<test name="family" compare="contains">
<string>Nanum</string>
<string>Malgun</string>
<string>Un</string>
</test>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintsytle" mode="assign">
<const>hintmedium</const>
</edit>
</match>
<!-- Set preferred Korean fonts -->
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>NanumMyeongjo</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>NanumGothic</string>
<!--<string>Malgun Gothic</string>-->
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Andale Mono</string>
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<!-- Bind Malgun Gothic with Andale Mono, Bitstream Vera Sans Mono -->
<match target="pattern">
<test qual="any" name="family">
<string>Andale Mono</string>
<string>Bitstream Vera Sans Mono</string>
</test>
<edit mode="append" binding="strong" name="family">
<string>NanumGothic</string>
<!--<string>Malgun Gothic</string>-->
</edit>
</match>
</fontconfig>