<Swing Dev> Background is painted taller than needed for superscripted text

Prem Balakrishnan prem.balakrishnan at oracle.com
Wed Jun 8 11:30:26 UTC 2016


Hi,

Please review fix for JDK9,

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8017266 

 

Webrev: http://cr.openjdk.java.net/~pkbalakr/8017266/webrev.00/ 

 

 

Issue:

Background is painted taller than needed for superscripted text.

 

 

Cause:

Bounds(alloc.height) is used to set the height to fill the actual glyphs boundary

 

Fix:

Used painter.getHeight() instead of alloc.height to fill the actual glyphs boundary

 

Thanks,

Prem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160608/0e58e452/attachment.html>


More information about the swing-dev mailing list