Text is drawn with red and blue channels swapped on ABGR hardware, like Sun ffb2+ graphics boards. I filed a bug report about that against Cairo 1.0 and it's been fixed - apparently it's back now.
After some experimentation I found this: - with anti-aliasing disabled text colours are right - with anti-aliasing and sub-pixel hinting enabled colours are right too - with anti-aliasing enabled but sub-pixel hinting disabled colours are wrong
*** This bug has been marked as a duplicate of bug 5112 ***
(In reply to comment #2) > > *** This bug has been marked as a duplicate of bug 5112 *** You most probably meant some other bug.
Indeed. By the way, I found that the problem may not be in cairo after all - there are still plenty of RGB vs. BGR problems in the Xserver's XRENDER code - half of it ( like rgb32 x a8 -> rgb32 ) assumes that source and destination pixmap always use the same pixel format which is clearly bogus.
I meant bug 5212, of which the cairo portion is a dup of. XRender only operates on surfaces of identical format and if cairo feed in argb32 x a8, then that would be a serious bug in cairo. Thanks for checking. *** This bug has been marked as a duplicate of bug 5212 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.