diff --git a/lib/writers/lvgl/lv_font.js b/lib/writers/lvgl/lv_font.js index f1d917d..309e4b1 100644 --- a/lib/writers/lvgl/lv_font.js +++ b/lib/writers/lvgl/lv_font.js @@ -61,7 +61,7 @@ class LvFont extends Font { } toLVGL() { - let guard_name = this.font_name.toUpperCase(); + let guard_name = '_' + this.font_name.toUpperCase() + '_'; return `/******************************************************************************* * Size: ${this.src.size} px