-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 1.2.0, 1.4.0
-
Component/s: client-libs
-
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());
as.addAttribute(TextAttribute.SUPERSCRIPT,
TextAttribute.SUPERSCRIPT_SUB, 0, 10);
as.addAttribute(TextAttribute.SUPERSCRIPT,
TextAttribute.SUPERSCRIPT_SUPER, 10, s.length());
- duplicates
-
JDK-4211722 Superscript not rendered correctly when painting an AttributedString to a canvas
-
- Closed
-