Evas font query: query coords should not take bitmap positioning into account.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 6 Oct 2010 12:24:14 +0000 (12:24 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 6 Oct 2010 12:24:14 +0000 (12:24 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@53097 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_font_query.c

index b80fe61..be80580 100644 (file)
@@ -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]) */
          {