{
int tw, th, adv, inset;
-#ifdef BIDI_SUPPORT
int cutoff, len;
_layout_item_text_cutoff(c, ti, cutoff);
}
}
-#endif
tw = th = 0;
if (fmt->font.font)
eina_inlist_append(EINA_INLIST_GET(c->ln->items),
EINA_INLIST_GET(_ITEM(ti)));
-#ifdef BIDI_SUPPORT
if (cutoff > 0)
{
new_ti->parent.text_node = ti->parent.text_node;
new_ti->parent.text_pos = ti->parent.text_pos + cutoff;
+#ifdef BIDI_SUPPORT
new_ti->parent.bidi_props.dir = (evas_bidi_is_rtl_char(
new_ti->parent.text_node->bidi_props,
new_ti->parent.text_pos,
0)) ? EVAS_BIDI_DIRECTION_RTL : EVAS_BIDI_DIRECTION_LTR;
+#else
+ new_ti->parent.bidi_props.dir = EVAS_BIDI_DIRECTION_LTR;
+#endif
ti = new_ti;
len -= cutoff;
}
}
while (cutoff > 0);
-#endif
}
/**