diff options
Diffstat (limited to '20-ttf-win7-fonts-latin.conf')
-rw-r--r-- | 20-ttf-win7-fonts-latin.conf | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/20-ttf-win7-fonts-latin.conf b/20-ttf-win7-fonts-latin.conf new file mode 100644 index 000000000000..ecfd86dd8e46 --- /dev/null +++ b/20-ttf-win7-fonts-latin.conf @@ -0,0 +1,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> + |