From ef20067cff42b7bef2738741d80a81945f20bf05 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 17 Apr 2020 10:34:12 +0200 Subject: [PATCH] add LV_USE_ARABIC_PERSIAN_CHARS to lv_conf_templ.h --- lv_conf_template.h | 5 +++++ src/lv_conf_internal.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/lv_conf_template.h b/lv_conf_template.h index 84b622d3c..d47e7ed4f 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -439,6 +439,11 @@ typedef void * lv_font_user_data_t; #define LV_BIDI_BASE_DIR_DEF LV_BIDI_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 0 + /*Change the built in (v)snprintf functions*/ #define LV_SPRINTF_CUSTOM 0 #if LV_SPRINTF_CUSTOM diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index f6e741260..971082adc 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -660,6 +660,13 @@ #endif #endif +/* Enable Arabic/Persian processing + * In these languages characters should be replaced with + * an other form based on their position in the text */ +#ifndef LV_USE_ARABIC_PERSIAN_CHARS +#define LV_USE_ARABIC_PERSIAN_CHARS 0 +#endif + /*Change the built in (v)snprintf functions*/ #ifndef LV_SPRINTF_CUSTOM #define LV_SPRINTF_CUSTOM 0