From: Grigori Goronzy Date: Wed, 3 Mar 2010 12:28:06 +0000 (+0100) Subject: Completely disable transforms when loading a glyph X-Git-Tag: 0.9.10~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18b8037b79c8ea73870f11cc03743d3260f2670f;p=libass Completely disable transforms when loading a glyph Might save a few cycles. --- diff --git a/libass/ass_font.c b/libass/ass_font.c index 70d44c5..f368d88 100644 --- a/libass/ass_font.c +++ b/libass/ass_font.c @@ -459,6 +459,7 @@ FT_Glyph ass_font_get_glyph(void *fontconfig_priv, ASS_Font *font, case ASS_HINTING_NATIVE: break; } + flags |= FT_LOAD_NO_BITMAP | FT_LOAD_IGNORE_TRANSFORM; error = FT_Load_Glyph(face, index, flags); if (error) {