[OpenJDK 2D-Dev] TrueTypeFont Mac Platform encoded names (Patch)

Matej Knopp matej.knopp at inmethod.com
Sat Mar 12 21:44:49 UTC 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TrueTypeFont.patch
Type: application/octet-stream
Size: 11449 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20110312/2c0f8395/TrueTypeFont.patch>

More information about the 2d-dev mailing list