From c4d3fef74756a4cab82fbbbf32827cc4d913665e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 24 Apr 2003 17:32:37 +0000 Subject: [PATCH] Eliminate italic_angle check for PS fonts --- src/fcfreetype.c | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.39.5