When we're drawing text objects, don't apply the horizontal bearing ourselves.

The font drawing code already takes care of that.

This fixes alignment problems most visible with monospaced fonts.


SVN revision: 31511
This commit is contained in:
tilman 2007-08-26 11:06:34 +00:00 committed by tilman
parent 761eed190f
commit 1bd182b2f1
1 changed files with 1 additions and 2 deletions

View File

@ -1417,8 +1417,7 @@ evas_object_text_render(Evas_Object *obj, void *output, void *context, void *sur
context, \
surface, \
o->engine_data, \
obj->cur.geometry.x + x + sl + ox - \
ENFN->font_inset_get(ENDT, o->engine_data, o->cur.text), \
obj->cur.geometry.x + x + sl + ox, \
obj->cur.geometry.y + y + st + oy + \
(int) \
(((o->max_ascent * obj->cur.geometry.h) / obj->cur.geometry.h) - 0.5), \