feat(freetype): add new freetype testcase (#5207)

This commit is contained in:
Benign X
2024-01-07 15:39:50 +08:00
committed by GitHub
parent b4bdb6e526
commit 2633a33b48
10 changed files with 329 additions and 40 deletions

View File

@@ -15,6 +15,7 @@ void lv_example_freetype_1(void)
{
/*Create a font*/
lv_font_t * font = lv_freetype_font_create(PATH_PREFIX "lvgl/examples/libs/freetype/Lato-Regular.ttf",
LV_FREETYPE_FONT_RENDER_MODE_BITMAP,
24,
LV_FREETYPE_FONT_STYLE_NORMAL);