Re: Conundrum [message #11638] |
Thu, 21 May 1998 00:00  |
dlhopols
Messages: 10 Registered: April 1998
|
Junior Member |
|
|
In article <mgs-1905982035520001@sc3-12-138.thegrid.net>,
mgs@sd.cybernex.net (Mike Schienle) wrote:
> And if your requirements don't allow leaving it up to the user you can set
> up a list of fonts that you can use throughout your applications. I have a
> couple functions that manage fonts for me. I will add them to my web site
> tonight (5/19/98) since they're a little too long to post here.
I have a question as well as a comment on fonts.
I've tried Mike's FontGen program which I found on his Web
page. Since I am learning widgets, I tried to use it to provide a
widget list of fonts (SGI Unix). When one font is chosen from this list, a
second widget appears which has a label with the specified font. This
actually worked quite well except that some fonts are not found by my SGI.
Specifically, the bold Greek. I get an error message (at the command line)
when I choose this font from my widget list. The widget label has the IDL
default with no mention of any error.
My question is: How can I intercept this message from the
Widget_Label error handling so that it can print out that I have an
error (by printing the error message inside the widget label) rather than just
giving me a value which I do not want?
The IDL manual says that using DEVICE obtains only hardware Font definitions.
I can only think of using a plot routine, check if an error occurs, and
then proceed accordingly with a DIALOG_MESSAGE. But can I bypass this
plot part? (Maybe this is related to the window popping up which was
mentioned earlier in this thread. )
Rose
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
|
|
|