Bug 5212

Summary: Red and blue color components switched for text on ABGR hardware
Product: cairo Reporter: David Hollenberg <dhollen>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: k_karanikolas, macallan
Version: 1.0.2   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description David Hollenberg 2005-12-02 04:56:06 UTC
On an Ultra-2 running Solaris 9 with a single-buffered FFB1 (as reported by
fbconfig -prconf), text that is supposed to be red appears blue and
text that is supposed to be blue appears red.  To reproduce, run gtk-demo.
Select Text Widgets/Hypertext.  The underlined words "hypertext" and "tags"
are red instead of blue.  The underlines themselves are blue.  Similarly,
if I select Rotated Text, the text in the lower right corner is red.
It looks like red and blue components of color are switched.  This is
with 24 planes for root window, according to xdpyinfo.  This red-blue
switch does not occur on any of the SunBlade workstations, which have
various graphics cards (XVR-1000, XVR-600, Expert3D-Lite).
Comment 1 Chris Wilson 2008-10-08 07:59:06 UTC
Is this still an issue? It sounds like a trivial bytesex, and one that I cannot spot just by looking over the source code.
Comment 2 Chris Wilson 2008-10-10 10:23:30 UTC
*** Bug 5624 has been marked as a duplicate of this bug. ***
Comment 3 David Hollenberg 2008-10-10 12:42:52 UTC
This bug seems to be fixed.  I ran gtk-demo on a Solaris 10 host, using
GTK+2.12.9 built on cairo 1.6.4 and displayed on an Ultra-2 with the same
graphics card as the one in the original report.  Blue and red components
were not switched and colors displayed correctly.
Comment 4 Chris Wilson 2008-10-10 13:51:10 UTC
*** Bug 11938 has been marked as a duplicate of this bug. ***

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.