https://issues.apache.org/bugzilla/show_bug.cgi?id=48302
Summary: Prepress extensions: media-box used as image size when
embedding in PDF
Product: Fop
Version: 1.0dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: pdf
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=24633)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24633)
fop_ouput.pdf: what I get
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).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.