[ 
https://issues.apache.org/jira/browse/PDFBOX-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136942#comment-13136942
 ] 

MH commented on PDFBOX-32:
--------------------------

Same here with latest PDFBox 1.6.0. I use the simple demo code in Overlay.java:

final PDDocument overlay = PDDocument.load(overlayPDFName);
            if (overlay != null) {
                try {
                    final Overlay overlayer = new Overlay();
                    overlayer.overlay(overlay, doc);
                } finally {
                    overlay.close();
                }
            }//else: overlay unavailable

but for several overlay PDFs, the resulting PDF doesn't show anything (white 
pages) ar just some crippled content. (I will attach a demo overlay.pdf that 
shows flawlessly in misc PDF viewers,)

                
> Overlay produces bad pdf
> ------------------------
>
>                 Key: PDFBOX-32
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-32
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>         Attachments: Kopie.pdf, header.pdf, letter.pdf, overlayh-l.pdf, 
> overlayl-h.pdf
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1087993
> Originally submitted by benlitchfield on 2004-12-19 09:25.
> A bad PDF is generated when using overlay class
> See zig.pdf and zigheader.pdf
> Ben

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to