W3C home > Mailing lists > Public > www-svg@w3.org > February 2000

Re: Stroked textpath with underline, overline and strikethrough attributes

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Wed, 23 Feb 2000 11:56:08 -0800
Message-Id: <200002231953.LAA11589@mail-345.corp.Adobe.COM>
To: Thierry Kormann <Thierry.Kormann@sophia.inria.fr>
Cc: Jon Ferraiolo <jferraio@Adobe.COM>, www-svg@w3.org, Thierry.Kormann@sophia.inria.fr
At 07:17 PM 2/23/00 +0100, Thierry Kormann wrote:
>> The limitations you are pointing out with underlining apply equally to HTML
>> styled with CSS. There, you have the same limitation of the underline
>> having the same visual characteristics as the text string being underlined.
>> I would argue that extending underlining is more in the domain of the CSS
>> working group than the SVG working group.
>I'm not aggree. HTML and CSS does not have the problem because in HTML,
>you are not able to paint the outline of a text. The problem comes from
>the stroke attribute and a text-decoration. Of course we may have simple or
>more a complex algorithm for the text-decoration. Anyway, mixing stroke
>and text-decoration provide a poor result in my opinion. In fact, I just
>like to know if a correct SVG implementation will render the text like me or

Actually, how to render underlines isn't defined in the SVG specification
and should be. I see two options:

(1) Render the underlines using the value of the 'color' property from CSS
(2) Render the underlines using the various fill/stroke properties from SVG

I think (2) is the better option. I think it is common to want the
underlines to appear in the same color as the text, and the 'fill' property
is the most commonly used way of defining the color on text.

I'll forward this issue to the SVG working group.


>Thanks for comments.
>Thierry Kormann
>email: Thierry.Kormann@sophia.inria.fr  http://www.inria.fr/koala/tkormann/
>Koala/Dyade/Bull @ INRIA - Sophia Antipolis
Received on Wednesday, 23 February 2000 14:54:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:47 UTC