[ 
https://issues.apache.org/jira/browse/FOP-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865596#comment-15865596
 ] 

simon steiner commented on FOP-1742:
------------------------------------

Output looks better on trunk

> Prepress extensions: media-box used as image size when embedding in PDF
> -----------------------------------------------------------------------
>
>                 Key: FOP-1742
>                 URL: https://issues.apache.org/jira/browse/FOP-1742
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Pascal Sancho
>         Attachments: fop_ouput.pdf, fop.pdf, pdf_pdf.fo, prepress.fo, 
> prepress_media.pdf, prepress_media.pdf, prepress_trim.pdf, prepress_trim.pdf
>
>
> FOP TRUNK r884526
> fop-pdf-images-2.0.0.SNAPSHOT.jar
> I am playing with fox:external-document and fo:external-graphic to embed 
> external PDF.
> PDF to insert are both made with FOP, using prepress new feature:
>  - prepress_trim.pdf uses fox:crop-box="trim-box"
>  - prepress_media.pdf uses fox:crop-box="media-box"
> For both FOs, the result is not what I expect (see fop_output.pdf).
> I suspect several things:
>  - resetting media-box lower-left corner to 0.
>  - using media-box size instead of trim-box (fo:external-graphic)
>  - using media-box size for all *-box (fox:external-document)
> I wonder whether negative coordinates in PDF *-box are valid or not (I've 
> sawn similar issues using Adobe Illustrator with FOP PDFs).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to