[vlgothic-fonts] Work around unnecessary leading whitespace in the pattern. (#966785)

Akira TAGOH tagoh at fedoraproject.org
Fri May 24 08:47:56 UTC 2013


commit 7a717d0d86f89dc3433a828b142c0d1d7ed58095
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Fri May 24 17:47:53 2013 +0900

    Work around unnecessary leading whitespace in the pattern. (#966785)

 vlgothic-fonts-fontconfig-gothic.conf  |    6 +++---
 vlgothic-fonts-fontconfig-pgothic.conf |    4 ++--
 vlgothic-fonts.spec                    |    5 ++++-
 3 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/vlgothic-fonts-fontconfig-gothic.conf b/vlgothic-fonts-fontconfig-gothic.conf
index df99f1e..75f6629 100644
--- a/vlgothic-fonts-fontconfig-gothic.conf
+++ b/vlgothic-fonts-fontconfig-gothic.conf
@@ -20,7 +20,7 @@
         <test name="lang" compare="contains">
             <string>ja</string>
         </test>
-        <test name="family">
+        <test name="family" ignore-blanks="true">
             <string>monospace</string>
         </test>
         <edit name="family" mode="prepend">
@@ -32,7 +32,7 @@
         <test name="lang" compare="contains">
             <string>ja</string>
         </test>
-        <test name="family">
+        <test name="family" ignore-blanks="true">
             <string>sans-serif</string>
         </test>
         <edit name="family" mode="prepend">
@@ -41,7 +41,7 @@
     </match>
     <!-- disabling hinting rule -->
     <match target="font">
-        <test name="family">
+        <test name="family" ignore-blanks="true">
             <string>VL Gothic</string>
         </test>
         <edit name="hinting" mode="assign">
diff --git a/vlgothic-fonts-fontconfig-pgothic.conf b/vlgothic-fonts-fontconfig-pgothic.conf
index 3bd2536..29cf1fc 100644
--- a/vlgothic-fonts-fontconfig-pgothic.conf
+++ b/vlgothic-fonts-fontconfig-pgothic.conf
@@ -13,7 +13,7 @@
         <test name="lang" compare="contains">
             <string>ja</string>
         </test>
-        <test name="family">
+        <test name="family" ignore-blanks="true">
             <string>sans-serif</string>
         </test>
         <edit name="family" mode="prepend">
@@ -22,7 +22,7 @@
     </match>
     <!-- disabling hinting rule -->
     <match target="font">
-        <test name="family">
+        <test name="family" ignore-blanks="true">
             <string>VL PGothic</string>
         </test>
         <edit name="hinting" mode="assign">
diff --git a/vlgothic-fonts.spec b/vlgothic-fonts.spec
index 27db8bb..34b735b 100644
--- a/vlgothic-fonts.spec
+++ b/vlgothic-fonts.spec
@@ -11,7 +11,7 @@ but some have also been improved by the project.
 
 Name:		%{fontname}-fonts
 Version:	20130510
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Japanese TrueType font
 
 License:	mplus and BSD
@@ -76,6 +76,9 @@ done
 
 
 %changelog
+* Fri May 24 2013 Akira TAGOH <tagoh at redhat.com> - 20130510-2
+- Work around unnecessary leading whitespace in the pattern. (#966785)
+
 * Mon May 13 2013 Akira TAGOH <tagoh at redhat.com> - 20130510-1
 - New upstream release (#956040)
 


More information about the fonts-bugs mailing list