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

TextAttribute.SUPERSCRIPT not super or sub scripting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.2.0, 1.4.0
    • client-libs
    • 2d
    • tiger
    • x86, sparc
    • solaris_2.6, windows_98, windows_2000

      The TextAtribute.SUPERSCRIPT does not appear to be super or sub scripting text. To reproduce compile and run the attached program. Snippet :

              as.addAttribute(TextAttribute.SUPERSCRIPT,
                              TextAttribute.SUPERSCRIPT_SUB, 0, 10);
              as.addAttribute(TextAttribute.SUPERSCRIPT,
                              TextAttribute.SUPERSCRIPT_SUPER, 10, s.length());

            dougfelt Doug Felt
            blichtensunw Brian Lichtenwalter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: