]> git.wh0rd.org Git - fontconfig.git/commitdiff
Eliminate italic_angle check for PS fonts
authorKeith Packard <keithp@keithp.com>
Thu, 24 Apr 2003 17:32:37 +0000 (17:32 +0000)
committerKeith Packard <keithp@keithp.com>
Thu, 24 Apr 2003 17:32:37 +0000 (17:32 +0000)
src/fcfreetype.c

index df78b6e6f845dcc39069a13cbe069d6f2b4a6c27..2f1657f9f9e2c80f12cd399ce1bf5568f30916e8 100644 (file)
@@ -769,10 +769,16 @@ FcFreeTypeQuery (const FcChar8    *file,
                }
        }
      
+#if 0
+       /* 
+        * Don't bother with italic_angle; FreeType already extracts that
+        * information for us and sticks it into style_flags
+        */
         if (psfontinfo.italic_angle < 0) 
             slant = FC_SLANT_ITALIC; 
         else if (psfontinfo.italic_angle >= 0) 
             slant = FC_SLANT_ROMAN; 
+#endif
 
         if(!foundry)
             foundry = FcNoticeFoundry(psfontinfo.notice);