diff --git a/lv_conf_template.h b/lv_conf_template.h index 84b622d3cd..d47e7ed4f8 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 f6e741260b..971082adc1 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