Hello.
Can you take a look to the fix for:
7190349 : [macosx] Text (Label) is incorrectly drawn with a rotated g2d
8013569 : [macosx] JLabel preferred size incorrect on retina displays with non-default font size

1 JRS function from Java Runtime Support is replaced by the CTFontGetAdvancesForGlyphs. See http://mail.openjdk.java.net/pipermail/2d-dev/2013-May/003360.html 2 The all methods, which try to get advances in the CStrile.java now is implemented via getGlyphAdvance()
3 Now we apply font transformation on the native lvl, not on java lvl.
4 When the Fractional metrics is off, we use round in the user's space. Before the fix, we used round in user's space in font metrics calculation, and we used round in device space in GlyphInfo.

Bugs:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7190349
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8013569

Webrev can be found at:
http://cr.openjdk.java.net/~serb/7190349/webrev.04
Any suggestions and testing are welcome.

--
Best regards, Sergey.

Reply via email to