[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What are people using SVG for?


resize svg
[Robin Berjon]

> Thomas B. Passin wrote:
> > But as I remember it, I rarely had
> > trouble understanding to move things around and scale them with PS, yet
> > still label them with a font whose size I chose (and which stayed
unscaled).
>
> I've been wondering if that should be a core feature or not. It's
certainly
> useful in a number of cases though it may have accessibility issues (which
means
> we'd need to differentiate between mutltiple types of zooming). It's not
really
> complicated to implement dynamically, I'd expect there to be quite typical
> libraries for that when SVG 1.2 comes out.
>

I really think it would be valuable to be able to spec an unzoomable font
size.  Here is a use case -

I lay out and label a graph and I determine that I want 10 pt font for some
good reason like esthetics or readability.  It is hard enough to get the
size I want when I use teh page viewport to scale the numbers, but suppose I
have done that.  Now I find that my graph does not fit the page as well as I
want, and I wish to resize it.  I definitely want to resize the graph while
leaving the font in 10 pt.

I realize that it is not obvious how do know when to allow something to
scale and when not to, and there are plenty of cases where you would want to
scale the entir drawing, fonts and all.  But type is a special case, and it
ought to be possible to say what font size you want and by Jove to get it.

>
> Yes. In SVG the approach would be more to compute stuff upon display,
inside the
> viewer, using SVG DOM scripting.
>
> > I cannot call any of those methods when transforming xml into svg with
an
> > ordinary stylesheet, AFAICT, since I have do
whoops, left out the word "not" here
>> DOM available to work with.  Is
> > that not right?  But they ought to be very useful where there is a
language
> > binding available.
>
> There are language bindings, the most frequently used one being
Ecmascript. That
> usually suffices and is done by the SVG viewer when it displays the SVG. I
've
> frequently been tempted to spec and write XSLT extension functions for SVG
but
> I've never had time.

 Lots of work, but it would be nice ...

Cheers,

Tom P



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.