GNOME Bugzilla – Bug 540950
wrong EPS colours on powerpc (endianness bug?)
Last modified: 2008-07-13 16:19:10 UTC
Please describe the problem: The attached eps file is displayed with completely bogus colours. Steps to reproduce: 1. load the attached file Actual results: file has yellow background and messed up colours Expected results: file has white background and colours as the same as when viewing converted to pdf (epstopdf) Does this happen every time? yes Other information: evince version 2.22.2 using poppler 0.6.4 (cairo) cairo version 1.6.4-6 all from debian/unstable
Created attachment 113704 [details] EPS file not shown correctly
Created attachment 113705 [details] PDF file shown correctly This file was created from the EPS file by simply doing "epstopdf test.eps".
I confirm this behaviour. Here is the Fedora's bugzilla entry: https://bugzilla.redhat.com/show_bug.cgi?id=440181 It seems that evince (poppler?) ignore the blue component of a color.
Here is a couple of patch. One is for libspectre to correctly order the bytes format of gs output on big endian, hence avoiding evince to swap bytes for cairo. The second is for evince to fix the gdkpixbuf thumbnailing bytes swapping on BE. I tested it successfully both on ia32 and ppc32. Could you sort this out with libspectre maintainers ? Thanks.
Created attachment 114399 [details] [review] fix bytes orders for cairo on big endian
Created attachment 114400 [details] [review] fix evince thumbnailing on big endian
Carlos, any comments on libspectre part?
Applied both patches. Thank you very much.