Flagstone Software

8752. Fonts do not decode on Macintosh.

When decoding an an AWT Font object to create glyphs the first set of coordinates returned are a relative move. When using Windows or Linux the relative move is small and falls within the bounding box for the glyph. However under Mac OS X the relative move is large and falls outside the bounding box for the glyph.

The result is that text is displaced. If the text is not animated the characters are displayed correctly however in order to place the text correctly the relative move must be corrected for - which means checking the glyph information to find the coordinates and then correctly for the selected font size - not very practical.

Root Cause

The exact cause is unknown. The TrueType (OpenType) font format is complex and it is possible that the problem is a bug in the JDK, though this seems unlikely. Most probably the information returned when running on OS X is simply different and the FSTextConstructor must take account of this platform dependency.

Workaround?

No workaround is currently available.

When will it be fixed?

No date set, pending a review of several minor implementation issues in the FSTextConstructor class.