Hi Doug, I guess that height would also be needed for vertical fonts? I think I saw you mention that in one of your links... I can't really figure out how this would work for a <text> with a mixture of spans of horizontal / vertical text, but that's why I don't write specs! :)
What if a <text> element has a <textPath> in it? If a word on a path would be displayed outside of the text's width, what should happen? Would the whitespace property work with this (i.e. what values, if any, would be supported for the CSS whitespace property)? Would overflow-wrap/word-wrap: break-word work with this? (i.e. for words that are longer than the text area is wide) Would any of these CSS properties be supported: line-break, word-break, hyphens? Thanks, Jeff On Tue, Jun 4, 2013 at 11:57 PM, Doug Schepers <[email protected]> wrote: > ** > > > Hi, folks- > > Some of you may remember me, though I haven't been very active in this > list for a while. I work for W3C, I'm on the SVG Working Group, and I've > been developing SVG apps and docs since about 2000 (though I'm a little > rusty with development :D). I'm writing today to mention a proposal for > the SVG 2 spec, and to solicit feedback. > > Over the years, I've spoken to many people who use SVG, and one of the > pain points they remark on is wrapping text (aka multi-line text or > flowing text). > > For a while now, we've planned to allow text wrapping into arbitrary > shapes, most recently as part of the CSS regions, exclusions, and shapes > specs. But those might take a while. > > In the short term, I think there's room for simple text wrapping based > on CSS's box model. Effectively, by providing a width to a <text> > element in SVG, it would wrap the text to that width. > > I think this is a pretty simple proposal, and it could be implemented > fairly quickly after being specced out in SVG 2. > > You can read more about my rough proposal here: > * http://www.w3.org/Graphics/SVG/WG/wiki/Proposals/Wrapping_Text > * http://lists.w3.org/Archives/Public/www-svg/2013Jun/0007.html > * http://schepers.cc/its-a-wrap > * http://schepers.cc/svg/text/text-wrap-width.svg > * http://schepers.cc/svg/text/text-wrap-width-tspan.svg > > As regular users of SVG, I'd like to know if there are any > considerations we should take into account, if you feel this would meet > your needs for use in SVG, or if you have any concerns. > > Regards- > -Doug > > [Non-text portions of this message have been removed] ------------------------------------ ----- To unsubscribe send a message to: [email protected] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

