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

John Hewson updated PDFBOX-285:
-------------------------------

    Component/s: Utilities

> overlay shifting the document slightly
> --------------------------------------
>
>                 Key: PDFBOX-285
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-285
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>            Priority: Minor
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1745009
> Originally submitted by jakep36 on 2007-06-28 11:30.
> I'm trying to use the overlay method to put a pre-printed form over top of 
> print data converted to pdf. Overlay seems to shift my print data slightly 
> down and to the left. Both the overlay pdf and the print data are 8.5 by 11. 
> I was using 0.7.3 but switched to 0.7.4-dev-20070628, but it is still 
> happening. Has anyone else experienced this issue and have you discovered a 
> work around or fix? 
> With the sample files, I'm only trying to overlay the first page of 
> overlay.pdf with the first page of the print file.
>  
> code looks something like this: 
> newOverlay = PDDocument.new 
> newOverlay.importPage(overlayPdf.page(0)) 
> overlayer = Overlay.new 
> overlayer.overlay(newDocument,newOverlay) 
> @pdf.importPage(newOverlay.getDocumentCatalog().getAllPages()[0]) 
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1745009&file_id=234976
> Archive.zip (application/zip), 86002 bytes
> elec_new.pdf is the overlay, print file, and my attempt to combine them.
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1745009&file_id=234975
> Archive.zip (application/zip), 86002 bytes
> elec_new.pdf is the overlay, print file, and my attempt to combine them.
> [comment on SourceForge]
> Originally sent by jakep36.
> Logged In: YES 
> user_id=1768812
> Originator: YES
> File Added: Archive.zip
> [comment on SourceForge]
> Originally sent by jakep36.
> Logged In: YES 
> user_id=1768812
> Originator: YES
> File Added: Archive.zip
> [comment on SourceForge]
> Originally sent by benlitchfield.
> Logged In: YES 
> user_id=601708
> Originator: NO
> see issue_1745009.zip



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to