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:
>Jon,
>
>> 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
mixing 
>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
would
>like to know if a correct SVG implementation will render the text like me or
>not.

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.

Jon


>
>Thanks for comments.
>Thierry.
>
>-- 
>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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:47 GMT