weird font issue: string("305B) does not work any more? [message #61159] |
Sun, 06 July 2008 01:31 |
biophys
Messages: 68 Registered: July 2004
|
Member |
|
|
Hi, Folks
It's been a long time since last time I used something like
string("305B) to get these special characters. However, this time it
doesn't work for me on a windows machine with direct graphics. If I
use
IDL>!p.font=-1 & XYOUTS,.1, .5, '!3Here is an Angstrom symbol: ' +
STRING("305B), /NORM, CHARSIZE=3
or
IDL>!p.font=1 & XYOUTS,.1, .5, '!3Here is an Angstrom symbol: ' +
STRING("305B), /NORM, CHARSIZE=3
the angstrom does not show up. If I use
IDL>!p.font=0 & XYOUTS,.1, .5, '!3Here is an Angstrom symbol: ' +
STRING("305B), /NORM, CHARSIZE=3
a symbol of cent is showing up, not the angstrom. If I simply do
IDL>print,string("305B)
I can see the angstrom. Currently my work around for this is to use
unicode. Something like
!p.font=-1 & XYOUTS,.1, .5, '!3Here is an Angstrom symbol: !Z(00c5)', /
NORM, CHARSIZE=3
actually works! No such issue on my linux box. So can someone explain
to me what is going on here? Am I missing something simple? Thank you
for any inputs here.
bp
|
|
|