[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>

Subject: substring manipulation to wrap text in an SVG <rect>
From: Mark Nahabedian <naha@xxxxxxxxxx>
Date: Mon, 17 Sep 2001 09:40:38 -0400
text wrapping rect svg
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.