summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-06-10 04:42:59 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-06-10 04:42:59 +0000
commitedfc6b7d7b64ce4e367c149b93be4e09c190e377 (patch)
treeb477d62c1447b77a511d4c2038bbbc9cb58e0bc0 /media-fonts/liberation-fonts-ttf/files
parentupdate findutils selinux patch. (diff)
downloadgentoo-2-edfc6b7d7b64ce4e367c149b93be4e09c190e377.tar.gz
gentoo-2-edfc6b7d7b64ce4e367c149b93be4e09c190e377.tar.bz2
gentoo-2-edfc6b7d7b64ce4e367c149b93be4e09c190e377.zip
Adding fontconfig file. Thanks to Ed Catmur and Wouter Bolsterlee.
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-fonts/liberation-fonts-ttf/files')
-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>
+