OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] What are people using SVG for?

[ Lists Home | Date Index | Thread Index ]

[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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS