Bug 53927 - fop extension crop-box not supported for postscript rendering
Summary: fop extension crop-box not supported for postscript rendering
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: ps (show other bugs)
Version: all
Hardware: PC All
: P2 major
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-24 06:44 UTC by Kai Hofmann
Modified: 2012-09-24 06:44 UTC (History)
0 users



Attachments
Zipfile with a windows batch and 2 fo files that will create the 4 example files (1.31 KB, application/zip)
2012-09-24 06:44 UTC, Kai Hofmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Hofmann 2012-09-24 06:44:32 UTC
Created attachment 29412 [details]
Zipfile with a windows batch and 2 fo files that will create the 4 example files

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