Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 49795 invoked from network); 21 Jun 2010 12:41:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jun 2010 12:41:41 -0000 Received: (qmail 83761 invoked by uid 500); 21 Jun 2010 12:41:41 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 83617 invoked by uid 500); 21 Jun 2010 12:41:39 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 83590 invoked by uid 99); 21 Jun 2010 12:41:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 12:41:38 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.239.215.103] (HELO tux17.hoststar.ch) (213.239.215.103) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 12:41:31 +0000 Received: from [192.168.0.33] (194-230-63-144.static.adslpremium.ch [194.230.63.144]) (authenticated bits=0) by tux17.hoststar.ch (8.13.6/8.12.11) with ESMTP id o5LCfBVn031918 for ; Mon, 21 Jun 2010 14:41:12 +0200 Date: Mon, 21 Jun 2010 14:41:10 +0200 From: Jeremias Maerki To: dev@forrest.apache.org Subject: Re: stop re-generating PDF documents on Forrest website In-Reply-To: References: <20100621114238.GC9189@igg.local> Message-Id: <20100621141348.5E25.60BA733C@jeremias-maerki.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.50.02 [en] Right here! ;-) If I've got it right, there are two problems: 1. The creation date in the metadata defaults to the current date and time so that's different with each run. 2. The file ID in the PDF trailer is also dependent on the current date and time. N=B0 1 should be solveable by explicitely setting some creation date in an XMP metadata packet in the fo:declarations element. For example: A Forrest document Apache Forrest 2010-06-21T14:20:00+02:00 2010-06-21T14:20:00+02:00 See also http://xmlgraphics.apache.org/fop/0.95/metadata.html However, taking a short look, it looks like the metadata date is currently always set to the current date and time. So we'd have to change FOP to allow overriding the metadata date. N=B0 2 is only solveable by introducing a configuration setting that disables the creation of the file ID in the PDF trailer. Standard like PDF/A and PDF/X require the presence of the file ID. But in this case, it is unwanted, of course. I've created a Bugzilla issue for FOP with this: https://issues.apache.org/bugzilla/show_bug.cgi?id=3D49479 I can't promise that I can look into this very soon. On 21.06.2010 13:50:31 Tim Williams wrote: > On Mon, Jun 21, 2010 at 7:42 AM, David Crossley wro= te: > > Done this now. See issue > > https://issues.apache.org/jira/browse/FOR-1200 >=20 > This is good, as it fixes the symptoms, but we've got to find someone > with pdf expertise to fix the underlying issue FOR-1077 as it's > probably a blocker in our current state. I reckon I'm only stating > the obvious though:) >=20 > --tim Jeremias Maerki