Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8017266

Background is painted taller than needed for styled text.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 26
    • 6, 7u25
    • client-libs

      GlyphView.paint() draws background bounding the passed Shape, while the span reserved for the superscripted text is taller than the height of the glyphs. It might be better to use the painter.getHeight() instead of alloc.height to fill the are of actual glyphs boundary.

            psadhukhan Prasanta Sadhukhan
            anashaty Anton Nashatyrev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: