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

Home » Public Forums » archive » Q: Scientific notation in Obj. graphics
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: Q: Scientific notation in Obj. graphics [message #18791 is a reply to message #18712] Sun, 06 February 2000 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
I wrote yesterday:

> Mirko Vukovic (mvukovic@taz.telusa.com) writes:
>
>> In direct graphics I use textoidl and Hershey fonts
>> for dealing with greek characters, subscripts and superscripts.
>>
>> What is the best way to deal with that in object graphics?
>>
>> I'm under the impression that in OG I have to declare a font,
>> for example Hershey 4 and use it for a text object. But how
>> do I mix different Hershey fonts?
>
> Humm, well, *that's* a good question. You certainly can't
> use the normal Hershey escape characters, as I just found
> out to my chagrin. :-(
>
> I'll see what I can find out, but in the meantime, let
> us know if you learn something, Mirko.

As the good folks at RSI have let me know, this *would*
have worked had a just set the ENABLE_FORMATTING keyword
on the text object.

So, to do this: use a Font object set up to use Hershey
fonts and be sure you enable embedded formatting codes
by setting the ENABLE_FORMATTING keyword on the text object.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: thresholding/color question
Next Topic: text window using widgets

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

Current Time: Sat Oct 11 04:03:21 PDT 2025

Total time taken to generate the page: 1.11970 seconds