Enlightenment CVS committal

Author  : kwo
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src/lib


Modified Files:
        font_draw.c 


Log Message:
Bad fix - Revert.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/font_draw.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- font_draw.c 29 Jul 2005 02:23:55 -0000      1.2
+++ font_draw.c 30 Jul 2005 17:54:02 -0000      1.3
@@ -77,12 +77,9 @@
    ImlibImage         *im2;
    DATA32             *data, col;
    int                 nx, ny, tmp;
-   int                 inset;
-   
-   inset = imlib_font_query_inset(fn, text);
-   imlib_font_query_size(fn, text, &w, &h);
-   w += inset;
-   
+
+   imlib_font_query_advance(fn, text, &w, &h);
+
    data = malloc(w * h * sizeof(DATA32));
    if (!data)
       return;




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to