From: Bradley R. <bra...@co...> - 2004-06-09 03:14:25
|
On Tue, 08 Jun 2004 22:14:46 +0200 Kim Woelders <ki...@wo...> wrote: > Bradley Reed wrote: > > Still see two bugs though, both older ones though nothing new. > > > > 1. Strange font clipping in some menu entries in the winter theme. > > Last letter in most entries get the right edge cut off. Doesn't seem > > to be predictable which lines will be clipped though. It isn't the > > longest line, for example. > > > I think this is a bug in imlib2's text rendering function. I rebuilt imlib2 from cvs and patched it with the patch you posted to enlightenment-devel [1], then I rebuilt a new cvs enlightenment-0.16.7 unfortunately the font is still clipped in the winter theme on my system. ((I resynced with cvs tonight, but eesh says code is only current to June 3rd, seems odd.)) > > > 2. The problem with iconified apps not returning to their original > > location if the majority of their area was off-screen. > > > That should be fixed in CVS now. Sure is! Thanks! Brad [1] diff -u -r1.1 font_draw.c --- src/font_draw.c 13 Jul 2003 01:23:28 -0000 1.1 +++ src/font_draw.c 9 Jun 2004 00:02:37 -0000 @@ -78,7 +78,7 @@ DATA32 *data, col; int nx, ny, tmp; - imlib_font_query_size(fn, text, &w, &h); + imlib_font_query_advance(fn, text, &w, &h); data = malloc(w * h * sizeof(DATA32)); if (!data) |