Browse Source

fontconfig > 2.10 対応

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7656 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 11 years ago
parent
commit
d808da7edf

+ 34 - 2
T/TrueType-ipafont/59-ipa-mincho.conf

@@ -2,11 +2,10 @@
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
 
-<!-- IPA Mincho -->
+    <!-- IPA PMincho -->
     <match target="font">
         <test name="family">
             <string>IPAPMincho</string>
-            <string>IPAMincho</string>
         </test>
 	<test name="pixelsize" compare="less">
 	    <double>9</double>
@@ -22,6 +21,39 @@
     <match target="font">
         <test name="family">
             <string>IPAPMincho</string>
+        </test>
+	<test name="pixelsize" compare="more_eq">
+	    <double>9</double>
+	</test>
+        <edit name="hinting" mode="assign">
+            <bool>true</bool>
+        </edit>
+        <edit name="hintstyle" mode="assign">
+            <const>hintslight</const>
+        </edit>
+        <edit name="autohint" mode="assign">
+            <bool>true</bool>
+        </edit>
+    </match>
+
+    <!-- IPA Mincho -->
+    <match target="font">
+        <test name="family">
+            <string>IPAMincho</string>
+        </test>
+	<test name="pixelsize" compare="less">
+	    <double>9</double>
+	</test>
+        <edit name="hinting" mode="assign">
+            <bool>false</bool>
+        </edit>
+        <edit name="autohint" mode="assign">
+            <bool>false</bool>
+        </edit>
+    </match>
+
+    <match target="font">
+        <test name="family">
             <string>IPAMincho</string>
         </test>
 	<test name="pixelsize" compare="more_eq">

+ 33 - 3
T/TrueType-ipafont/60-ipa-gothic.conf

@@ -2,11 +2,10 @@
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
 
-<!-- Sazanami Mincho -->
+   <!-- IPAPGothic -->
     <match target="font">
         <test name="family">
             <string>IPAPGothic</string>
-            <string>IPAGothic</string>
         </test>
 	<test name="pixelsize" compare="less">
 	    <double>9</double>
@@ -18,10 +17,41 @@
             <bool>false</bool>
         </edit>
     </match>
-
     <match target="font">
         <test name="family">
             <string>IPAPGothic</string>
+        </test>
+	<test name="pixelsize" compare="more_eq">
+	    <double>9</double>
+	</test>
+        <edit name="hinting" mode="assign">
+            <bool>true</bool>
+        </edit>
+        <edit name="hintstyle" mode="assign">
+            <const>hintslight</const>
+        </edit>
+        <edit name="autohint" mode="assign">
+            <bool>true</bool>
+        </edit>
+    </match>
+
+   <!-- IPAGothic -->
+    <match target="font">
+        <test name="family">
+            <string>IPAGothic</string>
+        </test>
+	<test name="pixelsize" compare="less">
+	    <double>9</double>
+	</test>
+        <edit name="hinting" mode="assign">
+            <bool>false</bool>
+        </edit>
+        <edit name="autohint" mode="assign">
+            <bool>false</bool>
+        </edit>
+    </match>
+    <match target="font">
+        <test name="family">
             <string>IPAGothic</string>
         </test>
 	<test name="pixelsize" compare="more_eq">

+ 4 - 1
T/TrueType-ipafont/TrueType-ipafont-vl.spec

@@ -2,7 +2,7 @@
 
 Name:    TrueType-ipafont
 Version: 3.03
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Summary: IPA TrueType Fonts
 Summary(ja): IPA の日本語 TrueType フォント
 Group: User Interface/X
@@ -139,6 +139,9 @@ fi
 
 
 %changelog
+* Tue May 07 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.03-2
+- update fontconfig file
+
 * Sun Nov 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.03-1
 - update to IPAfont 00303
 

+ 45 - 0
T/TrueType-vlgothic/59-vlgothic.conf

@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+    <!-- VL PGothic -->
+    <match target="font">
+        <test name="family">
+            <string>VL PGothic</string>
+        </test>
+        <edit name="hinting" mode="assign">
+            <bool>false</bool>
+        </edit>
+        <edit name="autohint" mode="assign">
+            <bool>false</bool>
+        </edit>
+    </match>
+
+    <!-- VL Gothic -->
+    <match target="font">
+        <test name="family">
+            <string>VL Gothic</string>
+        </test>
+        <edit name="hinting" mode="assign">
+            <bool>false</bool>
+        </edit>
+        <edit name="autohint" mode="assign">
+            <bool>false</bool>
+        </edit>
+    </match>
+
+    <alias>
+        <family>sans-serif</family>
+        <prefer>
+            <family>VL PGothic</family>
+        </prefer>
+    </alias>
+
+    <alias>
+        <family>monospace</family>
+        <prefer>
+            <family>VL Gothic</family>
+        </prefer>
+    </alias>
+
+</fontconfig>

+ 10 - 7
T/TrueType-vlgothic/TrueType-vlgothic-vl.spec

@@ -1,4 +1,4 @@
-%define version 2.55
+%define version 2.56
 %define release 1%{?_dist_release}
 %define vlgothic_date 20130422
 %define ttfjp_version 6.0
@@ -96,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
 %config %{_datadir}/ghostscript/conf.d/cidfmap.ja.vlgothic
 
 %changelog
+* Tue May 07 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.56-1
+- update fontconfig file for fontconfig > 2.10
+
 * Mon Apr 22 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.55-1
 - update to 20130422
 
@@ -220,7 +223,7 @@ rm -rf $RPM_BUILD_ROOT
 - update to 20091118
   - update M+ part
 
-* Sun Aug 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22-1
+* Mon Aug 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22-1
 - add fontpath.d symlink
 
 * Tue Aug 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.21-1
@@ -299,7 +302,7 @@ rm -rf $RPM_BUILD_ROOT
   - update M+ part (add more latin glyphs)
   - fix embolden problem
 
-* Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7-1
+* Tue Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7-1
 - add gs8 cidfmap for vlgothic
 
 * Mon Sep 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6-1
@@ -348,10 +351,10 @@ rm -rf $RPM_BUILD_ROOT
   - update M+ part
   - update VL kanji/latin extended/special sign charactor
 
-* Tue Oct 31 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7-0vl1
+* Wed Oct 31 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7-0vl1
 - update VLGothic to new replaced archive.
 
-* Tue Oct 31 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-0vl1
+* Wed Oct 31 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-0vl1
 - update VLGothic to 20071031
   - update M+ part
   - update VL kanji glyphs
@@ -393,7 +396,7 @@ rm -rf $RPM_BUILD_ROOT
   - update M+1C/M+1M to CVS head
   - update some kanji glyphs
 
-* Mon Jul 31 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8-0vl1
+* Tue Jul 31 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8-0vl1
 - update VLGothic to 20070731
   - update M+1C/M+1M to CVS head
   - add new glyphs to VL-PGothic/VL-Gothic
@@ -509,7 +512,7 @@ rm -rf $RPM_BUILD_ROOT
   - split VLGothic family to new package.
   - add M+1M based VLGothic for monospace font. 
 
-* Wed Aug 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-0vl1
+* Tue Aug 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-0vl1
 - update M+1P+Sazanami.ttf
   - refine more glyphs