Bug 13642

Summary: cairo-1.4.12 works for 24bit, fails for 8bit screen on same X server
Product: cairo Reporter: acni <anirkko>
Component: xlib backendAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.4.9   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description acni 2007-12-13 06:12:32 UTC
On the same machine (Solaris2.6) running 3 screens on the same X server,
pango with cairo-1.4.12 works on screen 2 (24bit colordepth), but fails
on screen 0 and screen 1 (8bit colordepth), see output below.
This seems kind of a nuisance because gtk/pango depends on cairo nowadays
and thus fails, whereas earlier versions of gtk (which didn't depend
on cairo) worked! Also, this prevents display on old remote machines
with 8bit screens.

% setenv DISPLAY :0.2
% pango-view GLASS.txt
     (--> displays correctly)

% setenv DISPLAY :0.1
% pango-view GLASS.txt
Error: Cairo 1.4.12 does not yet support the requested image format:
	Depth: 8
	Alpha mask: 0x00000000
	Red   mask: 0x00000000
	Green mask: 0x00000000
	Blue  mask: 0x00000000
Please file an enhancement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
Assertion failed: NOT_REACHED, file /_mnt/hd32/package/gtk/cairo-1.4.12/src/cairo-image-surface.c, line 199
Abort
Comment 1 Carl Worth 2007-12-13 11:17:54 UTC

*** This bug has been marked as a duplicate of bug 4945 ***

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.