[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [APP REQUEST] Smooth fonts (fwd)
From:       Mosfet <mosfet () jorsm ! com>
Date:       1999-06-09 4:13:15
[Download RAW message or body]

Yes, it's in a extension you specifically have to call. Xlib itself does not
handle "config files" such as app-defaults, the application needs to
specifically read the X resource database (although toolkits usually do this to
some extent).

That's not too much of a problem, tho. Like I said before it's *really* easy to
use the extension with exisiting code. I have no idea how TT wants to implement
it, but I figure you would either in QPainter or QFont have something like bool
hasFontSmoothing() and bool setFontSmoothing(int level);. Then when you
drawText in a QPainter it would call either the normal XDrawText or the XAA
DrawText stuff. No big deal.

On Tue, 08 Jun 1999, Lars Knoll wrote:
> On Tue, 8 Jun 1999, Mosfet wrote:
> 
> > Yep, it's only in the devel tree currently. It works just like the
> > XDrawTextXXX functions so should be relatively easy to add to QPainter/QFont.
> 
> Does this mean, they add just another set of drawing functions (meaning,
> that old X programs won't benefit automatically from font smoothing)?
> I would have thought they'd just add a paramter to the config file telling
> the xserver if he should do antialiasing...
> 
> Lars
--
Daniel M. Duley - Unix developer & sys admin.
mosfet@kde.org
mosfet@jorsm.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic