The variable(s) describing the vertical displacement of characters is of type char and assumed to be signed. On systems where char is unsigned by default, characters with a negative displacement are drawn 256 pixels too high. :) Unfortunately, a quick look didn't reveal the offending variable(s), but building with -fsigned-char fixes the problem. This problem was fixed on x86 platforms, but notr fixed on ppc platforms - I'm running a iMac G3 600 w/ 2.6.32-r7 Reproducible: Always Steps to Reproduce: 1.Start Celestia 2.Run Demo mode (press D) 3.Look for misplaced letters being placed all over the screen This does not happens on x86, only on ppc. Expected Results: Should have perfectly rendered text with no misplaced text. See screenshots attached.
Created attachment 228657 [details] Screenshot #1
Created attachment 228659 [details] Screenshot #2
@ppc, could you confirm the fact by adding -fsigned-char to the CXXFLAGS fixes the problem? Thanks.
It does fix the problem. I've added the flag to ebuild. I also took a look at the code, but didn't see where it was. Perhaps it should be reported upstream?