fine tuning

This commit is contained in:
tTh
2022-09-20 19:16:42 +02:00
parent 5510569f8b
commit 1175eece63
3 changed files with 55 additions and 24 deletions

View File

@@ -43,16 +43,22 @@ int main(int argc, char *argv[])
{
int foo;
fprintf(stderr, "-------------- %s ------------\n", argv[0]);
foo = Image_t16x24_chars_map("16x24thin", "all16x24chars.tga", 0);
foo = Image_t16x24_chars_map("bigfont.txt", "all16X24chars.tga", 0);
fprintf(stderr, "--------------------------\n");
Image_print_error("Essai fonte 16x24", foo);
fprintf(stderr, "--------------[ %s ]------------\n", argv[0]);
foo = Image_t16x24_chars_map("16x24thin", "all16x24chars.tga", 0);
if (foo) { Image_print_error("load thin font", foo); }
foo = Image_t16x24_chars_map("16x24gruik", "all16X24chars.tga", 2);
if (foo) { Image_print_error("load gruik font", foo); }
fprintf(stderr, "--------------------------\n");
/*
foo = essai_f1("pov.tga", "/tmp/aaaa_plop.tga", "0123456789");
if (foo) {
fprintf(stderr, "essai f1 ---> %d\n", foo);
}
*/
return 0;
}
/*::------------------------------------------------------------------::*/