Xft, RANDR and subpixel aliasing
Wout Mertens <[email protected]> Fri, 27 Feb 2004 16:57:15 +0100 (CET)
| Newsgroups | gmane.comp.freedesktop.xlibs.general |
|---|---|
| Message-ID | <[email protected]> |
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.