[latex3-commits] [git/LaTeX3-latex3-pdfresources] main: fighting with hyperxmp about epoch setting (dbee179)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Feb 19 18:08:44 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : main
Link       : https://github.com/latex3/pdfresources/commit/dbee17946f2d12f0d0cceccba0f3e8ca56e3bd94

>---------------------------------------------------------------

commit dbee17946f2d12f0d0cceccba0f3e8ca56e3bd94
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Feb 19 18:08:44 2021 +0100

    fighting with hyperxmp about epoch setting


>---------------------------------------------------------------

dbee17946f2d12f0d0cceccba0f3e8ca56e3bd94
 testfiles/pdfa2b-test.luatex.tpf | 38 ++++++++++++++++-----------------
 testfiles/pdfa2b-test.pvt        |  8 +++++++
 testfiles/pdfa2b-test.tpf        | 46 ++++++++++++++++++++--------------------
 testfiles/pdfa2b-test.xetex.tpf  | 46 ++++++++++++++++++++--------------------
 4 files changed, 73 insertions(+), 65 deletions(-)

diff --git a/testfiles/pdfa2b-test.luatex.tpf b/testfiles/pdfa2b-test.luatex.tpf
index 3728b28..3e9d440 100644
--- a/testfiles/pdfa2b-test.luatex.tpf
+++ b/testfiles/pdfa2b-test.luatex.tpf
@@ -36,7 +36,7 @@ endobj
 << /ExtGState 1 0 R /Font << /F23 12 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
 14 0 obj
-<< /Type /Metadata /Subtype /XML /Length 16535 >>      
+<< /Type /Metadata /Subtype /XML /Length 16451 >>      
 stream
 <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
 <x:xmpmeta xmlns:x="adobe:ns:meta/">
@@ -251,7 +251,7 @@ stream
       </dc:description>
       <dc:date>
         <rdf:Seq>
-          <rdf:li>2016-05-20T11:00:00+02:00</rdf:li>
+          <rdf:li>2010</rdf:li>
         </rdf:Seq>
       </dc:date>
       <dc:creator>
@@ -264,9 +264,9 @@ stream
           <rdf:li>de-DE</rdf:li>
         </rdf:Bag>
       </dc:language>
-      <xmp:CreateDate>2016-05-20T11:00:00+02:00</xmp:CreateDate>
-      <xmp:ModifyDate>2016-05-20T11:00:00+02:00</xmp:ModifyDate>
-      <xmp:MetadataDate>2016-05-20T11:00:00+02:00</xmp:MetadataDate>
+      <xmp:CreateDate>2010</xmp:CreateDate>
+      <xmp:ModifyDate>2010</xmp:ModifyDate>
+      <xmp:MetadataDate>2010</xmp:MetadataDate>
       <xmp:CreatorTool>LaTeX with hyperref</xmp:CreatorTool>
       <pdfaid:part>2</pdfaid:part>
       <pdfaid:conformance>B</pdfaid:conformance>
@@ -384,22 +384,22 @@ xref
 0000003630 00000 n 
 0000003953 00000 n 
 0000004013 00000 n 
-0000023015 00000 n 
-0000023369 00000 n 
+0000022931 00000 n 
+0000023285 00000 n 
 0000004160 00000 n 
-0000020785 00000 n 
-0000020811 00000 n 
-0000021985 00000 n 
-0000020875 00000 n 
-0000020946 00000 n 
-0000022221 00000 n 
-0000023169 00000 n 
-0000023430 00000 n 
-0000023531 00000 n 
-0000023567 00000 n 
-0000023761 00000 n 
+0000020701 00000 n 
+0000020727 00000 n 
+0000021901 00000 n 
+0000020791 00000 n 
+0000020862 00000 n 
+0000022137 00000 n 
+0000023085 00000 n 
+0000023346 00000 n 
+0000023447 00000 n 
+0000023483 00000 n 
+0000023677 00000 n 
 trailer
 << /Size 26 /Root 24 0 R /Info 25 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
 startxref
-24147
+24063
 %%EOF
diff --git a/testfiles/pdfa2b-test.pvt b/testfiles/pdfa2b-test.pvt
index 6c570da..5dd04ca 100644
--- a/testfiles/pdfa2b-test.pvt
+++ b/testfiles/pdfa2b-test.pvt
@@ -18,6 +18,14 @@
    pdftitle={A test of metadata},
    }
    
+\makeatletter
+ \edef\@pdfcreationdate{2010}%
+ \edef\@pdfmoddate{2010}%
+ \edef\@pdfmetadatetime{2010}%
+ \edef\@pdfdatetime{2010}
+ \def\@pdfinstanceid{A7935FF1A79C17318A92F92904464C1C}
+\makeatother   
+
 \begin{document}
 abc
 \end{document} 
\ No newline at end of file
diff --git a/testfiles/pdfa2b-test.tpf b/testfiles/pdfa2b-test.tpf
index 3acde69..7fdd901 100644
--- a/testfiles/pdfa2b-test.tpf
+++ b/testfiles/pdfa2b-test.tpf
@@ -13,7 +13,7 @@ endobj
 8 0 obj
 <<
 /Type /Metadata /Subtype /XML
-/Length 15949     
+/Length 15885     
 >>
 stream
 <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
@@ -229,7 +229,7 @@ stream
       </dc:description>
       <dc:date>
         <rdf:Seq>
-          <rdf:li>2016-05-20T09:00:00Z</rdf:li>
+          <rdf:li>2010</rdf:li>
         </rdf:Seq>
       </dc:date>
       <dc:creator>
@@ -242,9 +242,9 @@ stream
           <rdf:li>de-DE</rdf:li>
         </rdf:Bag>
       </dc:language>
-      <xmp:CreateDate>2016-05-20T09:00:00Z</xmp:CreateDate>
-      <xmp:ModifyDate>2016-05-20T09:00:00Z</xmp:ModifyDate>
-      <xmp:MetadataDate>2016-05-20T09:00:00Z</xmp:MetadataDate>
+      <xmp:CreateDate>2010</xmp:CreateDate>
+      <xmp:ModifyDate>2010</xmp:ModifyDate>
+      <xmp:MetadataDate>2010</xmp:MetadataDate>
       <xmp:CreatorTool>LaTeX with hyperref</xmp:CreatorTool>
       <pdfaid:part>2</pdfaid:part>
       <pdfaid:conformance>B</pdfaid:conformance>
@@ -501,34 +501,34 @@ endobj
 xref
 0 24
 0000000002 65535 f 
-0000019614 00000 n 
+0000019550 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000019841 00000 n 
+0000019777 00000 n 
 0000000015 00000 n 
 0000003346 00000 n 
 0000003577 00000 n 
-0000020071 00000 n 
-0000019661 00000 n 
-0000019954 00000 n 
-0000020012 00000 n 
-0000031783 00000 n 
-0000031940 00000 n 
-0000020158 00000 n 
-0000020184 00000 n 
-0000020469 00000 n 
-0000029775 00000 n 
-0000030000 00000 n 
-0000031998 00000 n 
-0000032095 00000 n 
-0000032131 00000 n 
-0000032324 00000 n 
+0000020007 00000 n 
+0000019597 00000 n 
+0000019890 00000 n 
+0000019948 00000 n 
+0000031719 00000 n 
+0000031876 00000 n 
+0000020094 00000 n 
+0000020120 00000 n 
+0000020405 00000 n 
+0000029711 00000 n 
+0000029936 00000 n 
+0000031934 00000 n 
+0000032031 00000 n 
+0000032067 00000 n 
+0000032260 00000 n 
 trailer
 << /Size 24
 /Root 22 0 R
 /Info 23 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-32710
+32646
 %%EOF
diff --git a/testfiles/pdfa2b-test.xetex.tpf b/testfiles/pdfa2b-test.xetex.tpf
index 0010393..cef09b1 100644
--- a/testfiles/pdfa2b-test.xetex.tpf
+++ b/testfiles/pdfa2b-test.xetex.tpf
@@ -20,7 +20,7 @@ endobj
 <</Type/OutputIntent/S/GTS_PDFA1/DestOutputProfile 5 0 R/OutputConditionIdentifier(IEC sRGB)/Info(IEC 61966-2.1 Default RGB colour space - sRGB)/RegistryName(http://www.iec.ch)>>
 endobj
 10 0 obj
-<</Type/Metadata/Subtype/XML/Length 15905>>
+<</Type/Metadata/Subtype/XML/Length 15842>>
 stream
 <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
 <x:xmpmeta xmlns:x="adobe:ns:meta/">
@@ -234,7 +234,7 @@ stream
       </dc:description>
       <dc:date>
         <rdf:Seq>
-          <rdf:li>2021-02-19T14:11:09Z</rdf:li>
+          <rdf:li>2010</rdf:li>
         </rdf:Seq>
       </dc:date>
       <dc:creator>
@@ -247,14 +247,14 @@ stream
           <rdf:li>de-DE</rdf:li>
         </rdf:Bag>
       </dc:language>
-      <xmp:CreateDate>2021-02-19T14:11:09</xmp:CreateDate>
-      <xmp:ModifyDate>2021-02-19T14:11:09Z</xmp:ModifyDate>
-      <xmp:MetadataDate>2021-02-19T14:11:09Z</xmp:MetadataDate>
+      <xmp:CreateDate>2010</xmp:CreateDate>
+      <xmp:ModifyDate>2010</xmp:ModifyDate>
+      <xmp:MetadataDate>2010</xmp:MetadataDate>
       <xmp:CreatorTool>LaTeX with hyperref</xmp:CreatorTool>
       <pdfaid:part>2</pdfaid:part>
       <pdfaid:conformance>B</pdfaid:conformance>
       <xmpMM:DocumentID>uuid:fdc9546c-9bb6-426c-a41d-c41395fd1dc9</xmpMM:DocumentID>
-      <xmpMM:InstanceID>uuid:6759054c-9b6c-4ea3-b900-541dc905fd7f</xmpMM:InstanceID>
+      <xmpMM:InstanceID>uuid:95f75413-e413-4333-9bbb-b6c90aefd7fd</xmpMM:InstanceID>
       <prism:complianceProfile>three</prism:complianceProfile>
       <prism:pageCount>1</prism:pageCount>
       <xmpTPg:NPages>1</xmpTPg:NPages>
@@ -347,31 +347,31 @@ endobj
 xref
 0 23
 0000000000 65535 f 
-0000020585 00000 n 
-0000020224 00000 n 
-0000020066 00000 n 
+0000020522 00000 n 
+0000020161 00000 n 
+0000020003 00000 n 
 0000000313 00000 n 
 0000000356 00000 n 
-0000022777 00000 n 
-0000022327 00000 n 
+0000022714 00000 n 
+0000022264 00000 n 
 0000003678 00000 n 
-0000019855 00000 n 
+0000019792 00000 n 
 0000003872 00000 n 
 0000000015 00000 n 
 0000000218 00000 n 
-0000019938 00000 n 
-0000019985 00000 n 
-0000019878 00000 n 
-0000020032 00000 n 
-0000020144 00000 n 
-0000020766 00000 n 
-0000022516 00000 n 
-0000021214 00000 n 
-0000022220 00000 n 
-0000022267 00000 n 
+0000019875 00000 n 
+0000019922 00000 n 
+0000019815 00000 n 
+0000019969 00000 n 
+0000020081 00000 n 
+0000020703 00000 n 
+0000022453 00000 n 
+0000021151 00000 n 
+0000022157 00000 n 
+0000022204 00000 n 
 trailer
 <</ID[<ID-STRING><ID-STRING>]/Root
 1 0 R/Info 2 0 R/Size 23>>
 startxref
-22926
+22863
 %%EOF





More information about the latex3-commits mailing list.