bugfix on png loading
This commit is contained in:
1 parent
08fc44bf91
commit
47c03d83e9
9 files changed
+10
-2
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -171,16 +171,24 @@ void test_load_fontfamily1()
|
||||
amsff.docalculations();
|
||||
|
||||
|
||||
|
||||
amsff.print();
|
||||
printf("Nglyphs: %ld\n",amsff.countglyphs());
|
||||
|
||||
amsff.build_fontatlas(&fa);
|
||||
fa.print();
|
||||
|
||||
fa.save("../notes/amstestfont.amsfont");
|
||||
|
||||
fa = amsfontatlas();
|
||||
fa.print();
|
||||
|
||||
fa.load("../notes/amstestfont.amsfont");
|
||||
|
||||
fa.print();
|
||||
fa.savetexture("../notes/testfontatlastexture.png");
|
||||
|
||||
fa.save("../notes/amstestfont.amsfont");
|
||||
fa.load("../notes/amstestfont.amsfont");
|
||||
|
||||
|
||||
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user