diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index d97b4585f..e45dad73f 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -42,6 +42,7 @@ #include #include +#include #include #ifdef FT_CONFIG_OPTION_MAC_FONTS @@ -2595,7 +2596,7 @@ int conic_to2(FT_GlyphSlot* slot, FT_Vector *control, FT_Vector *from, FT_Vector pl3->ismove = 0; (*ptr)->next = pl3; *ptr = (*ptr)->next; - return; + return 0; } /* @@ -2640,7 +2641,7 @@ int conic_to2(FT_GlyphSlot* slot, FT_Vector *control, FT_Vector *from, FT_Vector pl5->ismove = 0; (*ptr)->next = pl5; *ptr = (*ptr)->next; - + return 0; } @@ -3140,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, 320); + error = FT_Set_Pixel_Sizes( face, 0, 900); // int glyph_index = FT_Get_Char_Index( face, 'A' ); // error = FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_HINTING );