[OpenJDK 2D-Dev] Appropriate OpenJDK replacement for sun.font.FontManager?

Roman Kennke roman at kennke.org
Thu Dec 1 15:21:42 UTC 2011

Hi Martijn,

we refactored the FontManager internal API, it's now:

FontManagerFactory.getInstance().getNewComposite() (or whatever other
FontManager static method it was before). There are a few methods that
have been moved to other classes, but this one is still available in the
FontManager interface (that's what it is now).

I hope that helps.

Regards, Roman

Am Donnerstag, den 01.12.2011, 14:51 +0000 schrieb Martijn Verburg:
> Hi all,
> I'm dealing with a 3rd party-lib that is sadly using
> sun.font.FontManager (getNewComposite in particular).  When moving to
> Java 7 this breaks (not unexpectedly) and so they'd like some advice
> on what would be an appropriate OpenJDK package to use instead of the
> internal sun one.
> Any ideas?  I'm completely clueless when it comes to this part of the
> OpenJDK :|.
> Cheers,
> Martijn

More information about the 2d-dev mailing list