idk look at the changes
This commit is contained in:
parent
1746f7d940
commit
16adfd7cc5
10 changed files with 303 additions and 53 deletions
|
|
@ -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?;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue