Enlightenment CVS committal Author : raster Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib Modified Files: font_draw.c Log Message: expand tmp image =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/font_draw.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- font_draw.c 1 Nov 2004 09:45:31 -0000 1.1 +++ font_draw.c 29 Jul 2005 02:23:55 -0000 1.2 @@ -77,9 +77,12 @@ ImlibImage *im2; DATA32 *data, col; int nx, ny, tmp; - - imlib_font_query_advance(fn, text, &w, &h); - + int inset; + + inset = imlib_font_query_inset(fn, text); + imlib_font_query_size(fn, text, &w, &h); + w += inset; + data = malloc(w * h * sizeof(DATA32)); if (!data) return; ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs