Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/estyle

Dir     : e17/libs/estyle/src


Modified Files:
        estyle.c 


Log Message:
Fix some problems mapping coords to characters. This solves the cursor mapping
problem for EWL. Still need to determine why very thin characters get mapped
to extremely wide coords.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/src/estyle.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- estyle.c    23 Jan 2003 15:13:14 -0000      1.21
+++ estyle.c    1 Mar 2003 22:52:38 -0000       1.22
@@ -726,7 +726,7 @@
        CHECK_PARAM_POINTER_RETURN("es", es, 0);
 
        ret = evas_object_text_char_coords_get(es->bit, (double)(x - es->x),
-                       (double)(y - es->y + (es->h / 2)), &xx, &yy, &ww, &hh);
+                       (double)(y - es->y), &xx, &yy, &ww, &hh);
 
        if (char_x)
                *char_x = D2I_ROUND(xx) + es->x;




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to