Re: /GET_FONTNAMES for X-windows [message #1559] |
Thu, 23 December 1993 12:01 |
landsman
Messages: 93 Registered: August 1991
|
Member |
|
|
In a previous post I mentioned that I was unable to successfully use the
GET_FONTNAMES and GET_FONTNUM keywords to the DEVICE procedure for X-windows.
The solution turned out to be that one must also supply the FONT keyword
when using GET_FONTNAMES or GET_FONTNUM. For example,
IDL> device, GET_FONTNAMES = xx, FONT = '*'
will return the names of all the available fonts in the variable xx, while
IDL> device, GET_FONTNAMES = xx, FONT = '*courier*'
will the return names of all the courier fonts in xx. Apparently, the
need for the FONT keyword is discussed in the latest V3.5 manual, but it
isn't mentioned in my V3.1 manual.
Thanks to Bob Ferguson at HAO for pointing this out.
--Wayne Landsman landsman@stars.gsfc.nasa.gov
|
|
|