git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51809
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
o = calloc(1, sizeof(Evas_Object_Text));
o->magic = MAGIC_OBJ_TEXT;
o->prev = o->cur;
+#ifdef BIDI_SUPPORT
o->cur.intl_props.props = evas_bidi_paragraph_props_new();
+#endif
return o;
}
if (o->cur.font) eina_stringshare_del(o->cur.font);
if (o->cur.source) eina_stringshare_del(o->cur.source);
if (o->engine_data) evas_font_free(obj->layer->evas, o->engine_data);
+#ifdef BIDI_SUPPORT
evas_bidi_props_clean(&o->cur.intl_props);
+#endif
o->magic = 0;
free(o);
}
eina_ustrbuf_free(n->unicode);
if (n->utf8)
free(n->utf8);
+#ifdef BIDI_SUPPORT
if (&n->bidi_props)
evas_bidi_paragraph_props_unref(n->bidi_props);
+#endif
free(n);
}