Lvgl Menu-sub menus with custom font


I have created menus and sub menus using simple menu example " examples/widgets/menu/lv_example_menu_1.c "
I have created custom font to support characters from multiple languages.
When using font (lv_font_montserrat_14) i can enter into sub menu and i get < on top to navigate back to the parent menu. However using custom font “<” has turned into box (can not display back “<”). Functionality is still there, i can navigate between menus and sub menus using touch, however “<” can not be displayed anymore with custom font. Thanks in advance for any help/guideline.

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

ESP32S3 Lilygo Display dev board with touch screen.

What LVGL version are you using?

LVGL version = 8.3
ESP32 IDF version 5.1.2
Eclipse IDE

What do you want to achieve?

I would like to have “<” on top of submenus using custom font.

What have you tried so far?

Code to reproduce

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

it seems like you use online converter for custom font-file. But as far as I remember menu’s back button used sprecial symbol LV_SYMBOL_LEFT, which includes from FontAwesome by-default in pregenerated font-files. I can offer you to use script form scripts\built_in_font folder and regenerate font file with your options (ttf-file, symbols range, etc). Or add 61441,61448,61451,61452,61452,61453,61457,61459,61461,61465,61468,61473,61478,61479,61480,61502,61507,61512,61515,61516,61517,61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,61559,61560,61561,61563,61587,61589,61636,61637,61639,61641,61664,61671,61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,62020,62087,62099,62212,62189,62810,63426,63650 from FontAwesome (located in built_in_font folder).

Many thanks for your prompt reply. I will try your suggested solution.
Best Regards

Many thanks for pointing me into the right direction. It worked.
Best Regards