Fix font rendering

This commit is contained in:
2026-03-07 18:40:33 -03:00
parent 5ad4188567
commit 7fcce0da98
8 changed files with 307 additions and 148 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export class AssetManager {
audio.load();
this.assets[key] = audio;
this.loading_promises.push(promise);
} else if (src.endsWith(".txt") || src.endsWith(".md")) {
} else if (src.endsWith(".txt") || src.endsWith(".md") || src.endsWith(".fnt")) {
const promise = async () => {
const resp = await fetch(src);
this.assets[key] = await resp.text();