xml version DOCTYPE fontconfig SYSTEM fonts dtd fontconfig -- Replace

 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
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Replace generic bitmap font names by generic font families.
These font-families will get replaced by other rules and
default to scaled ones. -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Helvetica</string>
</test>
<edit mode="assign" name="family">
<string>Arial</string>
<string>Liberation Sans</string>
<string>sans-serif</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Courier</string>
</test>
<edit mode="assign" name="family">
<string>Courier New</string>
<string>Liberation Mono</string>
<string>monospace</string>
</edit>
</match>
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Times</string>
</test>
<edit mode="assign" name="family">
<string>Times New Roman</string>
<string>Liberation Serif</string>
<string>serif</string>
</edit>
</match>
</fontconfig>