[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font Encoding Problem
- Subject: Re: Font Encoding Problem
- From: "Mark Hadfield" <m.hadfield(at)niwa.cri.nz>
- Date: Mon, 21 Aug 2000 10:03:04 +1200
- Cache-Post-Path: firstname.lastname@example.org
- Newsgroups: comp.lang.idl-pvwave
- Organization: NIWA
- References: <MPG.email@example.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20988
"David Fanning" <firstname.lastname@example.org> wrote in message
> 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
> 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.
The latter has a list of Unicode-enabled fonts for different platforms.
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand