Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After ESP-IDF upgrade to 5.1.2 the font isn't loading anymore. (BSP-422) #259

Closed
Trackhe opened this issue Dec 4, 2023 · 2 comments
Closed

Comments

@Trackhe
Copy link

Trackhe commented Dec 4, 2023

After ESP-IDF upgrade to 5.1.2 the font isn't loading anymore.

I used this:
https://docs.lvgl.io/master/overview/font.html
https://lvgl.io/tools/fontconverter
this code:

  LV_FONT_DECLARE(font name);
  lv_style_set_text_font(&style, &font name);

added the font c file to the Cmakelists.txt and so on

it was working on the older versions but now it dosn't work anymore. if i implement it correctly it seems that the font gets loaded but no font is present on the display. Without the font activated there is font, and on older esp-idf versions like 5.0.0 it is working.

Any idea how i can debug this?

@github-actions github-actions bot changed the title After ESP-IDF upgrade to 5.1.2 the font isn't loading anymore. After ESP-IDF upgrade to 5.1.2 the font isn't loading anymore. (BSP-422) Dec 4, 2023
@Lzw655
Copy link
Collaborator

Lzw655 commented Dec 5, 2023

Hi @Trackhe, did you enable the configuration LV_USE_LOG in the menuconfig? And were there any warning or error logs?

@Trackhe
Copy link
Author

Trackhe commented Dec 5, 2023

While i was going to activate the log, i also activated the support for subpixel and compressed font sup, and now its working ^^. The change from esp32 to esp32s3 removed the option in the menuconfig and i wasn't remembering that i need that for my font. so thank you for your help ^^.

@Trackhe Trackhe closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants