summarylogtreecommitdiffstats
path: root/20-ttf-win7-fonts-latin.conf
blob: ecfd86dd8e46e6b6f51e551522423069c198aa92 (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
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<!-- http://superuser.com/questions/54216/how-to-get-firefox-to-use-ms-truetype-fonts-for-helvetica-times-etc -->
<fontconfig>
        <!-- Font directory list -->
        <dir>/usr/local/winfonts</dir>

  <!-- Replace Helvetica with Arial -->
  <match target="pattern">
    <test qual="any" name="family">
      <string>Helvetica</string>
    </test>
      <edit name="family" mode="assign" binding="strong">
            <string>Arial</string>
          </edit>
  </match>

  <!-- Replace Times with Times New Roman -->
  <match target="pattern">
    <test qual="any" name="family">
      <string>Times</string>
    </test>
      <edit name="family" mode="assign" binding="strong">
            <string>Times New Roman</string>
          </edit>
  </match>

  <!-- Replace Palatino with Georgia -->
  <match target="pattern">
    <test qual="any" name="family">
      <string>Palatino</string>
    </test>
      <edit name="family" mode="assign" binding="strong">
            <string>Georgia</string>
          </edit>
  </match>

</fontconfig>