[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Mon Oct 28 03:54:18 CET 2013


 src/fcdefault.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 525a135ccf53e4bf3363c3143d9cfdf15fba55ab
Author: Akira TAGOH <akira at tagoh.org>
Date:   Mon Oct 28 11:54:04 2013 +0900

    Change the default weight on match to FC_WEIGHT_NORMAL

diff --git a/src/fcdefault.c b/src/fcdefault.c
index d1b917f..c6397c0 100644
--- a/src/fcdefault.c
+++ b/src/fcdefault.c
@@ -219,7 +219,7 @@ FcDefaultSubstitute (FcPattern *pattern)
     int	    i;
 
     if (FcPatternObjectGet (pattern, FC_WEIGHT_OBJECT, 0, &v) == FcResultNoMatch )
-	FcPatternObjectAddInteger (pattern, FC_WEIGHT_OBJECT, FC_WEIGHT_MEDIUM);
+	FcPatternObjectAddInteger (pattern, FC_WEIGHT_OBJECT, FC_WEIGHT_NORMAL);
 
     if (FcPatternObjectGet (pattern, FC_SLANT_OBJECT, 0, &v) == FcResultNoMatch)
 	FcPatternObjectAddInteger (pattern, FC_SLANT_OBJECT, FC_SLANT_ROMAN);


More information about the Fontconfig mailing list