[gs-cvs] rev 9359 - trunk/gs/base
ken at ghostscript.com
ken at ghostscript.com
Thu Jan 15 01:16:00 PST 2009
Author: ken
Date: 2009-01-15 01:16:00 -0800 (Thu, 15 Jan 2009)
New Revision: 9359
Modified:
trunk/gs/base/gdevpdfe.c
Log:
Fix (pdfwrite)
Details:
revision 9346 sets the about member of the XMP metadata to empty ("") unconditionally, this should only be done when writing PDF/A files.
Expected Differences
None
Modified: trunk/gs/base/gdevpdfe.c
===================================================================
--- trunk/gs/base/gdevpdfe.c 2009-01-15 07:52:13 UTC (rev 9358)
+++ trunk/gs/base/gdevpdfe.c 2009-01-15 09:16:00 UTC (rev 9359)
@@ -488,7 +488,9 @@
if (code < 0)
return code;
- instance_uuid[0] = 0x00;
+ /* PDF/A XMP reference recommends setting UUID to empty. If not empty must be a URI */
+ if (pdev->PDFA)
+ instance_uuid[0] = 0x00;
cre_date_time_len = pdf_get_docinfo_item(pdev, "/CreationDate", cre_date_time, sizeof(cre_date_time));
if (!cre_date_time_len)
More information about the gs-cvs
mailing list