-
Notifications
You must be signed in to change notification settings - Fork 121
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
[LVGL] Include font fallback #620
Comments
Are we talking about Dashboard project or LVGL project? |
LVGL 8.X
In the generated code in the font C file the .fallback is always NULL, it would be helpful if the user could select the fallback font at design time |
I didn't know about that. Do you know under what circumstances this fallback font will be used? |
A fallback is used when one character is not found in the current font, in that case is used the character in the fallback font, so can be used in many cases when the needed character is not found in the generated font. As an example you can see the two next pictures, the first one is a messagebox using the default Montserrat font, the second picture uses a generated font and as you will see the X symbol for closing it is not in the generated font so is not displayed. If the Montserrat font is defined as fallback font then this symbol is displayed correctly. For your information we are using ESP-IDF for ESP32-S3. |
All clear, thanks! |
Thanks for implementing so quickly! |
In many cases it is very helpful to have a fallback for every font, I guess it will be a good idea and very easy to implement, just give the user the possibility to select the fallback font.
The text was updated successfully, but these errors were encountered: