]> granicus.if.org Git - libass/commitdiff
Completely disable transforms when loading a glyph
authorGrigori Goronzy <greg@blackbox>
Wed, 3 Mar 2010 12:28:06 +0000 (13:28 +0100)
committerGrigori Goronzy <greg@blackbox>
Sat, 10 Apr 2010 23:59:29 +0000 (01:59 +0200)
Might save a few cycles.

libass/ass_font.c

index 70d44c53ad140d3ff1c969bd42cb421dfc585438..f368d88a6aaf9f2985030e81ff0ec35dfe249e1f 100644 (file)
@@ -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) {