ISSUE-2205 (text-wrap-stretch): Consider adding support for stretched, wrapped text in a <textArea> [SVG Core 2.0]

ISSUE-2205 (text-wrap-stretch): Consider adding support for stretched, wrapped text in a <textArea> [SVG Core 2.0]

http://www.w3.org/Graphics/SVG/WG/track/issues/2205

Raised by: Cameron McCormack
On product: SVG Core 2.0

A common text layout design is for each line of text in a block to be resized so that it exactly fits the width of the block.  The following example (which works in Opera) shows a crude hack to get something close to the design I'm thinking of:

  http://mcc.id.au/temp/2009/text-wrap-stretch.svg

It doesn't exactly work, since it seems simply scaling the font-size doesn't always result in a linear increase in the width the text will take up.  Also, the leading between each line doesn't look nice; not sure if the line-increment helps here.

Received on Tuesday, 27 January 2009 07:50:19 UTC