idk look at the changes

This commit is contained in:
Alessandro Mauri 2024-12-25 12:30:35 +01:00
parent 1746f7d940
commit 16adfd7cc5
10 changed files with 303 additions and 53 deletions

View file

@ -76,6 +76,7 @@ fn void! Font.load(&font, String name, ZString path, uint height, float scale)
font.sft.font = schrift::loadfile(path);
if (font.sft.font == null) {
font.table.free();
return UgFontError.TTF_LOAD_FAILED?;
}