forked from enlightenment/efl
parent
16c3803a71
commit
9cb35948bc
|
@ -495,6 +495,8 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
|
||||||
{
|
{
|
||||||
text = in_text;
|
text = in_text;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
intl_props = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -305,6 +305,9 @@ evas_common_font_query_advance(RGBA_Font *fn, const Eina_Unicode *text, const Ev
|
||||||
}
|
}
|
||||||
if (v_adv) *v_adv = evas_common_font_get_line_advance(fn);
|
if (v_adv) *v_adv = evas_common_font_get_line_advance(fn);
|
||||||
if (h_adv) *h_adv = pen_x - start_x;
|
if (h_adv) *h_adv = pen_x - start_x;
|
||||||
|
#ifndef BIDI_SUPPORT
|
||||||
|
intl_props = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* x y w h for char at char pos for null it returns the position right after
|
/* x y w h for char at char pos for null it returns the position right after
|
||||||
|
@ -623,6 +626,8 @@ end:
|
||||||
#ifdef BIDI_SUPPORT
|
#ifdef BIDI_SUPPORT
|
||||||
if (visual_to_logical) free(visual_to_logical);
|
if (visual_to_logical) free(visual_to_logical);
|
||||||
if (visual_text) free(visual_text);
|
if (visual_text) free(visual_text);
|
||||||
|
#else
|
||||||
|
intl_props = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return ret_val;
|
return ret_val;
|
||||||
|
|
Loading…
Reference in New Issue