asc = evas_common_font_max_ascent_get(fn);
desc = evas_common_font_max_descent_get(fn);
-#ifdef BIDI_SUPPORT
+#ifdef BIDI_SUPPORT
/* Get the position in the visual string because those are the coords we care about */
position = evas_bidi_position_logical_to_visual(visual_to_logical, len, pos);
#else
{
/* if it's rtl then the location is the left of the string,
* otherwise, the right. */
+#ifdef BIDI_SUPPORT
if (intl_props &&
EVAS_BIDI_PARAGRAPH_DIRECTION_IS_RTL(intl_props->props))
{
if (ch) *ch = asc + desc;
}
else
+#endif
{
evas_common_font_query_size(fn, text, intl_props, cx, ch);
}