Re: Xft, RANDR and subpixel aliasing

Jim Gettys <[email protected]> Fri, 27 Feb 2004 11:15:51 -0500
Newsgroups gmane.comp.freedesktop.xlibs.general
Organization HP Labs, Cambridge Research Laboratory
Message-ID <[email protected]>
You are overriding the information the X server provides
with the rotation information, so getting the expected results.

The facilities to do this without local configuration arrived
in XF86 4.3.
                             - Jim

On Fri, 2004-02-27 at 10:57, Wout Mertens wrote:
> Hi,
> 
> I noticed the following problem:
> 
> Suppose you have an rgb flatpanel, and you want subpixel rendering.
> 
> So you add 'Xft.rgba: rgb' to your resource database.
> This works fine.
> 
> Now you use RANDR to rotate your screen. -> Xft doesn't detect this, and
> keeps using 'rgb', which is wrong. It should be vrgb or vbgr, depending
> on your rotation.
> 
> Ok, so you think, I'll set 'Xft.rgba: vrgb' in my resource database.
> Alas, this does not work either, because for some reason, Xft only reads
> this resource at startup.
> 
> So, what can be done about this?
> - Xft should check the Xft.rgba resource more often, or
> - Xft detects rotation somehow and automatically adjusts, obviating the
>   need of having to check what the current rotation is.
> 
> What do you think?
> 
> Wout.
> 
> PS: please keep me in copy somehow, I'm not subscribed to this list,
>     thanks.
> 
> _______________________________________________
> xlibs mailing list
> [email protected]
> http://freedesktop.org/mailman/listinfo/xlibs
-- 
Jim Gettys <[email protected]>
HP Labs, Cambridge Research Laboratory