From d3a865462f22f5da26dee638ab3b42bb49894084 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 17 Oct 2003 13:17:38 +0000 Subject: [PATCH] *** empty log message *** --- example/otfimage.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/example/otfimage.c b/example/otfimage.c index e64ad1c..ca36cf5 100644 --- a/example/otfimage.c +++ b/example/otfimage.c @@ -46,7 +46,6 @@ main (int argc, char **argv) int err; int i; int pixel_size = DEFAULT_PIXEL_SIZE; - FT_UInt *raw_table; FT_UInt unicode_table[0x80]; int max_glyph_id; @@ -71,9 +70,9 @@ main (int argc, char **argv) } 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); -- 1.7.10.4