From: John Jenkins (jenkins@apple.com)
Date: Tue Dec 02 2003 - 18:27:59 EST
On Dec 2, 2003, at 3:57 PM, Frank Yung-Fong Tang wrote:
> Think about this, while Microsoft support Unicode cmap and really
> encourage people to use Unicode, they ALSO publish the WGL4 and the
> OpenType font spec for different script. They also say which format a
> font SHOULD support in TTF cmap. That does not conflict with the goal
> of
> "Using Unicode" at all.
>
Apple doesn't specify which cmap subtable format to use because we
don't care. Any of the cmap subtable formats may be used with any
range of data for which they are valid.
Similarly, we don't publish an AAT script for different scripts because
it's unnecessary. There is no particular model for each script to
which a font must conform in order to work. You can make an AAT font
for your font according to what your font can do; you can make an AAT
font for a script which doesn't have official support yet.
> For example, if I want to customize my "last resort" behavior in MacOS
> X
> with ATSUI (by drawing a Frank Tang picture with a Unicode Decimal
> value
> below it- a way nobody want to implement- everyone live Unicode Hex,
> right. Just want to make an extreme case that for sure John won't crazy
> enough to add them into ATSUI.) in my application, how can I do it now?
>
You turn off font substitution for your layout, get the glyph array
back, scan for glyph ID -1, and substitute as appropriate. Or, if you
want to limit font substitution to a subset of the installed fonts, you
can do that for your layout object, too.
========
John H. Jenkins
jenkins@apple.com
jhjenkins@mac.com
http://homepage..mac.com/jhjenkins/
This archive was generated by hypermail 2.1.5 : Tue Dec 02 2003 - 19:05:59 EST