You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rob Grundel <rg...@pittsh.com.au> on 2002/09/17 04:03:05 UTC

SVG conversion with Scripting

Hi,

Using: Cocoon 2.0.3
I have a svg image that gets serialized to jpeg through the svg2jpeg
converter.  In this svg i use ECMA script to format some of the text. It
displays properley when viewed through an SVG viewer but when converted to
JPEG it does not seem to be running the script.
Any ideas?

Cheers

Rob Grundel
Software Engineer
Pitt & Sherry IT
rgrundel@pittsh.com.au
ph: (03) 63231931
mob ph: 0417762243



=========================================================================== 
This email may be confidential and/or privileged. Only the intended
recipient may access or use it. 
We use virus scanning software but exclude all liability for viruses or
similar in any attachment. 
Copyright in this email and any document created by Pitt & Sherry Consulting
Engineers will 
remain vested in Pitt & Sherry Consulting Engineers and will not transfer to
you. 
If you have received this email by mistake, please telephone (613) 6323 1900
(reverse charges), 
or forward message to info@pittsh.com.au 
=========================================================================== 



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: SVG conversion with Scripting

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Rob Grundel wrote:
> I have a svg image that gets serialized to jpeg through the svg2jpeg
> converter.  In this svg i use ECMA script to format some of the text. It
> displays properley when viewed through an SVG viewer but when converted to
> JPEG it does not seem to be running the script.

AFAIK scripts a triggered by events generated by the
User Agent. Chances are that the JPEG Serializer User
Agent used in Cocoon does not generate any events.
Check your SVG with the command line rasterizer from
the Batik package to see what may work and what wont.
The batik-user list may be a source for more help.

J.Pietschmann


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>