Re: Font Encoding Problem [message #21342 is a reply to message #21334] |
Mon, 21 August 2000 00:00   |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
Mark Hadfield wrote:
>
> "David Fanning" <davidf@dfanning.com> wrote in message
> news:MPG.140773c4312406f8989be4@news.frii.com...
>> I'm trying to figure out how to produce not a percent sign (o/o),
>> but a perthousand sign (o/oo) in IDL. I can find the character
>> on my computer. It has a Unicode of 2030 in the Times New Roman
>> true-type font I have on my computer.
>>
>> Any ideas on how I can convert this into something I can display
>> on an IDL plot?
>
> Having made sure you have the right font selected and that formatting
> commands are enabled, etc, represent the percent sign with !Z(2030).
>
> The !Z format code *is* described in the documentation--that's where I
> stumbled on it--but right now I can't find it again. Anyway, its use is
> pretty straightforward.
>
> [...][/color]
... but doesn't seem to work for Linux ;-(
xyouts,0.5,0.5,'!Z(2030)',/NORM
only put out a zero.
Good news is: I found it easily in the online help (although not
with any keyword that seems related to the question): Go for
Hershey, then click through "About Vector Fonts", "Embedded
Formatting Commands" and scroll down. There's a table giving you
what you ask for. Maybe RSI should offer a new product: the docu
miner ;-)
Cheers,
Martin
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie
[[
[[ Bundesstr. 55, 20146 Hamburg
[[
[[ phone: +49 40 41173-308
[[
[[ fax: +49 40 41173-298
[[
[[ martin.schultz@dkrz.de
[[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
|
|
|