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

Home » Public Forums » archive » Re: weird font issue: string("305B) does not work any more?
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: weird font issue: string("305B) does not work any more? [message #61147] Sun, 06 July 2008 18:37 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
biophys writes:

> Thanks for the comments. It simply doesn't work for both Hershey
> Vector fonts or True Type fonts. Maybe I should not mention the !
> p.font=3D0 case which is kinda irrelevant. So to clarify a bit, here's
> what works on a linux box but not on my windows xp.
> ____________________________________________________________ ____
> IDL>set_plot,'win'
> IDL>!p.font=3D-1
> IDL> XYOUTS,.1, .5, '!3Angstrom symbol:'+STRING("305B), /NORM
> ____________________________________________________________ ____
>
> It should just work according to the font section of the appendices of
> IDL API References Guide. And my current work around is to change
> STRING("305B) into !Z(00c5).

I would say it is a minor miracle that it works with
True Type fonts at all, and you would be pushing your
luck to expect more. Sounds like you found the
work-around. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Getting mean from HDF SD files - stack in envi or read into IDL array?
Next Topic: Failed Launching IDLDE 7.0 after CentOS upgrade

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

Current Time: Sat Oct 11 07:57:00 PDT 2025

Total time taken to generate the page: 4.48214 seconds