Enlightenment CVS committal
Author : kwo
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib
Modified Files:
font_draw.c
Log Message:
Another attempt to fix rendering of certain(?) fonts.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/font_draw.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- font_draw.c 20 Sep 2005 17:22:48 -0000 1.4
+++ font_draw.c 31 Dec 2005 00:58:44 -0000 1.5
@@ -78,7 +78,8 @@
DATA32 *data, col;
int nx, ny;
- imlib_font_query_advance(fn, text, &w, &h);
+ imlib_font_query_advance(fn, text, &w, NULL);
+ h = imlib_font_max_ascent_get(fn) - imlib_font_max_descent_get(fn);
data = malloc(w * h * sizeof(DATA32));
if (!data)
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs