Hi, There was indeed a mistake in the previous fix. Color channels were messed up on some archs, due to a misinterpretation of cairo expected pixel layout (oddly enough, mozilla was not sensible to this...).
Here are the changes in this patch: - fix the channel mix up, - improved palette handling (should be faster), - reorganize the code to make workaround hooks easier, - add a workaround for the 16bit r5g6b5 pixel case. Please test. In particular, the color-selector of gtk-demo is a good way to check that colors are handled correctly now. Eric.
cairo.diff
Description: Binary data
