comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » X-windows fonts
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
X-windows fonts [message #202] Wed, 19 February 1992 13:32
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
I wanted to use a font with fixed spacing for an IDL text widget, because the
default proportional spacing causes tables and the like to not line up
correctly. However, it appears that Sun workstations and VAX/VMS computers use
different conventions for how fonts are named. For instance, the font that
appears on my Sun as

-dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1

appears on the VAX as

-DEC-Terminal-Medium-R-Normal--14-140-75-75-c-8-iso8859-1

Not only is the case different, but -80- on one computer is -8- on the other.
An additional complication is the fact that the important thing is not which
computer is running IDL, but which computer is providing the X-windows display
server. That makes it very difficult to understand how to program IDL to
select an appropriate font automatically.

Does anybody know how to find out what fonts are available from inside IDL, or
test for the existence of a font? It would have to be something that worked in
both Unix and VMS. Alternatively, does anybody know any fonts that *ALWAYS*
work?

Thank you,

Bill Thompson
[Message index]
 
Read Message
Previous Topic: X device screen size
Next Topic: Widget Columns (RE: X-windows fonts)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:50:08 PDT 2025

Total time taken to generate the page: 0.16038 seconds