From ae6fdd53b0e629722bc58785630e81263a3b41f9 Mon Sep 17 00:00:00 2001 From: Benign X <1341398182@qq.com> Date: Thu, 1 Feb 2024 19:11:34 +0800 Subject: [PATCH] feat(vg_lite_label): upgrade path quality to HIGH (#5556) --- src/draw/vg_lite/lv_draw_vg_lite_label.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/draw/vg_lite/lv_draw_vg_lite_label.c b/src/draw/vg_lite/lv_draw_vg_lite_label.c index f33779f13..4633731f7 100644 --- a/src/draw/vg_lite/lv_draw_vg_lite_label.c +++ b/src/draw/vg_lite/lv_draw_vg_lite_label.c @@ -21,7 +21,7 @@ * DEFINES *********************/ -#define PATH_QUALITY VG_LITE_MEDIUM +#define PATH_QUALITY VG_LITE_HIGH #define PATH_DATA_COORD_FORMAT VG_LITE_S16 #define FT_F26DOT6_SHIFT 6 @@ -334,6 +334,7 @@ static void freetype_outline_event_cb(lv_event_t * e) switch(code) { case LV_EVENT_CREATE: param->outline = lv_vg_lite_path_create(PATH_DATA_COORD_FORMAT); + lv_vg_lite_path_set_quality(param->outline, PATH_QUALITY); break; case LV_EVENT_DELETE: lv_vg_lite_path_destroy(param->outline);