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

Home » Public Forums » archive » Re: Font Encoding Problem
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: Font Encoding Problem [message #21344 is a reply to message #21342] Sun, 20 August 2000 15:03 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"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.

> What is the Unicode, anyway!?

Roughly speaking--Unicode gurus may want to elaborate--a system for
displaying almost a vast range of standard characters using 16-bit integers.
The key thing to remember about Unicode is that you don't switch fonts to
display special characters. Instead all the characters are represented (or
at least space is reserved for them) in each font. Few fonts support the
whole Unicode character set, but a subset called WGL4 is widely supported.

See:

http://www.unicode.org/
http://www.hclrss.demon.co.uk/unicode/

The latter has a list of Unicode-enabled fonts for different platforms.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Need Help with PRINTER Problem
Next Topic: Re: "Ghostfont" - reproduced

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

Current Time: Fri Oct 10 11:12:55 PDT 2025

Total time taken to generate the page: 1.19691 seconds