[Fontconfig] fontconfig: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Aug 8 22:35:09 UTC 2017


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

New commits:
commit 41bc5eab84fffbb427d929a5dc712348b635122c
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Aug 8 15:34:27 2017 -0700

    Fix weight mapping
    
    Ouch!

diff --git a/src/fcweight.c b/src/fcweight.c
index 036a518..67103c4 100644
--- a/src/fcweight.c
+++ b/src/fcweight.c
@@ -29,8 +29,8 @@ static const struct {
     {   0, FC_WEIGHT_THIN },
     { 100, FC_WEIGHT_THIN },
     { 200, FC_WEIGHT_EXTRALIGHT },
-    { 350, FC_WEIGHT_DEMILIGHT },
     { 300, FC_WEIGHT_LIGHT },
+    { 350, FC_WEIGHT_DEMILIGHT },
     { 380, FC_WEIGHT_BOOK },
     { 400, FC_WEIGHT_REGULAR },
     { 500, FC_WEIGHT_MEDIUM },


More information about the Fontconfig mailing list