https://issues.apache.org/bugzilla/show_bug.cgi?id=53724
Priority: P2 Bug ID: 53724 Assignee: fop-dev@xmlgraphics.apache.org Summary: Fop-pdf-images extension should ignore crop box dimensions if bigger than media box Severity: normal Classification: Unclassified Reporter: matthias8...@gmx.at Hardware: PC Status: NEW Version: 1.1dev Component: images Product: Fop The PDF spec says (section 10.10.1 Page Boundaries, Version 1.7): "The media box defines the boundaries of the physical medium on which the page is to be printed. It may include any extended area surrounding the finished page for bleed, printing marks, or other such purposes. It may also include areas close to the edges of the medium that cannot be marked because of physical limitations of the output device. Content falling outside this boundary can safely be discarded without affecting the meaning of the PDF file." I've seen PDF files (created with Adobe Illustrator) which have a crop box exceeding the size of the media box. The fop-pdf-images extensions doesn't handle this special case correctly because the crop box is always used, without checking if the dimensions are actually smaller than the media box. Therefore the "content falling outside this boundary" is not discarded as suggested by the PDF spec. As soon as patch 53468 is processed, I'll provide a patch for this issue too (there are changes in the same source file which makes it impossible to provide a clean Patch). -- You are receiving this mail because: You are the assignee for the bug.