#include <ft2build.h>
#include FT_FREETYPE_H
int main(int argc, char **argv)
{
FT_Library library;
FT_Face face;
int error;
int i, j, k, counter;
unsigned char temp;
int char_index;
int font_size;
if (argc != 4)
{
printf("Usage: test filename font_size index\n");
return 0;
}
char_index = atoi(argv[3]);
font_size = atoi(argv[2]);
error = FT_Init_FreeType(&library);
if (error)
{
printf("can not init free type library!\n");
return 0;
}
error = FT_New_Face
#include FT_FREETYPE_H
int main(int argc, char **argv)
{
FT_Library library;
FT_Face face;
int error;
int i, j, k, counter;
unsigned char temp;
int char_index;
int font_size;
if (argc != 4)
{
printf("Usage: test filename font_size index\n");
return 0;
}
char_index = atoi(argv[3]);
font_size = atoi(argv[2]);
error = FT_Init_FreeType(&library);
if (error)
{
printf("can not init free type library!\n");
return 0;
}
error = FT_New_Face