On Sun, Nov 30, 2003 at 06:25:03PM +0100, Andreas Happe wrote:
> As XftFonts look rather ugly on my new (higher - resolution) laptop
> screen, I'm stopping work on this for now, if anyone wants to take a
> look at it (or write a Xrender/Xft engine) it's at
> http://stud3.tuwien.ac.at/~e0226373.

Have you tried 'antialias=false' in the font description, e.g.

font = "sans:antialias=false:size=9"

Well, I prefer the X fonts over whatever fonts Xft uses even with AA
disabled anyway.

Another possiblity might also be to use pango. It supports drawing with
with Xlib routines and does not require gtk/gdk/gnome bloat, although
it still does require glib bloat. However, because pango breaks strings 
into linked lists before doing anything on them, it seems like a bad idea
unless all the string processing code that requires measuring string length
was moved to the drawing engine side, Ion made dependent on pango or 
drawable strings abstracted... not going to happen. Also, with the basic
layout code, bi-di text is a problem because the line editor draws strings
in pieces and it does not seem possible to disable bi-di support in pango.

-- 
Tuomo

Reply via email to