lwv27@CAS.BITNET (Larry W. Virden ext. 2487) (06/12/91)
A friend using the xterm which comes with OW 2.0 is getting a sporadic problem. When starting xterm, he will occasionaly get the message: Error: SmeBSB Object: Left Bitmap of entry "font2" is not one bit deep Restarting the window in the same manner turns out fine. Note he is using a SparcStation 1+, with standard (not accelerated) color, SunOS 4.1.1, and OpenWindows 2.0 . Anyone have any ideas? -- Larry W. Virden UUCP: osu-cis!chemabs!lwv27 Same Mbox: BITNET: lwv27@cas INET: lwv27%cas.BITNET@CUNYVM.CUNY.Edu Personal: 674 Falls Place, Reynoldsburg,OH 43068-1614 America Online: lvirden
pms@arbortext.COM (06/12/91)
re: > > A friend using the xterm which comes with OW 2.0 is getting a sporadic > problem. When starting xterm, he will occasionaly get the message: > Error: SmeBSB Object: Left Bitmap of entry "font2" is not one bit deep I've run into this before and chalked it up to a bug in the OpenWindows 2.0 server. Occasionally, the XGetGeometry() call made by GetBitmapInfo() in the SmeBSB object returns a depth of 0 instead of 1 for 1-bit deep pixmaps. The other values (width, height, border_width) returned were always ok, just the depth was wrong. Unfortunately I was never able to get a test program to reliably reproduce this problem so I couldn't convince Sun that it was really a bug in their server. I never ran into this problem with OW 2.0Beta, just OW 2.0. I resorted to patching GetBitmapInfo() in lib/Xaw/SmeBSB.c to change the two tests if (depth != 1) { to if (depth > 1) { to paper over the problem. Pat Sherry ArborText, Inc.