Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: pms@arbortext.COM Newsgroups: comp.windows.x Subject: Re: Strange xterm problem under OW 2.0 Message-ID: <9106121533.AA08083@ash.arbortext.com> Date: 12 Jun 91 15:31:53 GMT References: <9106120609.AA17144@cas.org> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 25 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.