[cairo-bugs] [Bug 4945] Cairo doesn't support 8-bit pseudocolor visuals

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 3 05:47:25 PST 2008


marek.rouchal at gmx.net changed:

           What    |Removed                     |Added
                 CC|                            |marek.rouchal at gmx.net

------- Comment #65 from marek.rouchal at gmx.net  2008-01-03 05:47 PST -------
I stumbled across a similar problem: Firefox wouldn't start on a 256-color
Citrix Metaframe (aka ICA) display (commercial software to display X on a
Windows PC). So I took cairo-1.4.12, applied the most recent of the attached
patches, compiled my own libcairo, and started firefox with
LD_LIBRARY_PATH set to the new libcairo, which resulted in this error message:

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:
firefox-bin: cairo-image-surface.c:199: _cairo_format_from_pixman_format:
Assertion `NOT_REACHED' failed.

I tried changing line 173 of src/cairo-image-surface.c to:
    case 8:
       if ((am == 0xff || am == 0x0) &&

But that did not help - firefox then crashes with a segfault. Could be that the
version jump of libcairo.so.2.9.2 to libcairo.so.2.11.6 was too high, and I'd
have to recompile all GTK/firefox, which I cannot afford. I will try patching
the older release of cairo (1.2.4), and let you know...

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