diff --git a/build.zig b/build.zig index f6ea0ed..219c05c 100644 --- a/build.zig +++ b/build.zig @@ -45,7 +45,7 @@ pub fn build(b: *std.build.Builder) void { ngui.addCSourceFiles(&.{ "src/ui/c/ui.c", "src/ui/c/lv_font_courierprimecode_14.c", - //"src/ui/c/lv_font_courierprimecode_16.c", + "src/ui/c/lv_font_courierprimecode_16.c", "src/ui/c/lv_font_courierprimecode_24.c", }, ngui_cflags); diff --git a/src/ui/c/lv_conf.h b/src/ui/c/lv_conf.h index e23aa20..e691c72 100644 --- a/src/ui/c/lv_conf.h +++ b/src/ui/c/lv_conf.h @@ -346,11 +346,11 @@ /*Optionally declare custom fonts here. *You can use these fonts as default font too and they will be available globally. *E.g. #define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(my_font_1) LV_FONT_DECLARE(my_font_2)*/ -#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(lv_font_courierprimecode_14) LV_FONT_DECLARE(lv_font_courierprimecode_24) +#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(lv_font_courierprimecode_14) LV_FONT_DECLARE(lv_font_courierprimecode_16) LV_FONT_DECLARE(lv_font_courierprimecode_24) /*Always set a default font*/ //#define LV_FONT_DEFAULT &lv_font_montserrat_14 -#define LV_FONT_DEFAULT &lv_font_courierprimecode_14 +#define LV_FONT_DEFAULT &lv_font_courierprimecode_16 /* additional fontawesome symbols to complement LV_SYMBOL_xxx */ #define NM_SYMBOL_BITCOIN "\xEF\x8D\xB9" /* 0xF379 */