On 6/8/2016 2:30 PM, Prem Balakrishnan wrote:

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/ <http://cr.openjdk.java.net/%7Epkbalakr/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

Why passed shape height is larger that the required superscripted text height?

  Thanks,
  Alexandr.

*Fix:*

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

Thanks,

Prem


Reply via email to