Export of multiple fonts won't compile

When exporting the fonts used in a project, all glyph bitmaps, glyph descriptions, cmaps and font descriptions have the same variable names across all font files.

Renaming each definition to a unique name fixes the problem.
Thanks in advance.

Example Arduino IDE Output:

ui_font_f44.c:4784:37: error: redefinition of ‘const lv_font_fmt_txt_cmap_t cmaps

ui_font_f96Icons.c:9365:36: error: redefinition of ‘const lv_font_fmt_txt_dsc_t font_dsc’

Others

  • SquareLine Studio version: 1.6.0
  • Operating system: Windows 11 Pro
  • Target hardware: ESP32S3 + RGB Display (Seeed Studio SenseCAP Indicator D1)

Hi, thanks for reporting this! We appreciate the detailed info and the workaround. We’re looking into the issue and will fix it in a future update.

1 Like