W3C home > Mailing lists > Public > www-svg@w3.org > November 2011

Re: Declarative Randomization (RE: Revisiting SVG Fonts)

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Fri, 4 Nov 2011 11:12:04 +0200
To: www-svg@w3.org
Message-Id: <201111041012.05146.Dr.O.Hoffmann@gmx.de>
In the past years I mainly create SVG output with PHP
in my art gallery (hundreds of different scripts), 
because I typically need random numbers
and replication for families of similar objects.
And of course, PHP is typically used for all the work arounds
for bugs or viewers and missing features in SVG, 
often this works with families of similar objects.
Well at least a smaller subset of such PHP-script generated,
typically large outputs could be optimised with the option
to vary attribute values systematically over some range
or randomly with a declarative method.
Obviously java-script/DOM does not do the job, because
this does not work, if the viewer does not interprete java-script
(due to limitations of the viewer of preferences of the user, this
is never a reliable method), therefore generally one can forget 
about these decorative java-script features like canvas for such a 
purpuse.

And concerning SVG fonts, if bugs in gaps in some often
used viewers persist for an even longer time, 
the typical work around will become the cowpath: 
Convert the text to arbitrary path data and
don't care about accessible text (anymore).


Olaf
Received on Friday, 4 November 2011 09:12:36 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:49 GMT