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

Home » Public Forums » archive » Conundrum
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Conundrum [message #11658] Tue, 19 May 1998 00:00 Go to next message
J.D. Smith is currently offline  J.D. Smith
Messages: 214
Registered: August 1996
Senior Member
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? Thoughts on general cross-platform font selection schemes for
widget fonts (not graphics fonts)?

JD
Re: Conundrum [message #11795 is a reply to message #11658] Tue, 26 May 1998 00:00 Go to previous message
Mike Schienle is currently offline  Mike Schienle
Messages: 37
Registered: May 1997
Member
J.D. Smith wrote:

> fine. My problem with widget fonts is, e.g. for
display of formatted
> text. Non-uniform spacing fonts are very rude. I
should probably try
> to implement things in a table widget or something,
but what a lot of
> overhead just to show some columns of data!
>

What's wrong with setting the widget keyword
font='*fixed'? This seems to
work forme on Windows, Mac, HPUX and SunOS.

-David Windt
windt@bell-labs.com

Nothing is wrong with that under most conditions. I prefer to use
proportional fonts for the majority of my widgets to make their
appearance a little less forced. Also, you can make better use of screen
real-estate with proportional fonts. For base widgets with just a few
sub-widgets, this is probably not a big deal. I just checked two files
out of nearly 150 files from a recent project. The two files had well
over 100 Widget_ or CW_ calls in them. With that many widgets screen
real-estate and precise location was an issue at times.

I spent some time working on cross-platform appearances for the above
project and a couple others. I reworked a few of RSI's compound widgets
(CW_*) to allow setting of fonts for titles, fields, labels, etc., as
well as width of buttons to get a uniform appearance on multiple
platforms. I also added in the ability to do widget tracking to the
compound widgets to accommodate context-sensitive help.

I'm under the impression these type of things aren't very important or
popular for most people, but I can add some pages to my web site at
http://ww2.sd.cybernex.net/~mgs/ to provide details if anyone is
interested. Just let me know.

Regards,

Mike Schienle
Re: Conundrum [message #11817 is a reply to message #11658] Fri, 22 May 1998 00:00 Go to previous message
David L. Windt is currently offline  David L. Windt
Messages: 9
Registered: June 1997
Junior Member
J.D. Smith wrote:

> fine. My problem with widget fonts is, e.g. for display of formatted
> text. Non-uniform spacing fonts are very rude. I should probably try
> to implement things in a table widget or something, but what a lot of
> overhead just to show some columns of data!
>

What's wrong with setting the widget keyword font='*fixed'? This seems to
work forme on Windows, Mac, HPUX and SunOS.

-David Windt
windt@bell-labs.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: axis handling - wishlist
Next Topic: The Skinny on 24-Bit Color (Long)

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

Current Time: Wed Oct 08 19:57:13 PDT 2025

Total time taken to generate the page: 0.00579 seconds