This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

substring manipulation to wrap text in an SVG <rect>



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]