packages: fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.fontconfi...

arekm arekm at pld-linux.org
Tue Feb 2 22:02:48 CET 2010


Author: arekm                        Date: Tue Feb  2 21:02:48 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up config from FC

---- Files affected:
packages/fonts-TTF-RedHat-liberation:
   fonts-TTF-RedHat-liberation.fontconfig (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.fontconfig
diff -u packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.fontconfig:1.1 packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.fontconfig:1.2
--- packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.fontconfig:1.1	Wed May 14 18:13:07 2008
+++ packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.fontconfig	Tue Feb  2 22:02:41 2010
@@ -1,27 +1,23 @@
 <?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>
-
-
+<!-- Assign generic name -->
+	<alias>
+		<family>Liberation Sans</family>
+		<default>
+			<family>sans-serif</family>
+		</default>
+	</alias>
+	<alias>
+		<family>Liberation Serif</family>
+		<default>
+			<family>serif</family>
+		</default>
+	</alias>
+	<alias>
+		<family>Liberation Mono</family>
+		<default>
+			<family>monospace</family>
+		</default>
+	</alias>
 </fontconfig>
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fonts-TTF-RedHat-liberation/fonts-TTF-RedHat-liberation.fontconfig?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list