You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kevin Galligan - Objice <ga...@objice.com> on 2000/10/23 02:57:05 UTC

pdf vector postscript graphic

I have a couple questions.  One of them is pretty general.  Is there
anywhere online that has a good fo object tutorial(s)?  Possibly even a fop
tutorial?  Now the specific question.  I'm trying to produce a pdf that
would include a postscript file within it.  My understanding of pdf and
postscript is a little light, but from what I understand its certainly not
impossible.

I guess I have another side question.  The postscript file is produced by a
class that implements the java.awt.Graphics interface.  Hopefully the
packaged code that I have will be able to draw to that rather than the
regular graphics object.  Is there anything out there that does the same
thing but outputs to SVG?  Basically, I'd like to embed a chart into a pdf
but I don't want to make it a rater file first.  I'd like to embed it as a
vector graphic.  Any help would be greatly appreciated.

-Kevin


Re: pdf vector postscript graphic

Posted by Ross Burton <ro...@lineone.net>.
On Sun, 22 Oct 2000, Kevin Galligan - Objice wrote:

> I guess I have another side question.  The postscript file is produced by a
> class that implements the java.awt.Graphics interface.  Hopefully the
> packaged code that I have will be able to draw to that rather than the
> regular graphics object.  Is there anything out there that does the same
> thing but outputs to SVG?  Basically, I'd like to embed a chart into a pdf
> but I don't want to make it a rater file first.  I'd like to embed it as a
> vector graphic.  Any help would be greatly appreciated.

Sun have a Graphics2D SVG
generator at http://www.sun.com/xml/developers/2d-svg/.  You use it as a
normal Graphics2D object, then you can request a SVG file based on it's
contents.  Apparently it works quite well.

Ross Burton