From 68636a155be2fb54c1682ac48c6bab668758e2d8 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Tue, 14 Nov 2023 08:59:20 +0100 Subject: [PATCH] update LVGL --- examples/Dynamic_loading_font_example.py | 6 +++--- lvgl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Dynamic_loading_font_example.py b/examples/Dynamic_loading_font_example.py index 43e44b673..31cc0f001 100644 --- a/examples/Dynamic_loading_font_example.py +++ b/examples/Dynamic_loading_font_example.py @@ -39,7 +39,7 @@ scr.clean() myfont_cn = lv.font_t() -lv.font_load(myfont_cn, "S:%s/font/font-PHT-cn-20.bin" % script_path) +lv.binfont_load(myfont_cn, "S:%s/font/font-PHT-cn-20.bin" % script_path) label1 = lv.label(scr) label1.set_style_text_font(myfont_cn, 0) # set the font @@ -47,7 +47,7 @@ label1.align(lv.ALIGN.CENTER, 0, -25) myfont_en = lv.font_t() -lv.font_load(myfont_en, "S:%s/font/font-PHT-en-20.bin" % script_path) +lv.binfont_load(myfont_en, "S:%s/font/font-PHT-en-20.bin" % script_path) label2 = lv.label(scr) label2.set_style_text_font(myfont_en, 0) # set the font @@ -56,7 +56,7 @@ myfont_jp= lv.font_t() -lv.font_load(myfont_jp, "S:%s/font/font-PHT-jp-20.bin" % script_path) +lv.binfont_load(myfont_jp, "S:%s/font/font-PHT-jp-20.bin" % script_path) label3 = lv.label(scr) label3.set_style_text_font(myfont_jp, 0) # set the font diff --git a/lvgl b/lvgl index 91f133f11..55f89a83c 160000 --- a/lvgl +++ b/lvgl @@ -1 +1 @@ -Subproject commit 91f133f11ba52517da11f225dc2c566595612f22 +Subproject commit 55f89a83cf424168e6b60bcbbe31f17fb409e871