bugfix on png loading
This commit is contained in:
1 parent
08fc44bf91
commit
47c03d83e9
9 files changed
+10
-2
No files matched your search
@@ -170,17 +170,25 @@ 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