[MPlayer-cvslog] r21366 - trunk/libass/ass_font.c
eugeni
subversion at mplayerhq.hu
Tue Nov 28 23:44:40 CET 2006
Author: eugeni
Date: Tue Nov 28 23:44:40 2006
New Revision: 21366
Modified:
trunk/libass/ass_font.c
Log:
Skip glyphs with char code < 0x20.
Modified: trunk/libass/ass_font.c
==============================================================================
--- trunk/libass/ass_font.c (original)
+++ trunk/libass/ass_font.c Tue Nov 28 23:44:40 2006
@@ -123,6 +123,9 @@
int error;
int index;
FT_Glyph glyph;
+
+ if (ch < 0x20)
+ return 0;
index = FT_Get_Char_Index(font->face, ch);
error = FT_Load_Glyph(font->face, index, FT_LOAD_NO_BITMAP );
More information about the MPlayer-cvslog
mailing list