forked from enlightenment/efl
Evas language: Split to script even if there's no Harfbuzz.
SVN revision: 59108
This commit is contained in:
parent
5793e609a0
commit
af53b3d4a9
|
@ -64,7 +64,6 @@ evas_common_language_script_end_of_run_get(const Eina_Unicode *str,
|
|||
const Evas_BiDi_Paragraph_Props *bidi_props, size_t start, int len)
|
||||
{
|
||||
/* FIXME: Use the standard segmentation instead */
|
||||
#ifdef OT_SUPPORT
|
||||
Evas_Script_Type first = EVAS_SCRIPT_UNKNOWN;
|
||||
int i;
|
||||
for (i = 0 ; i < len ; i++, str++)
|
||||
|
@ -94,19 +93,8 @@ evas_common_language_script_end_of_run_get(const Eina_Unicode *str,
|
|||
}
|
||||
#else
|
||||
(void) bidi_props;
|
||||
(void) start;
|
||||
#endif
|
||||
return (i < len) ? i : 0;
|
||||
#elif defined(BIDI_SUPPORT)
|
||||
(void) str;
|
||||
return evas_bidi_end_of_run_get(bidi_props, start, len);
|
||||
#else
|
||||
(void) bidi_props;
|
||||
(void) start;
|
||||
(void) str;
|
||||
(void) len;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Evas_Script_Type
|
||||
|
|
Loading…
Reference in New Issue