Hi Cameron, K.W.,
I would actually push back on what they say. What they are asking for
is
a parametric layout system, it is true that SVG does not provide one
natively
(one could potentially be built with script). While a parametric layout
system
would be way cool and I personally think the only way to make SVG 'truely
scalable' it is total overkill for static output of a graph.
For what they want all they need to do it make use of a tool like
Batik
to calculate text bounding boxes and to embed SVG font's in the output.
Embedding fonts has _long_ been the solution to accurate reproduction
of
text across many clients. What they are asking for may be interesting but
is
way beyond what any other output format I am aware of provides.
They can use Batik as an engine to calculate the bbox of text rendered
with
the required SVG font. While there could be some small differences in
rendering
between viewers for a given SVG font the differences should be on the
order of
fractional pixels per char.
Cameron McCormack <[EMAIL PROTECTED]> wrote on 11/14/2006 04:34:16 PM:
> K. W. Landry:
> > http://www.aditus.nu/jpgraph/jpg_svg.php
>
> Their central claim:
>
> With the current SVG 1.1 (and draft 1.2) standard there is no way to
> statically find out the bounding box of an arbitrary text string for
> later usage in the SVG script.
>
> is true, if you do not embed fonts into the document. I agree that it
> makes it difficult to generate static documents from dynamic content,
> and be sure of exactly how much space text will take up. Which is a
> shame, since font fallback is meant to be a feature of SVG, but without
> some way to adapt the layout, it?s mostly useless.
>
> --
> Cameron McCormack, http://mcc.id.au/
> xmpp:[EMAIL PROTECTED] ? ICQ 26955922 ? MSN [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]