You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Justus H. Piater" <Ju...@ULg.ac.be> on 2003/12/05 19:41:57 UTC

Including PDF graphics?

Hi,

It seems that FOP cannot include PDF graphics. To me this is a serious
shortcoming, as there does not appear to be a way to include existing
EPS or PDF graphics in a FOP-generated document, and show the result
in acroread.

What's the opinion out there? File an enhancement request?

Justus

-- 
Justus H. Piater, Ph.D.         http://www.montefiore.ulg.ac.be/~piater/
Institut Montefiore, B28        Phone: +32-4-366-2279
Université de Liège, Belgium    Fax:   +32-4-366-2620


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Including PDF graphics?

Posted by Jeremias Maerki <de...@greenmail.ch>.
It isn't that simple, because we currently don't have any PDF parsing
code. Actually it isn't that difficult but someone has to do the coding
first.

On 08.12.2003 09:27:55 Justus H. Piater wrote:
> It seems to me that it should be fairly easy to include PDF graphics
> support in FOP, no?


Jeremias Maerki

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Including PDF graphics?

Posted by "Justus H. Piater" <Ju...@ULg.ac.be>.
I'm not a PDF expert, but here's a paragraph from a man page:

  epstopdf transforms the Encapsulated PostScript file epsfile so that it
  is guaranteed to start at the 0,0 coordinate, and it sets a  page  size
  exactly  corresponding  to  the  BoundingBox.   This  means  that  when
  Ghostscript renders it, the result needs no cropping, and the PDF Medi-
  aBox  is correct.  The result is piped to Ghostscript and a PDF version
  written.

This is what I use with PDFLaTeX and PassiveTeX to put vector graphics
into PDF documents. Relying on EPS for graphics in PDF documents
sort-of defeats the point of PDF.

It seems to me that it should be fairly easy to include PDF graphics
support in FOP, no?

Justus


"J.Pietschmann" <j3...@yahoo.de> wrote on Fri, 05 Dec 2003 19:52:58
+0100:

> Justus H. Piater wrote:
>> It seems that FOP cannot include PDF graphics. To me this is a serious
>> shortcoming, as there does not appear to be a way to include existing
>> EPS or PDF graphics in a FOP-generated document, and show the result
>> in acroread.
>
> FOP can include EPS graphis, but Acrobat reader wont display them
> (that's mainly a restriction of AcrobatReader, not FOP, a PS printer
> will print them even from Acrobat Reader).
> What's a "PDF graphic"? A recursivly embedded PDF?
>
> J.Pietschmann

-- 
Justus H. Piater, Ph.D.         http://www.montefiore.ulg.ac.be/~piater/
Institut Montefiore, B28        Phone: +32-4-366-2279
Université de Liège, Belgium    Fax:   +32-4-366-2620


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Including PDF graphics?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Justus H. Piater wrote:
> It seems that FOP cannot include PDF graphics. To me this is a serious
> shortcoming, as there does not appear to be a way to include existing
> EPS or PDF graphics in a FOP-generated document, and show the result
> in acroread.

FOP can include EPS graphis, but Acrobat reader wont display them
(that's mainly a restriction of AcrobatReader, not FOP, a PS printer
will print them even from Acrobat Reader).
What's a "PDF graphic"? A recursivly embedded PDF?

J.Pietschmann




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org