>I may have a Java 2D postscript renderer somewhere which I found online.. I
>will look at this (it would be a heck of a lot easier than learning 900+
>pages of postscript and 500+ pages of SVG).
Definitely!
Two points: it turns out that a java2d-to-postscript converter exists in the linux
and
Solaris versions of the JDK, that's how Java printing on Unix works now. However
there are
some limitations, as you probably have discovered. Unfortunately for developers that
code is
not freely modifiable and I don't know if it is included in the "publicly available"
JDK
sources (it's in the private implementation classes of the JDK). However that's proof
that
it can be done, and in fact it is not an awful lot of code. As you no doubt are
aware, it's
much easier to "export" a format than to "import" it generally, since you usually
don't have
to exploit the whole featureset in order to generate legal PostScript.
A freely available Graphics2D-to-postscript converter (more specifically, a
Postscript-generating implementation of the Graphics2D interface) would be a boon to
many
people, not just Batik users. If you start it I think there will be plenty of
interested
parties to help enhance it!
Best regards,
Bill
>Vincent Hardy wrote:
>
>> David,
>>
>> One approach would be to write a PostScript renderer, i.e., someting
>> that is able to turn a PostScript file into Java 2D API calls. Then,
>> using the Batik SVGGraphics2D you could turn your PostScript into
>> SVG. This is the approach for WMF -> SVG converter that Batik contains.
>>
>> Cheers.
>> V.
------
Bill Haneman x19279
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]