Re: TTF and Unicode surrogates

From: David Goldsmith (goldsmith@apple.com)
Date: Fri May 15 1998 - 02:47:18 EDT


At 5/14/98 12:16 PM, Werner Lemberg (sx0005@sx2.hrz.uni-dortmund.de)
wrote:

>how will such surrogate characters represented in a cmap of a TrueType
>font?

I'm not aware of any way to do this with only the cmap, given the current
definition of TrueType fonts. A cmap can only map a single 16 bit
character to a single glyph.

On Apple platforms, the way we plan to support characters outside Plane 0
in fonts is as mandatory ligatures of the high and low surrogates. Our
software is also aware of surrogates and that they shouldn't be broken
apart when editing. Ligatures for Mac OS are specified through the 'mort'
(morph) table. This should work for any font stored in 'sfnt' format, not
just TrueType.

Apple's font tables are specified at:

http://fonts.apple.com/

Hope this helps.

David Goldsmith
International and Text Department Architect
Apple Computer, Inc.
goldsmith@apple.com



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:40 EDT