Re: is glyph halfwidth or fullwidth
Re: is glyph halfwidth or fullwidth
- Subject: Re: is glyph halfwidth or fullwidth
- From: Simon Strandgaard <email@hidden>
- Date: Wed, 16 Mar 2005 20:27:57 +0100
On Wed, 16 Mar 2005 10:49:00 -0800, John Stiles <email@hidden> wrote:
> Is this for rendering Japanese? That's the only example I can think of
> where monospaced fonts have half-width characters.
Yes, this is for my programmers editor.
http://aeditor.rubyforge.org/
Japanise glyphs are typical fullwidth. European glyphs are typical halfwidth.
There are exceptions, for instance 0xff2e is a fullwidth N.
> At any rate, I think you could just make a list of all the Unicode
> codepoints that are halfwidth, and see if your codepoint is in that
> list.
Yes a lookup table is doable, but I suspect this information is stored
somewhere already. If someone know that such lookup table doesn't
exists then please share your insight.
Thanks.
--
Simon Strandgaard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden