From: Keith Packard Date: Thu, 24 Apr 2003 17:32:37 +0000 (+0000) Subject: Eliminate italic_angle check for PS fonts X-Git-Tag: fc-2_2_1~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c4d3fef74756a4cab82fbbbf32827cc4d913665e;p=fontconfig.git Eliminate italic_angle check for PS fonts --- diff --git a/src/fcfreetype.c b/src/fcfreetype.c index df78b6e..2f1657f 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -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);