From 7f2d56e29ad41e13888828d2d58b17c327a94e36 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 14 Jun 2024 13:35:42 +1000 Subject: 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. --- lib/luavgl/src/luavgl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/luavgl/src/luavgl.h') diff --git a/lib/luavgl/src/luavgl.h b/lib/luavgl/src/luavgl.h index d485cdc8..6c5f8e98 100644 --- a/lib/luavgl/src/luavgl.h +++ b/lib/luavgl/src/luavgl.h @@ -12,8 +12,7 @@ extern "C" { #endif -typedef const lv_font_t *(*make_font_cb)(const char *name, int size, - int weight); +typedef const lv_font_t *(*make_font_cb)(const char *); typedef void (*delete_font_cb)(const lv_font_t *); typedef int (*luavgl_pcall_t)(lua_State *L, int nargs, int nresults); -- cgit v1.2.3