[OpenJDK 2D-Dev] [8] Request for review: 7190349 and 8013569.

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Jul 1 14:57:51 UTC 2013


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.




More information about the 2d-dev mailing list