rpms/VLGothic-fonts/devel VLGothic-fontconfig-monospace.conf, 1.1, 1.2 VLGothic-fontconfig-proportional.conf, 1.1, 1.2 VLGothic-fonts.spec, 1.17, 1.18

Akira TAGOH tagoh at fedoraproject.org
Fri Dec 5 09:49:59 UTC 2008


Author: tagoh

Update of /cvs/pkgs/rpms/VLGothic-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8440

Modified Files:
	VLGothic-fontconfig-monospace.conf 
	VLGothic-fontconfig-proportional.conf VLGothic-fonts.spec 
Log Message:
* Fri Dec  5 2008 Akira TAGOH <tagoh at redhat.com> - 20081203-2
- update fontconfig config according to Fontconfig packaging tips.


Index: VLGothic-fontconfig-monospace.conf
===================================================================
RCS file: /cvs/pkgs/rpms/VLGothic-fonts/devel/VLGothic-fontconfig-monospace.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- VLGothic-fontconfig-monospace.conf	5 Dec 2008 03:13:31 -0000	1.1
+++ VLGothic-fontconfig-monospace.conf	5 Dec 2008 09:49:29 -0000	1.2
@@ -10,23 +10,29 @@
         </edit>
     </match>
     
-    <match target="pattern">
+    <match>
+        <test name="lang">
+            <string>ja-jp</string>
+        </test>
         <test name="family">
             <string>monospace</string>
         </test>
-        <test name="lang" compare="contains">
-            <string>jp</string>
-        </test>
-        <edit name="lang" mode="prepend" binding="strong">
-            <string>en</string>
+        <edit name="family" mode="prepend" binding="same">
+            <string>VL Gothic</string>
         </edit>
     </match>
 
     <alias>
         <family>monospace</family>
         <prefer>
-            <family>DejaVu Sans Mono</family>
             <family>VL Gothic</family>
         </prefer>
     </alias>
+
+    <alias>
+        <family>VL Gothic</family>
+        <default>
+            <family>monospace</family>
+        </default>
+    </alias>
 </fontconfig>


Index: VLGothic-fontconfig-proportional.conf
===================================================================
RCS file: /cvs/pkgs/rpms/VLGothic-fonts/devel/VLGothic-fontconfig-proportional.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- VLGothic-fontconfig-proportional.conf	5 Dec 2008 03:13:31 -0000	1.1
+++ VLGothic-fontconfig-proportional.conf	5 Dec 2008 09:49:29 -0000	1.2
@@ -10,23 +10,29 @@
         </edit>
     </match>
 
-    <match target="pattern">
+    <match>
+        <test name="lang">
+            <string>ja-jp</string>
+        </test>
         <test name="family">
             <string>sans-serif</string>
         </test>
-        <test name="lang" compare="contains">
-            <string>jp</string>
-        </test>
-        <edit name="lang" mode="prepend" binding="strong">
-            <string>en</string>
+        <edit name="family" mode="prepend" binding="same">
+            <string>VL PGothic</string>
         </edit>
     </match>
 
     <alias>
         <family>sans-serif</family>
         <prefer>
-            <family>DejaVu Sans</family>
             <family>VL PGothic</family>
         </prefer>
     </alias>
+
+    <alias>
+        <family>VL PGothic</family>
+        <default>
+            <family>sans-serif</family>
+        </default>
+    </alias>
 </fontconfig>


Index: VLGothic-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/VLGothic-fonts/devel/VLGothic-fonts.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- VLGothic-fonts.spec	5 Dec 2008 03:13:31 -0000	1.17
+++ VLGothic-fonts.spec	5 Dec 2008 09:49:29 -0000	1.18
@@ -5,7 +5,7 @@
 
 Name: %{fontname}-fonts
 Version: 20081203
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Japanese TrueType font
 
 License: mplus and BSD
@@ -108,6 +108,9 @@
 
 
 %changelog
+* Fri Dec  5 2008 Akira TAGOH <tagoh at redhat.com> - 20081203-2
+- update fontconfig config according to Fontconfig packaging tips.
+
 * Thu Dec  4 2008 Akira TAGOH <tagoh at redhat.com> - 20081203-1
 - update to 20081203 release.
 - clean up spec file.




More information about the fonts-bugs mailing list