Bug : https://bugs.openjdk.java.net/browse/JDK-6232267
Webrev : http://cr.openjdk.java.net/~prr/6232267/

Fonts such as "Menlo" on OS X have no Microsoft names
(see https://www.microsoft.com/typography/otspec/name.htm)
so historically we rejected these.

Now that we support OS X, this is more of an issue, and
it is possible to run into a case where we fail to parse these fonts
when they go through the Font.createFont() path, even on OS X.

This adds that basic support for parsing Apple names so that
we load the font. This support already exists on JavaFX.

-phil.

Reply via email to