diff options
author | Chris Severance | 2017-07-13 03:10:42 -0400 |
---|---|---|
committer | Chris Severance | 2017-07-13 03:10:42 -0400 |
commit | 70810e0ce24d4509a6721138c9069b8bbf3f4f89 (patch) | |
tree | 3793f03db3b57119e5e0ba72a5e3239de575611f /20-ttf-ms-win8-latin.conf | |
parent | 2faaa3d133c7aa534138159abb4de9ea0ce48e9c (diff) | |
download | aur-70810e0ce24d4509a6721138c9069b8bbf3f4f89.tar.gz |
Update to new adaptable PKGBUILD
Diffstat (limited to '20-ttf-ms-win8-latin.conf')
-rw-r--r-- | 20-ttf-ms-win8-latin.conf | 40 |
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 000000000000..ecfd86dd8e46 --- /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> + |