[cairo-bugs] [Bug 13642] New: cairo-1.4.12 works for 24bit, fails for 8bit screen on same X server

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 13 06:12:34 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=13642

           Summary: cairo-1.4.12 works for 24bit, fails for 8bit screen on
                    same X server
           Product: cairo
           Version: 1.4.9
          Platform: SPARC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xlib backend
        AssignedTo: cworth at cworth.org
        ReportedBy: anirkko at insel.ch
         QAContact: cairo-bugs at cairographics.org


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


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list