[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Thu May 10 00:37:06 PDT 2012


 fonts.conf.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cc9d572d3e3d270653c994ff1269f56eb7ee1b1c
Author: Akira TAGOH <akira at tagoh.org>
Date:   Thu May 10 16:36:10 2012 +0900

    fonts.conf: keeps same binding for alternatives
    
    Since the binding is affected to the score, the replacement should
    have same binding to avoid the unexpected estimation.

diff --git a/fonts.conf.in b/fonts.conf.in
index 533381b..8f9fb88 100644
--- a/fonts.conf.in
+++ b/fonts.conf.in
@@ -34,7 +34,7 @@
 		<test qual="any" name="family">
 			<string>mono</string>
 		</test>
-		<edit name="family" mode="assign">
+		<edit name="family" mode="assign" binding="same">
 			<string>monospace</string>
 		</edit>
 	</match>
@@ -46,7 +46,7 @@
 		<test qual="any" name="family">
 			<string>sans serif</string>
 		</test>
-		<edit name="family" mode="assign">
+		<edit name="family" mode="assign" binding="same">
 			<string>sans-serif</string>
 		</edit>
 	</match>
@@ -58,7 +58,7 @@
 		<test qual="any" name="family">
 			<string>sans</string>
 		</test>
-		<edit name="family" mode="assign">
+		<edit name="family" mode="assign" binding="same">
 			<string>sans-serif</string>
 		</edit>
 	</match>


More information about the Fontconfig mailing list