int err;
int i;
int pixel_size = DEFAULT_PIXEL_SIZE;
- FT_UInt *raw_table;
FT_UInt unicode_table[0x80];
int max_glyph_id;
}
for (i = 0, max_glyph_id = 0; i < 0x10000; i++)
- if (FT_Load_Glyph (face, i, FT_LOAD_RENDER | FT_LOAD_MONOCHROME)
-
-
+ if (! FT_Load_Glyph (face, i, FT_LOAD_RENDER | FT_LOAD_MONOCHROME))
+ max_glyph_id = i;
+
for (i = 0x0D00; i < 0x0D80; i++)
{
unicode_table[i - 0x0D00] = FT_Get_Char_Index (face, (FT_ULong) i);