summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/liberation-fonts-ttf/files/liberation-fonts-ttf-fontconfig.txt')
-rw-r--r--media-fonts/liberation-fonts-ttf/files/liberation-fonts-ttf-fontconfig.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-fonts/liberation-fonts-ttf/files/liberation-fonts-ttf-fontconfig.txt b/media-fonts/liberation-fonts-ttf/files/liberation-fonts-ttf-fontconfig.txt
new file mode 100644
index 000000000000..5edc51a1d1b0
--- /dev/null
+++ b/media-fonts/liberation-fonts-ttf/files/liberation-fonts-ttf-fontconfig.txt
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <!-- Symlinking this file to /etc/fonts/conf.d/ will allow
+ you to use liberation fonts instead of the microsoft truetype fonts.
+ (from http://uwstopia.nl/blog/2007/05/free-your-fonts) -->
+
+ <!-- Liberation fonts -->
+ <match target="pattern">
+ <test qual="any" name="family"><string>Times New Roman</string></test>
+ <edit name="family" mode="assign"><string>Liberation Serif</string></edit>
+ </match>
+ <match target="pattern">
+ <test qual="any" name="family"><string>Arial</string></test>
+ <edit name="family" mode="assign"><string>Liberation Sans</string></edit>
+ </match>
+ <match target="pattern">
+ <test qual="any" name="family"><string>Courier</string></test>
+ <edit name="family" mode="assign"><string>Liberation Mono</string></edit>
+ </match>
+
+
+</fontconfig>
+