schultz@AIC.NRL.NAVY.MIL (07/21/90)
On a Sparcstation 1, running CLX under Sun Common Lisp 3.0.1, and using Sun's OpenWindows, (xlib::font-properties Helvetica-12) with any font only returns nil. Is this a known problem, or due to use of fonts in OpenWindows? -Alan C. Schultz schultz@aic.nrl.navy.mil
mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) (07/22/90)
> On a Sparcstation 1, running CLX under Sun Common Lisp 3.0.1, and > using Sun's OpenWindows, (xlib::font-properties Helvetica-12) with > any font only returns nil. Is this a known problem, or due to use of > fonts in OpenWindows? I had similar problems with a Sun OpenWindows server using Xlib calls. As far as I could tell, fonts simply did not have properties. Nothing could find the properties. I tried not only two of my programs which use font properties (and work fine against MIT servers (R3 and R4) and at least one DEC server) but also xprop, both the MIT version and the OpenWindows version. According to all of them fonts simply did not have properties, in spite of the presence of property definitions in the bdf files the fonts were built from (or at least the person who installed the fonts assures me the bdf files had properties in them). So I suspect it's not CLX's fault, for what that's worth. I don't know where the fault does lie; I didn't investigate much beyond what I've reported above. Using strings on the snf-analog file for the font turned up nothing that looked like any of the property names, but I don't know whether that's significant or not. I don't know what version of OpenWindows it was, though I may be able to find out if anyone wants to know. The machine was a SPARC of some sort (Sun-4, SPARCstation, I don't know) running release 4.1. der Mouse