ws-apifix: an outline font saved as BMFont writes its pages (opts.files; without a destination F.save returns them as a third value { [page file] = PNG bytes }; caps.extraFiles); pages named after the destination

This commit is contained in:
4DBug committed 2026-10-31 14:03:45 -05:00
1 parent d73b93c740
commit 2f0ff81c95
6 files changed
+83 -9

No files matched your search

+1 -1
View File
@@ -501,7 +501,7 @@ local list: { Entry } = {
extensions = { "fnt" },
mime = { "application/x-bmfont" },
deps = { "core/Err", "core/Bytes", "Types" },
caps = { decode = true, encode = true, bitmap = true, variants = { "text", "xml", "binary" } },
caps = { decode = true, encode = true, bitmap = true, variants = { "text", "xml", "binary" }, extraFiles = true },
load = function()
return require("@formats/font/bmfont")
end,