Load fonts dynamically from /lua

This unfortunately slows boot time by a bit, but I think we should be able to reclaim that time eventually.
This commit is contained in:
jacqueline
2024-06-14 13:35:42 +10:00
parent 5086ab96ea
commit 7f2d56e29a
10 changed files with 78 additions and 139827 deletions
+2 -2
View File
@@ -1246,7 +1246,7 @@ function timer:ready()
end
--[[
Font is a light userdata that can be uset to set style text_font.
Font is a light userdata that can be used to set style text_font.
]]
--- @class Font
---
@@ -1368,7 +1368,7 @@ end
--- @field arc_img_src? integer
--- @field text_color? integer | string
--- @field text_opa? integer
--- @field text_font? Font | BuiltinFont
--- @field text_font? Font
--- @field text_letter_space? integer
--- @field text_line_space/ integer
--- @field text_decor? integer