From users-return-11658-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Fri Apr 12 15:23:36 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6262C180621 for ; Fri, 12 Apr 2019 17:23:36 +0200 (CEST) Received: (qmail 14462 invoked by uid 500); 12 Apr 2019 15:23:35 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 14450 invoked by uid 99); 12 Apr 2019 15:23:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2019 15:23:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0DD44C8566 for ; Fri, 12 Apr 2019 15:23:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.541 X-Spam-Level: * X-Spam-Status: No, score=1.541 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.258, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id MKVC5CxmiAZn for ; Fri, 12 Apr 2019 15:23:33 +0000 (UTC) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E76235FC1C for ; Fri, 12 Apr 2019 15:23:32 +0000 (UTC) Received: by mail-lj1-f194.google.com with SMTP id k8so9218667lja.8 for ; Fri, 12 Apr 2019 08:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=EgBMcPgWLUDxMN4cWKor4GtyGhmWcF3Q0FNZ2DJHU/c=; b=P5Gr4UqD1Lk8krEPJEPVVYQgsQtx5+BBtWotnaRfgrSqT+YtnYS51TeHQnnbuodOC5 5rYR4mznNUTkzKEuvPqqushwoclIknRwqGCidQ3EdG7EJ85RdflhFm7J+clnxty2qoR3 /ehL49o0qxb1F2o8B3ir6VlYOd7N3EQ3qt8IH78I6+l2T5ITnidO3dRGHVmtFNLJFwy3 PilR4g/W9Z7ig7SNnIyrEYrcnbE2PWq6YUoVeAx0rXcFEZwAa2kQAgaIawK1JLzWLVvW 9rcTnGrteTfA5HmAGX5mpoA3JKIK65bXOqakL5WQMCuqv7wkmMxAlo8JG9kdZiy/4+7J SKuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=EgBMcPgWLUDxMN4cWKor4GtyGhmWcF3Q0FNZ2DJHU/c=; b=GGjOFWb5wfl4Mi3mOD3+VlGAu33bDjFutwaoJ3OG6hvfBY3SwvVXRh3MqXLy7TJLLi N5gO7/G2j91yj2oPKUaIGOAd0MUTuPPjmIJJpkvrYetBo5O4XjWAJVBztFXr71qqDUpx 29juOMoxYOwfbHQPHn3BxUb7q7n3M2EWUzQXSQJyitjMTH/h3V4HcqjrsNOyJSIDxeVa N939mxOYh0080tOpRrrRT62A6GlbOUOEenac4nQDfjkd//6xJ5XM3vqImixLcuvAaCcQ YVhI2oIfmuXPI+LXoBf0s0VVcPn3U4LWJAiba5Xy0bQ9hxtliLB9sU/DrB5E17xqSYi3 Jpqg== X-Gm-Message-State: APjAAAXhE7bUEgq4fu0DsgB0h/hd5K/BMIx8oHJAiIbFnJz4T4hmBFlH a3eloX7RHpj6DEuiYVW6/2mCt1bGOcGaWsrDCxZvaQ== X-Google-Smtp-Source: APXvYqw1+WwZJnAjGEMuKXeksHCLPt6clRpp5VvFlZ+Tp204XEYq+o1uKMZ8v6bP0nWAXD/izArrhRUYo6FUIgGwKb0= X-Received: by 2002:a2e:9c0a:: with SMTP id s10mr11682964lji.162.1555082611492; Fri, 12 Apr 2019 08:23:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Constantine Dokolas Date: Fri, 12 Apr 2019 18:23:19 +0300 Message-ID: Subject: Re: Page tree conformance To: users@pdfbox.apache.org Content-Type: multipart/mixed; boundary="000000000000a7b59a058656e2cf" --000000000000a7b59a058656e2cf Content-Type: multipart/alternative; boundary="000000000000a7b598058656e2cd" --000000000000a7b598058656e2cd Content-Type: text/plain; charset="UTF-8" Just for reference, attached is a sample file that exhibits said behavior. -- There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them! - Richard P. Feynman On Thu, 11 Apr 2019 at 19:38, Tilman Hausherr wrote: > Sounds like an Adobe bug. You should submit it to them. > > Tilman > > On 2019/04/11 10:17:49, Constantine Dokolas wrote: > > I have created a PDF file with PDFBox having the property that one page > is > > duplicated by reference in the "pages" object so that is looks like this: > > > > 2 0 obj > > << > > /Type /Pages > > /Kids [3 0 R 4 0 R 5 0 R 6 0 R 7 0 R 6 0 R] > > /Count 6 > > >> > > endobj > > > > Notice that the "6 0 R" appears twice. > > > > It seems that this causes a problem with Acrobat Reader DC > > (v.2019.10.20098) so that the page's second instance is not rendered. > > PDF-XChange Editor has no problem rendering the page, Foxit Reader > > (v.8.3.2.25013) has no problem, all browsers are fine with it (Firefox, > > Chrome, Edge, Brave) and PDFBox debugger shows everything correctly. > > > > iText RUPS (v.5.5.8) gives an "Illegal pages tree" error. > > > > I looked at the spec (1.7, section 7.7.3) but couldn't find a limitation > in > > the pages tree structure. Does anyone have an idea of what's happening > here? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org > > --000000000000a7b598058656e2cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just for reference, attached is a sample file that ex= hibits said behavior.

--
The= re is a computer disease that anybody who works with computers knows about.= It's a very serious disease and it interferes completely with the work= . The trouble with computers is that you 'play' with them!
- Ric= hard P. Feynman


<= div dir=3D"ltr" class=3D"gmail_attr">On Thu, 11 Apr 2019 at 19:38, Tilman H= ausherr <tilman@apache.org> = wrote:
Sounds li= ke an Adobe bug. You should submit it to them.

Tilman

On 2019/04/11 10:17:49, Constantine Dokolas <cdokolas@gmail.com> wrote:
> I have created a PDF file with PDFBox having the property that one pag= e is
> duplicated by reference in the "pages" object so that is loo= ks like this:
>
> 2 0 obj
> <<
> /Type /Pages
> /Kids [3 0 R 4 0 R 5 0 R 6 0 R 7 0 R 6 0 R]
> /Count 6
> >>
> endobj
>
> Notice that the "6 0 R" appears twice.
>
> It seems that this causes a problem with Acrobat Reader DC
> (v.2019.10.20098) so that the page's second instance is not render= ed.
> PDF-XChange Editor has no problem rendering the page, Foxit Reader
> (v.8.3.2.25013) has no problem, all browsers are fine with it (Firefox= ,
> Chrome, Edge, Brave) and PDFBox debugger shows everything correctly. >
> iText RUPS (v.5.5.8) gives an "Illegal pages tree" error. >
> I looked at the spec (1.7, section 7.7.3) but couldn't find a limi= tation in
> the pages tree structure. Does anyone have an idea of what's happe= ning here?


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

--000000000000a7b598058656e2cd-- --000000000000a7b59a058656e2cf Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org --000000000000a7b59a058656e2cf--