[PATCH] Remove usage of private API

Mike Swingler swingler at apple.com
Sun Aug 5 16:48:41 PDT 2012


On Jul 30, 2012, at 6:55 AM, Marco Dinacci <marco.dinacci at gmail.com> wrote:

> I've also found a private string (CTIntegerMetrics) used in
> CoreTextSupport.m and CTextPipe.m. I don't know any fix for this as it
> seems the functionality is not exposed via any public API.

The JavaRuntimeSupport.framework/Headers/JRSFont.h has API to configure a CGContextRef to render glyphs and runs onto integer aligned metrics, as well as get sizes, measurements, and fallback fonts. I'm actually quite surprised the OpenJDK has references to these internal SPI, since our Apple Java SE 6 has been converted over to use JRSFont.h for quite a long time.

Regards,
Mike Swingler
Apple Inc.



More information about the macosx-port-dev mailing list