The tool is there but it needs to be extended to support PS/EPS output.
As far as I can see you only have to change DestinationType and Main in
the org.apache.batik.apps.rasterizer package to allow PostScript's MIME
type "application/postscript" on the command line. I suggest you only
hook in the EPS transcoder found in
org.apache.fop.render.ps.EPSTranscoder (it's in lib/pdftranscoder.jar
or FOP itself). You can copy and adjust all the code parts concerning
the PDF transcoder as this one is from the FOP project, too. In all not
a difficult thing, just some copy/paste. :-) HTH

Please send a patch when you're finished.

On 03.09.2004 21:21:29 Felix Breuer wrote:
> I am looking for a command line utility to convert SVG files to
> PostScript files. I gather there is no such tool yet, but this is
> possible to do with Batik though some of the required code is in FOP.
> So, how difficult is it to implement such a tool? Where do I start
> (having no idea about the Batik codebase is structured)? Could anyone
> give me some pointers?



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to