ws-arch: font/bmfont (text / XML / binary read + write, lazy pages, bake from outline fonts); api: lazy page loader for bitmap fonts (opts.loadPage or sibling files)

This commit is contained in:
4DBug committed 2026-10-31 08:47:27 -05:00
1 parent ef6c658d78
commit 945abe6d94
7 files changed
+1181

No files matched your search

+12
View File
@@ -26,6 +26,18 @@ local list: { Entry } = {
return require("@formats/image/png")
end,
},
{
name = "bmfont",
category = "font",
path = "font/bmfont",
extensions = { "fnt" },
mime = { "application/x-bmfont" },
deps = { "core/Err", "core/Bytes", "Types" },
caps = { decode = true, encode = true, bitmap = true, variants = { "text", "xml", "binary" } },
load = function()
return require("@formats/font/bmfont")
end,
},
{
name = "ttf",
category = "font",