[jira] [Updated] (PDFBOX-3358) Incorrect PDFOverlay positioning

2018-11-10 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr updated PDFBOX-3358:

Labels: Overlay  (was: )

> Incorrect PDFOverlay positioning
> 
>
> Key: PDFBOX-3358
> URL: https://issues.apache.org/jira/browse/PDFBOX-3358
> Project: PDFBox
>  Issue Type: Bug
>  Components: Utilities
>Affects Versions: 2.0.1
> Environment: Ubuntu 16.04, Java 1.8.0, 64-bit
>Reporter: Stephen Eisenhauer
>Priority: Major
>  Labels: Overlay
>
> Some PDFs have atypical media/crop boxes, and this seems to cause the 
> OverlayPDF command in pdfbox-app to produce unexpected results.
> To reproduce:
> {code}
> wget https://www.colorado.gov/pacific/sites/default/files/W-9_0.pdf
> wget http://stepheneisenhauer.com/files/CenterLines.pdf
> java -jar pdfbox-app-2.0.1.jar OverlayPDF W-9_0.pdf out.pdf
> {code}
> In this example, W-9_0.pdf has the unusual traits (when opened in Inkscape, 
> objects outside the media box can be seen), and CenterLines.pdf is just a 
> normal PDF with lines centered on the page. Both pages have the same media 
> size, yet out.pdf shows the lines shifted (though they are still their 
> original size).



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

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



[jira] [Updated] (PDFBOX-3358) Incorrect PDFOverlay positioning

2018-11-10 Thread Tilman Hausherr (JIRA)


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

Tilman Hausherr updated PDFBOX-3358:

Attachment: W-9_0.pdf
CenterLines.pdf

> Incorrect PDFOverlay positioning
> 
>
> Key: PDFBOX-3358
> URL: https://issues.apache.org/jira/browse/PDFBOX-3358
> Project: PDFBox
>  Issue Type: Bug
>  Components: Utilities
>Affects Versions: 2.0.1
> Environment: Ubuntu 16.04, Java 1.8.0, 64-bit
>Reporter: Stephen Eisenhauer
>Priority: Major
>  Labels: Overlay
> Attachments: CenterLines.pdf, W-9_0.pdf
>
>
> Some PDFs have atypical media/crop boxes, and this seems to cause the 
> OverlayPDF command in pdfbox-app to produce unexpected results.
> To reproduce:
> {code}
> wget https://www.colorado.gov/pacific/sites/default/files/W-9_0.pdf
> wget http://stepheneisenhauer.com/files/CenterLines.pdf
> java -jar pdfbox-app-2.0.1.jar OverlayPDF W-9_0.pdf out.pdf
> {code}
> In this example, W-9_0.pdf has the unusual traits (when opened in Inkscape, 
> objects outside the media box can be seen), and CenterLines.pdf is just a 
> normal PDF with lines centered on the page. Both pages have the same media 
> size, yet out.pdf shows the lines shifted (though they are still their 
> original size).



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

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