W3C home > Mailing lists > Public > public-svg-issues@w3.org > November 2018

Re: [svgwg] should textPath elements parented to tspans or other textPaths render?

From: Fredrik Söderqvist via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Nov 2018 19:53:38 +0000
To: public-svg-issues@w3.org
Message-ID: <issue_comment.created-438413077-1542138817-sysbot+gh@w3.org>
I think that would be covered by (prose):

> After positioning all characters within the ‘textPath’, the current text position is set to the end point of the path, after adjusting for the ‘startOffset’ in the case of paths that are a single closed loop. In other words, text that follows a ‘textPath’ element (but is still inside a ‘text’ element) that does not have explicit positioning information (‘x’ and ‘y’ attributes) is positioned from the end of the path.

(https://svgwg.org/svg2-draft/text.html#TextLayoutPath just before 11.9)

And also, maybe more importantly, part of the text layout algorithm (https://svgwg.org/svg2-draft/text.html#TextLayoutAlgorithm) where I think the words to look for are "after path" (referenced near the end).

-- 
GitHub Notification of comment by fsoder
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/580#issuecomment-438413077 using your GitHub account
Received on Tuesday, 13 November 2018 19:53:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 November 2018 19:53:41 UTC