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

Home » Public Forums » archive » Re: Embedded Font formatting and positioning commands in Object 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: Embedded Font formatting and positioning commands in Object Graphics [message #19513] Tue, 21 March 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Yesterday I wrote:

> Then I searched the Symbol font type for the
> correct unicode representation for the omega (?)
> symbol used in the above xyouts command. I found
> the symbol to be the value 77 in hexadecimal notation:
> '77'xb. (I used the Unicode Character Map application
> on my Windows NT machine.)

It has been pointed out to me that the embedded character
!Z has been added to the IDL language recently to facilitate
expression of Unicode character glyphs (16-bit hexadecimal
values).

My expression:

xyouts, 0.5, 0.25, /normal, '[1/!9' + String('77'xb) + '!X!Ip!N]', $
size=3, font=1

Would be more sensibly written as this:

xyouts, 0.5, 0.25, /normal, '[1/!9!Z(0077)!X!Ip!N]', $
size=3, font=1

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
Previous Topic: map_set, date line problem
Next Topic: Re: Data Validation

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

Current Time: Fri Oct 10 02:23:44 PDT 2025

Total time taken to generate the page: 1.51763 seconds