Use Custom Font - does not appear on screen

Description

Hello everyone,
I’m trying to use Arial font with accented characters like àéè etc…
I have used the online convert tools and heres the file it generated.
The font does not print correclty, I still have squares for special character that are not on the font.

lv_arial_16.c (102.7 KB)

What MCU/Processor/Board and compiler are you using?

ESP32 - CYD2USB

What LVGL version are you using?

8.4

What do you want to achieve?

print font with accent character

What have you tried so far?

Followed the Font guide

Code to reproduce

I modified the lv_conf.h to add it the new font.

#define LV_ARIAL_16 1
[...]
#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(lv_arial_16) 
[...]
/*Always set a default font*/
#define LV_FONT_DEFAULT &lv_arial_16

After using another Arial.ttf file, it worked fine… apparently the one I exported from my mac wasn’t in the correct format for the font converter.

It seems that from time to time the online convertion tools, generate bad font C files… I’m not sure yet what are the pre-requisite