summarylogtreecommitdiffstats
path: root/20-ttf-ms-win8-latin.conf
diff options
context:
space:
mode:
Diffstat (limited to '20-ttf-ms-win8-latin.conf')
-rw-r--r--20-ttf-ms-win8-latin.conf40
1 files changed, 40 insertions, 0 deletions
diff --git a/20-ttf-ms-win8-latin.conf b/20-ttf-ms-win8-latin.conf
new file mode 100644
index 00000000000..ecfd86dd8e4
--- /dev/null
+++ b/20-ttf-ms-win8-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>
+