Closed chou-o-ning closed 1 year ago
is this specific to infiniSim, or does the same thing happen on the actual PineTime?
can the Chinese font be compiled using utf8
glyphs instead of the unexpected utf16
ones?
Generally this seems to me like a lvgl problem or a InfiniTime problem. Please open an issue at those projects as there is nothing InfiniSim can do to fix this problem
File: InfiniSim/InfiniTime/src/libs/lvgl/src/lv_font/lv_font_loader.c Line: 269 Descirption: Assigning a uint16_t (cmap_table[i].data_entries_count ) to uint8_t (ids_size) may lead ids_size to 0. Envirement: kvm virtual machine (Ubuntu 20.04 AMD64) on Ubuntu 20.04 AMD64, when I add a chinese font to little fs. InfiniSim display chinese font error. When I debug into it, I find ids_size is 0 when load cmaps. Change uint8_t to uint16_t will fix this.