[
https://issues.apache.org/jira/browse/FOP-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886973#comment-13886973
]
Luis Bernardo commented on FOP-2137:
------------------------------------
as described in
http://xmlgraphics.apache.org/fop/trunk/extensions.html#prepress this has only
been implemented for PDF and Java2D renderers (this is then a request for
improvement instead of a bug -- issue type changed accordingly).
> fop extension crop-box not supported for postscript rendering
> -------------------------------------------------------------
>
> Key: FOP-2137
> URL: https://issues.apache.org/jira/browse/FOP-2137
> Project: Fop
> Issue Type: Improvement
> Components: ps
> Affects Versions: trunk
> Environment: Operating System:
> Platform: PC
> Reporter: Kai Hofmann
> Attachments: foptest.zip
>
>
> When using the xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"
> extension for fox:crop-box="media-box" fox:crop-offset="10mm", I found, that
> this extension works fine when generating pdf files. But it doesn't work for
> PostScript result files.
> To prove this I have added a small windows batch script, which generates ps
> and pdf files for non croping and for croping fo files.
> The resulting files can be compared by winmerge or so. Doing this you will
> see the different media/cropbox vraintes in the pdf files, but when comparing
> the postscriptfiles there is in fact no difference.
> So the crop feature is not correctly implemented for the postscript renderer.
> I have tested this with fop 1.0 and fop 1.1 rc1
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)