On Mon, May 01, 2006 at 01:50:15AM -0400, Joc wrote:
What about adding support for underlined text?
Inkscape already renders underlined text. (It may not have a button for underlining in the Text&Font dialog, though that would be easy to add.)
One thing not done correctly is when subspans of text have a different colour. (See the CSS specification of text-decoration to see what I mean here.)
I haven't checked whether all of text-decoration's values are supported (even other than blink).
Many kind of underline are possible, single line, double line, wavy line, etc. This could be extended to have the line above the text or in the middle of it (overstrike).
Some of these are part of the text-decoration attribute, but not all of them.
Forgive me for not looking this up, it's well past my bed time.
Btw, re spell-checking: inkscape already optionally links against gtkspell, which takes effect in the Text tab of the Text&Font dialog. Currently it just uses the language of LC_MESSAGES rather than checking for xml:lang attributes, though this is partly a deficiency of gtkspell not honouring pango language spans (nor providing any other way of having multiple languages in a single text dialog).
pjrm.