]> git.wh0rd.org Git - fontconfig.git/commitdiff
oops. Left the psfontinfo.weight matching code commented out while testing
authorKeith Packard <keithp@keithp.com>
Fri, 16 May 2003 16:37:16 +0000 (16:37 +0000)
committerKeith Packard <keithp@keithp.com>
Fri, 16 May 2003 16:37:16 +0000 (16:37 +0000)
    other stuff...

src/fcfreetype.c

index 52395c667029b00332154e18e6b41eda596d5c44..5f032e14ae1057a41b7739d30fbf91bde228895e 100644 (file)
@@ -792,7 +792,6 @@ FcFreeTypeQuery (const FcChar8      *file,
     
     if (FT_Get_PS_Font_Info(face, &psfontinfo) == 0)
     {
-#if 0
        if (weight == -1 && psfontinfo.weight)
        {
            weight = FcIsWeight (psfontinfo.weight);
@@ -800,7 +799,6 @@ FcFreeTypeQuery (const FcChar8      *file,
                printf ("\tType1 weight %s maps to %d\n",
                        psfontinfo.weight, weight);
        }
-#endif
      
 #if 0
        /*