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

Home » Public Forums » archive » Re: Conundrum
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: Conundrum [message #11657 is a reply to message #11653] Tue, 19 May 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
J.D. Smith (jdsmith@astrosun.tn.cornell.edu) writes:

> Any ideas why the command:
>
> device,get_fontnames=df,font='*cour*bold-r-normal*--14*'
>
> causes a graphics window to open if one isn't yet? Any way around
> this?

I'm taking a stab in the dark. I suspect because there has
to be some kind of connection to the X display system to
get the fonts and that connection (e.g. choosing a visual
class) is not made until a graphics window is open in an
X environment. I'd try making a pixmap before I issued the
command to see if my thinking is correct.

> Thoughts on general cross-platform font selection schemes for
> widget fonts (not graphics fonts)?

Uh, let the end user worry about widget fonts. They are
going to change it anyway (or *can*, which often amounts
to the same thing), no matter what you choose. :-)

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Euclidean distance
Next Topic: SPOT formats

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

Current Time: Thu Oct 09 14:50:02 PDT 2025

Total time taken to generate the page: 0.80093 seconds