I don't believe these things are supported by the font. I also don't
think label or text input components usually support them - I think
they are generally limited to rich text components. I had planned to
implement superscript and subscript using a vertical offset style on
the Span element. I think HTML does something similar.
I would question the need for all caps.
On Nov 3, 2009, at 8:18 AM, Todd Volkert wrote:
How are things like superscript, subscript, and all-caps usually
implemented? Would they be (a) a style on LabelSkin, (b) a
construct of the
DOM and used only by TextArea, or (c) part of the font itself (using
something like Font.getTransform())? I figure at some point (probably
closer to 2.0), we'll need to provide these things, and I didn't
know where
the right place to look would be.
-T