#include #include FT_FREETYPE_H int main (int argc, char **argv) { FT_Library library; FT_Face face; unsigned int count; if (argc < 3) return 255; if (FT_Init_FreeType (&library)) return 1; count = atoi (argv[2]); for (unsigned int i = 0; i < count; i++) { if (FT_New_Face (library, argv[1], 0, &face)) return 2; if (FT_Load_Glyph (face, 10, FT_LOAD_FORCE_AUTOHINT)) return 3; if (FT_Done_Face (face)) return 4; } return 0; }