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

Home » Public Forums » archive » Re: IDl and fonts on an Xterminal
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDl and fonts on an Xterminal [message #2604] Fri, 12 August 1994 13:47
ian is currently offline  ian
Messages: 26
Registered: February 1992
Junior Member
Word has it that mcgraw@sunspot.noao.edu may have said:
>
> When I run the following IDL commands
>
>
> IDL> !p.font=0
> IDL> device,font="Times-Bold10"
> IDL>
>
> on a SS10 running Solaris 2.x, IDL accepts the font name
> and it is available in text command.
>
> If I run the same IDL command on an HP Xterminal I get
> the following:
>
> IDL> !p.font=0
> IDL> device,font="Times-Bold10"
> % DEVICE: Requested font does not exist: Times-Bold10.
> % Execution halted at $MAIN$ (DEVICE).
> IDL>
>
> Is there a way I can make the openwin bitmap fonts
> available to my Xterminals?

The problem is that your X-terminal can't find the font. If you
do an "xset q" command (at least on my NCD), you'll see a list of
paths that are searched for fonts. If you know where your Times-Bold10
font is stored, and if the X-terminal can understand it, then you can
do an "xset +fp <path to Times-Bold10>" to add that font path to the
*beginning* of the font search list. Then you can use it in IDL.

I tried your commands on my NCD, and I don't have Times-Bold10 in my
path either, but I used xfontsel to select an NCD font, and then got
IDL to work with it.

+-Ian Novack (Particle Man and Comatose Reader)-----+-ian@gomez.jpl.nasa.gov--+
|"'Progress in ethics is the only cure for progress | Jet Propulsion Lab |
| in science.'" -- Freeman Dyson quoting Haldane | Pasadena, CA |
+--Disclaimer: Had this been an actual opinion, it would still be mine.-------+
[Message index]
 
Read Message
Previous Topic: IDl and fonts on an Xterminal
Next Topic: high/low labels on contour plots

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

Current Time: Sat Oct 11 07:41:41 PDT 2025

Total time taken to generate the page: 0.72007 seconds