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

RE: Rendering text on paths - suggestions

From: honyk <j.tosovsky@email.cz>
Date: Mon, 25 Feb 2013 16:58:56 +0100
To: <www-svg@w3.org>
Message-ID: <003e01ce1371$04c90c40$0e5b24c0$@tosovsky@email.cz>
> >> How would you like the overflowing text to be placed in the general
> >> case?
> >
> > Hmm, it is true it is nonsense in general case where no 'path' is
> > defined outside the path.
> >
> > But I realized there could be a simple rule - to overflow whenever
> the
> > path is closed (= the continuation of the path is ensured).
> That sounds somewhat reasonable. What if there are multiple subpaths?
> Overflow to the first subpath in the path? What if that first subpath
> isn't closed?
> Sounds like something for a new property, or perhaps we could reuse the
> 'text-overflow' property for this? In that case what you're asking for
> would require a new value 'wrap' for the 'text-overflow' property.
Hmm, subpaths...

The simplest solution would be enabling this feature just for simple paths.

Or... The text anchor is finally attached to some point on the path. It is either simple path or one of subpaths. The rule could be generalized that this 'path item' must be closed.

Received on Monday, 25 February 2013 15:59:25 UTC

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