diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index e45dad73f..e40593fb4 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -922,7 +922,7 @@ /* The validity test for `glyph_index' is performed by the */ /* font drivers. */ - slot = face->garray[face->glyph->glyph_index]; + slot = face->garray[glyph_index]; ft_glyphslot_clear( slot ); driver = face->driver; @@ -3141,7 +3141,7 @@ int conic_to2(FT_GlyphSlot* slot, FT_Vector *control, FT_Vector *from, FT_Vector face->garray = (FT_GlyphSlot*)malloc( face->driver->clazz->slot_object_size * face->num_glyphs ); //error = FT_Set_Char_Size( face, 0, 160 * 64, 300, 300 ); - error = FT_Set_Pixel_Sizes( face, 0, 900); + error = FT_Set_Pixel_Sizes( face, 0, 500); // int glyph_index = FT_Get_Char_Index( face, 'A' ); // error = FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_HINTING );