dannyedel / dspdfviewer

Dual-Screen PDF Viewer for latex-beamer
http://dspdfviewer.danny-edel.de
GNU General Public License v2.0
218 stars 27 forks source link

[help needed] Testsuite fails on big-endian machines #156

Open dannyedel opened 8 years ago

dannyedel commented 8 years ago

This was originally reported as Debian bug 816081

On big-endian machines, the testsuite currently fails with mismatching colors, indicating an endianness issue. (See linked debian bug for details)

Help needed: I don't have access to a physical big-endian machine with an X-Server, and cannot check whether this is a real issue, or a bug in the test suite (i.e. the real XServer would swap it back for display purposes)

I lean towards "real bug", since in the swapping process the blue value gets capped to FF (alpha is always FF on display pixels):

original FFrrggbb -> swap bbggrrFF -> set alpha to FF FFggrrFF, so output-blue is always maxed, red and green get swapped and input-blue gets discarded.

This must look really weird.


I am not sure yet if this is a bug in dspdfviewer or in one of the included libraries.

dannyedel commented 8 years ago

The testsuite is now (v1.15) disabled by default on Big-Endian systems. This should "fix" the FTBFS, but without access to a real machine, I cannot diagnose it further right now.