[cairo-bugs] [Bug 41535] New: pseudocolor dosn't work in cairo (1.10.2)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 6 12:34:50 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=41535
Summary: pseudocolor dosn't work in cairo (1.10.2)
Product: cairo
Version: 1.10.2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xlib backend
AssignedTo: cworth at cworth.org
ReportedBy: bugs at mh.htnet.de
QAContact: cairo-bugs at cairographics.org
An old problem comes as new:
The pseudo color implementation dosn't work.
after the following change the colors will work at least in cairo 1.10.2:
In File cairo-xlib-surface.c change:
else if ((image_masks.alpha_mask == surface->a_mask || surface->a_mask == 0) &&
(image_masks.red_mask == surface->r_mask || surface->r_mask == 0) &&
(image_masks.green_mask == surface->g_mask || surface->g_mask == 0) &&
(image_masks.blue_mask == surface->b_mask || surface->b_mask == 0))
to:
else if ((image_masks.alpha_mask == surface->a_mask ) &&
(image_masks.red_mask == surface->r_mask ) &&
(image_masks.green_mask == surface->g_mask ) &&
(image_masks.blue_mask == surface->b_mask ))
solves the problem
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list