Return-Path: Delivered-To: apmail-pdfbox-dev-archive@www.apache.org Received: (qmail 87824 invoked from network); 1 Feb 2010 16:05:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 16:05:19 -0000 Received: (qmail 71194 invoked by uid 500); 1 Feb 2010 16:05:18 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 71177 invoked by uid 500); 1 Feb 2010 16:05:18 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 71140 invoked by uid 99); 1 Feb 2010 16:05:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 16:05:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 16:05:17 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6AE3F29A0011 for ; Mon, 1 Feb 2010 08:04:57 -0800 (PST) Message-ID: <747886744.421265040297418.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Feb 2010 16:04:57 +0000 (UTC) From: "Erik Scholtz (JIRA)" To: dev@pdfbox.apache.org Subject: [jira] Updated: (PDFBOX-32) Overlay produces bad pdf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Scholtz updated PDFBOX-32: ------------------------------- Attachment: overlayh-l.pdf letter.pdf header.pdf Ok; the files mentioned in this issue can neither be found here, nor on sourceforge. I made a little test, overlaying the header.pdf with letter.pdf and a second test overlaying letter.pdf with header.pdf. ------Code------ Overlay head = new Overlay(); PDDocument resulthl = head.overlay(header, letter); PDDocument resultlh = head.overlay(letter, header); resulthl.save("overlayh-l.pdf"); resultlh.save("overlayl-h.pdf"); ------/Code------ The result in the overlayl-h.pdf is, what I expected it to be; the result of overlayh-l.pdf is not what I expected it to be, but understandable. I'm not sure if this is the default-behaviour or really a bug. Perhaps someone can take a look on it and revalidate my result. To me this bug is "Not a Bug". > Overlay produces bad pdf > ------------------------ > > Key: PDFBOX-32 > URL: https://issues.apache.org/jira/browse/PDFBOX-32 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Attachments: header.pdf, letter.pdf, overlayh-l.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. - You can reply to this email to add a comment to the issue online.