On Sat, 26 Jun 2004 17:43:36 -0400
Bradley Reed <[EMAIL PROTECTED]> wrote:

> On Sat, 26 Jun 2004 22:39:48 +0200
> Kim Woelders <[EMAIL PROTECTED]> wrote:
> 
> > Bradley Reed wrote:
> > > One thing I notice is that the font clipping doesn't seem to be
> > > theme specific.  Take a look at the help menu "Using Menus". In
> > > every theme I have tried the final S is clipped in half. The help
> > > topic "Mouse Configuration" appears to read "Mouse Configuratior"
> > > in every theme too.
> > > 
> > A fix in E wasn't duplicated to the help document viewer. This is
> > now fixed in CVS.
> > The result is better than before but not as it should be. I think
> > there are still problems in imlib2's font metrics/rendering code.
> > 
> 
> 
> Could the font itself be to blame? If we used a different font, say
> Vera Sans, for a test the results might be interesting.  I'll try
> replacing rothwell.ttf, the font in the titles, and aircut3.ttf, used
> in the text, with something else and see if I see any change. 

Well when I replaced rothwell.ttf with Vera.ttf(renamed rothwell.ttf
just for the test) and tried the DOX viewer the clipping was much less,
but unfortunately was still there. :-(

BTW, I just realized I have the patched[1] cvs version of imlib2
installed. Should I still be using it, or vanilla imlib2?

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)


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to