[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|