studio icon indicating copy to clipboard operation
studio copied to clipboard

Bug on display Farsi texts on edit mode (EEZ LVGL) on V0.23

Open sina8013 opened this issue 6 months ago • 2 comments

On version v0.22 or v0.23.2 we can add Farsi font and edit range to (0x0-0xffff) to show Farsi fonts but in v0.23.2 this way not work

it's wrong (v0.23.2) Image

this is correct (v0.22) Image

sina8013 avatar Jun 30 '25 06:06 sina8013

Hello? @mvladic @jcuypers @blutack @goran-mahovlic

sina8013 avatar Jul 30 '25 10:07 sina8013

try with this config in lv_conf.h

#define LV_USE_BIDI 1 #if LV_USE_BIDI /*Set the default direction. Supported values: *LV_BASE_DIR_LTR Left-to-Right *LV_BASE_DIR_RTL Right-to-Left LV_BASE_DIR_AUTO detect text base direction/ #define LV_BIDI_BASE_DIR_DEF LV_BASE_DIR_AUTO #endif

/** Enable Arabic/Persian processing In these languages characters should be replaced with an other form based on their position in the text/ #define LV_USE_ARABIC_PERSIAN_CHARS 1

mahdidadashi65 avatar Aug 07 '25 17:08 mahdidadashi65