pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (PDFBOX-4120) Overlay process forcing bounding box to 0,0, clipping overlayed page.
Date Tue, 13 Nov 2018 20:42:00 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tilman Hausherr closed PDFBOX-4120.
-----------------------------------
    Resolution: Incomplete

Closing as incomplete for now. Please reopen when you have the needed information.

> Overlay process forcing bounding box to 0,0, clipping overlayed page.
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-4120
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4120
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 2.0.8
>            Reporter: Gregg
>            Priority: Major
>              Labels: Overlay
>
> Hello,
> I am using the overlay functionality in PDFBox to stamp existing pdf file pages with
some test running up the left margin and across the footer of each page. 
> I am creating an overlay page, based on the size, rotation, media and crop boxes with
the text to stamp.  I then call the overlay method with my overlay pages to create the final
document.   
> The overlay code creates a PDFormXObject representation of the overlay page to apply
to the source page.  Overlay.createOverlayXObject() sets the bounding box of the new PDFormXObject
using the source page media box, but it forces the x,y to 0,0. 
> The issue I have is when the original page has a media/crop box that starts in a negative quadrant,
the overlay is clipped so some of the text is missing. The work around I am doing is to go
through the results pages after the overlay method completes and update the bounding boxes
of the PDFormXObject to be the media box as the source page. 
> I think it would be helpful if we could tell the overlay process whether it should manipulate
the bounding box or not.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message