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

Background is painted taller than needed for superscripted text.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 6, 7u25
    • client-libs
    • None

      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.

        1. AppTest.java
          2 kB
          Anton Nashatyrev
        2. screenshot-1.jpg
          5 kB
          Anton Nashatyrev

            Unassigned Unassigned
            anashaty Anton Nashatyrev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: