From b20b1927c66ee690d0172a1b2fefda0e1eea6178 Mon Sep 17 00:00:00 2001 From: tasn Date: Wed, 6 Oct 2010 12:24:14 +0000 Subject: [PATCH] Evas font query: query coords should not take bitmap positioning into account. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@53097 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/engines/common/evas_font_query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/engines/common/evas_font_query.c b/src/lib/engines/common/evas_font_query.c index b80fe61..be80580 100644 --- a/src/lib/engines/common/evas_font_query.c +++ b/src/lib/engines/common/evas_font_query.c @@ -440,8 +440,8 @@ evas_common_font_query_char_coords(RGBA_Font *fn, const Eina_Unicode *in_text, c last_adv = fg->glyph->advance.x >> 16; } if (kern < 0) kern = 0; - chr_x = ((pen_x - kern) + (fg->glyph_out->left)); - chr_y = (pen_y + (fg->glyph_out->top)); + chr_x = (pen_x - kern); + chr_y = (pen_y); chr_w = fg->glyph_out->bitmap.width + (kern); /* if (text[chr]) */ { -- 2.7.4