add the fonts

This commit is contained in:
RandomityGuy 2023-01-07 23:33:08 +05:30
parent 131e14644a
commit 7e89808e70
5 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

BIN
data/tmp/font/EXPON.bfnt Normal file

Binary file not shown.

BIN
data/tmp/font/arial.bfnt Normal file

Binary file not shown.

View file

@ -130,7 +130,7 @@ class ManifestEntry extends FileEntry {
if (onReady != null)
haxe.Timer.delay(onReady, 1);
} else {
this.loadPromise = js.Browser.window.fetch(file).then((res:js.html.Response) -> {
js.Browser.window.fetch(file).then((res:js.html.Response) -> {
return res.arrayBuffer();
}).then((buf:js.lib.ArrayBuffer) -> {
loaded = true;