[xsl] substring manipulation to wrap text in an SVG <rect>

Subject: [xsl] substring manipulation to wrap text in an SVG <rect>
From: Mark Nahabedian <naha@xxxxxxxxxx>
Date: Mon, 17 Sep 2001 09:40:38 -0400
I feel your pain.  Since you don't have access to the font metrics
from your XSLT script, what you're trying to do is hard in the general
case.  The approach you're taking might do a passible job in most
cases.  It's an egregious defect in the SVG specification that it
didn't provide for automatic text alignment and wrapping within a box
(or, more abbitiously, a closed path).  This work should not be
expected of its clients.

I have great hopes for SVG but there are places like this where it
falls short.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread