Still not much happening in the software world. The real world gets in the way. We have electricity again, but we also have dozens of downed trees to cut up and remove, which leaves far too little time and energy at the end of the day for a whole lot of this stuff. Gotta get me a chainsaw.
Anyhow, I did somehow manage to spend a few minutes testing things, trying to identify which lib causes the image display bug in the fltk example programs when the screen is rotated. The pure microwindows nxview program is able to display pngs, jpegs, and bmps in any orientation so libnano-X is probably ok. The next layer under fltk is the libNX11 X Windows compatibility layer. So I took a ride in the wayback machine and dug up the ancient xv sources.
Ah ha! This program does all sorts of X11 trickery and only shows a blank splash screen when the nano-X server is running rotated.
But it looks just fine in the native orientation. So the problem is somewhere in libNX11. Quite possibly in the cliping functions used by both FLTK and xv.
At this rate I should have it solved by Christmas. I just hope it doesn't snow again for a while...
Update:
Apparently nxview has trouble with alpha blending. Here it is in the native screen orientation. The edges of the dice in the alphademo.png image blend nicely with the background color of the window.
And here it is with the -L orientation.
No blending! I don't believe nxview uses libNX11 so that places at least some of the problems in libnano-X.
No comments:
Post a Comment