summaryrefslogtreecommitdiffstats
path: root/libass/ass_font.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2010-03-03 13:28:06 +0100
committerGrigori Goronzy <greg@blackbox>2010-04-11 01:59:29 +0200
commit18b8037b79c8ea73870f11cc03743d3260f2670f (patch)
tree5c92952ef6879b18efe860c1ea996900744f1039 /libass/ass_font.c
parent162a735b6b2dba13022f96db42a3f153cf28033e (diff)
downloadlibass-18b8037b79c8ea73870f11cc03743d3260f2670f.tar.bz2
libass-18b8037b79c8ea73870f11cc03743d3260f2670f.tar.xz
Completely disable transforms when loading a glyph
Might save a few cycles.
Diffstat (limited to 'libass/ass_font.c')
-rw-r--r--libass/ass_font.c1
1 files changed, 1 insertions, 0 deletions
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) {