W3C home > Mailing lists > Public > www-svg@w3.org > January 2013

Re: text-shadow on <text><tspan><tref>

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Wed, 16 Jan 2013 19:17:47 +0100
To: www-svg@w3.org
Message-Id: <201301161917.47666.Dr.O.Hoffmann@gmx.de>
Dirk Schulze:

...
>
> I am not sure if my second mail got through. 
It did ...

> I would rather suggest a 
> normative reference to CSS3 Text Decorations. This spec is not limited to
> HTML content. 
Can be useful for decoration of XHTML and several XML text-formats as well...

> IMO the reference and a sentence that the former named 
> elements contribute to it is enough. No major spec work needed.

Are you sure? SVG can be more complex than simple text.

Maybe one has to think about the emphasis-feature and text on a path
to be sure, that it is implemented for all options of such morphed text in
the same way in different viewers.
Because I'm not familiar with such text features, only a suggestion to
check, that there will be no open questions left.
Implicates the unicode or font already the precise position with the result,
that the emphasis mark becomes effectively a part of the glyph, therefore
the text on a path chapter for SVG defines already how to morph this as well?

And there is the already mentioned more complex situation in SVG with stroke
and fill and stroke-opacity and fill-opacity may have an effect, if a shadow 
is applied to SVG text,. It is worth to think about the question, whether the
simple text-shadow section in CSS is sufficient for SVG content or not.
Is the shadow applied only to the fill or to the stroke as well?
Is it useful to have a stroke-shadow with another colour than the fill-shadow,
if yes, what is the influence of fill/stroke-opacity on the resulting shadow?
There are new features proposed in SVG2 to flip the order of stroke and fill -
does this have an effect on the text-shadow?


Else - text-decoration is already available in SVG, obviously some more
details about this will be fine for SVG content as well.
Some Opera versions had a bug with multiple text-decoration
for one text segment, if it was animated - could be useful to allow
this and to specify, how authors can control this - but maybe more a
suggestion for the CSS-draft than specific for SVG.



Olaf
Received on Wednesday, 16 January 2013 18:18:15 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:53 GMT