pete@sinix.UUCP (Pete Delany) (04/12/91)
I tried installing xnews on this old sun3/160 running SunOS 3.4 last weekend while waiting for my lock manager system to reboot and had a problem with the fonts not working. Other than the font problem the server seems to be working reasonably. It's the system V release, I believe based on Open Windows 1.0. The font test program seems to think everything is fine, doesn't draw anything, but seems to be going thru the motions as if it was. The context and raster structures looked reasonable, but since they are so large it's really difficult to say wihout knowing the code better. The font installation griped about the folio font conversion in buildfont, but the fonts seem to be the same as those that came in the binary release of OpenWindows 1.0 for the SPARC; so it seems to be a problem in the server code. The box test program didn't draw a very nice box, but I assume that is the test program using absolute coords, whereas it seems to be drawing with offsets. I was wondering if someone could point out what to look for with dbxtool. The structures really are huge, and the porting guide doesn't seem to give much specific insight for this specific of problem. I should know the general concepts better for the rendering pipeline I guess. I'm currently compiling the server without SYSV defined, but the etc/NeWS/init.ps code seems to require SYSV to be asserted, perhaps to enable the font caching. Without SYSV in the Environment the menu buttons and submenu triagle graphics don't show up either. As I recall the buttons are also implemented as a font family. All of the demo's seem to work with the exception of those displaying text. I think there may also have been a problem with the canvas dammage not always redrawing, but I'm not sure. I thought before trying to fix it, a student or other hacker may have already seen this problem or perhaps someone at Sun may be able to pass on a few hints. -pete