pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Text decorations
Date Tue, 03 Nov 2009 13:23:16 GMT
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

View raw message