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

Home » Public Forums » archive » Re: Beyond 7-bit ASCII
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: Beyond 7-bit ASCII [message #40729 is a reply to message #40727] Mon, 30 August 2004 09:42 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Karl Schultz writes:

> This example combines the two using object graphics:
>
> IDL> oText = OBJ_NEW('IDLgrText', "I will !6do!X it ma!Z('F1'x)ana",
> /ENABLE_FORMATTING)
> IDL> xobjview, oText
>
> !6 switches to complex roman and !X gets you back to the entry font.

Yes, I did get something like this working. What I couldn't
figure out how to do (and I think this is what the original
poster wanted) was how to get Greek symbols into his code.
For example, I tried this:

text = Obj_New('IDLgrText', ENABLE_FORMATTING=1, $
"(!4!z(88)!X) Greek Symbol Omega", color=[0,0,128])
XObjView, text

Maybe I don't know how to read the octal table. But I see
Font 4, the omega sign is 12x plus 10 octal is:

IDL> Print, "120
88

Why doesn't this work?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TVRD on an XROI screen??
Next Topic: Re: Combinatorial

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

Current Time: Sun Oct 12 00:03:23 PDT 2025

Total time taken to generate the page: 0.00291 seconds