Hi, The TrueTypeFont doesn't support mac platform encodings which makes it impossible to load some of the fonts shipped with Mac OS X.
Attached is a straightforward patch to add the support. What are the chances of this getting fixed upstream? btw. Apple's TrueTypeFont implementation doesn't seem to support CompositeFont so even if it gets to OpenJDK it won't be much help for loading TTC files. sun.font.TrueTypeFont seems to be handling this pretty well, apart from the missing support for mac platform encoding. Kind regards, Matej Knopp InMethod
TrueTypeFont.patch
Description: Binary data
