[latex3-commits] [git/LaTeX3-latex3-pdfresources] testxmp: no-metadata test (027f6c9)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Sep 10 15:38:52 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : testxmp
Link       : https://github.com/latex3/pdfresources/commit/027f6c9ed96a0082e88750f5190855f8fdbdd03e

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

commit 027f6c9ed96a0082e88750f5190855f8fdbdd03e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Sep 10 15:38:52 2022 +0200

    no-metadata test


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

027f6c9ed96a0082e88750f5190855f8fdbdd03e
 .../no-metadata.pvt                                |  17 +--
 .../no-metadata.tpf                                | 126 +++++++++++----------
 testfiles/metadata-new.pvt                         |   2 +-
 3 files changed, 69 insertions(+), 76 deletions(-)

diff --git a/testfiles/metadata-new.pvt b/testfiles-pdftex/no-metadata.pvt
similarity index 84%
copy from testfiles/metadata-new.pvt
copy to testfiles-pdftex/no-metadata.pvt
index 960da38..d740b06 100644
--- a/testfiles/metadata-new.pvt
+++ b/testfiles-pdftex/no-metadata.pvt
@@ -1,19 +1,12 @@
-% !Mode:: "TeX:UTF-8:Main:DTX"
+% !Mode:: "TeX:UTF-8:Main"
 %
 \DocumentMetadata
  {
-   pdfstandard=a-2b,
-   pdfstandard=X-4,
-   pdfstandard=ua-1,
-}
+   xmp=false
+ }
 \input{regression-test}
 \documentclass{article}
 \usepackage{hyperref}
-\usepackage[
-type={CC},
-modifier={by-sa},
-version={4.0},
-]{doclicense}
 
 \hypersetup{%
 pdftitle={%
@@ -58,9 +51,5 @@ pdfidentifier={info:lccn/50013519}
 }
 \begin{document}
 
-\ExplSyntaxOn
-\exp_args:Nx\pdfmeta_xmp_add:n {<abc>\iow_newline:</abc>}
-\ShowDocumentProperties
-\ExplSyntaxOff
 blub
 \end{document}
diff --git a/testfiles-noxetex/colorspace.pdftex.tpf b/testfiles-pdftex/no-metadata.tpf
similarity index 59%
copy from testfiles-noxetex/colorspace.pdftex.tpf
copy to testfiles-pdftex/no-metadata.tpf
index 2806ef0..67af3dd 100644
--- a/testfiles-noxetex/colorspace.pdftex.tpf
+++ b/testfiles-pdftex/no-metadata.tpf
@@ -1,45 +1,38 @@
 %PDF-1.5
 %ÐÔÅØ
-5 0 obj
-[ /Separation /HKS#2044#20K /DeviceCMYK << /FunctionType 2 /Domain [0 1] /C0 [0 0 0 0] /C1 [1 0.5 0 0] /N 1 >> ]
-endobj
-6 0 obj
-[ /Separation /BarTone#20555#20GN /DeviceCMYK << /FunctionType 2 /Domain [0 1] /C0 [0 0 0 0] /C1 [0.8 0.2 0.5 0.3] /N 1 >> ]
-endobj
-9 0 obj
+7 0 obj
 <<
-/Length 308       
+/Length 91        
 >>
 stream
 /opacity1 gs
-0 g 0 G
-0 g 0 G
-0 g 0 G
-/&HKS#2044#20K cs /&HKS#2044#20K CS 1 sc 1 SC
 BT
-/F20 9.9626 Tf 148.712 657.235 Td [(ab)-28(c)]TJ
-/&BarTone#20555#20GN cs /&BarTone#20555#20GN CS 1 sc 1 SC
- [-333(cde)]TJ
-1 0 0 rg 1 0 0 RG
- 0 -11.955 Td [(red)]TJ
-0 g 0 G
- 154.421 -555.915 Td [(1)]TJ
-1 0 0 rg 1 0 0 RG
+/F20 9.9626 Tf 148.712 707.125 Td [(blub)]TJ 154.421 -567.87 Td [(1)]TJ
 ET
 endstream
 endobj
-8 0 obj
+5 0 obj
 <<
 /Type /Page
-/Contents 9 0 R
-/Resources 7 0 R
-/MediaBox [0 0 612 792]
+/Contents 7 0 R
+/Resources 6 0 R
+/MediaBox [0 0 595.276 841.89]
 /Parent 11 0 R
 >>
 endobj
-7 0 obj
+8 0 obj
+<<
+/D [5 0 R /XYZ 132.768 754.95 null]
+>>
+endobj
+9 0 obj
 <<
-/ExtGState 1 0 R /ColorSpace 2 0 R 
+/D [5 0 R /XYZ 133.768 717.088 null]
+>>
+endobj
+6 0 obj
+<<
+/ExtGState 1 0 R 
 /Font << /F20 10 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
@@ -47,25 +40,22 @@ endobj
 1 0 obj
 << /opacity1 <</ca 1/CA 1>>  >>
 endobj
-2 0 obj
-<< /pgfprgb [/Pattern /DeviceRGB] /&HKS#2044#20K 5 0 R /&BarTone#20555#20GN 6 0 R  >>
-endobj
 12 0 obj
-[500 500 500 500 500 500 500 500 500 277.8 277.8 277.8 777.8 472.2 472.2 777.8 750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750 611.1 277.8 500 277.8 500 277.8 277.8 500 555.6 444.4 555.6 444.4 305.6 500 555.6 277.8 305.6 527.8 277.8 833.3 555.6 500 555.6 527.8 391.7]
+[500 500 500 500 500 500 500 500 500 277.8 277.8 277.8 777.8 472.2 472.2 777.8 750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750 611.1 277.8 500 277.8 500 277.8 277.8 500 555.6 444.4 555.6 444.4 305.6 500 555.6 277.8 305.6 527.8 277.8 833.3 555.6 500 555.6 527.8 391.7 394.4 388.9 555.6]
 endobj
 13 0 obj
 <<
-/Length1 1452
-/Length2 8765
+/Length1 1409
+/Length2 8171
 /Length3 0
-/Length 10217     
+/Length 9580      
 >>
 [BINARY STREAM]
 endobj
 14 0 obj
 <<
 /Type /FontDescriptor
-/FontName /KMPUYV+CMR10
+/FontName /MIKGCD+CMR10
 /Flags 4
 /FontBBox [-40 -250 1009 750]
 /Ascent 694
@@ -74,7 +64,7 @@ endobj
 /ItalicAngle 0
 /StemV 69
 /XHeight 431
-/CharSet (/a/b/c/d/e/one/r)
+/CharSet (/b/l/one/u)
 /FontFile 13 0 R
 >>
 endobj
@@ -204,10 +194,10 @@ endobj
 <<
 /Type /Font
 /Subtype /Type1
-/BaseFont /KMPUYV+CMR10
+/BaseFont /MIKGCD+CMR10
 /FontDescriptor 14 0 R
 /FirstChar 49
-/LastChar 114
+/LastChar 117
 /Widths 12 0 R
 /ToUnicode 15 0 R
 >>
@@ -216,47 +206,61 @@ endobj
 <<
 /Type /Pages
 /Count 1
-/Kids [8 0 R]
+/Kids [5 0 R]
 >>
 endobj
 16 0 obj
 <<
+/Names [(Doc-Start) 9 0 R (page.1) 8 0 R]
+/Limits [(Doc-Start) (page.1)]
+>>
+endobj
+17 0 obj
+<<
+/Dests 16 0 R
+>>
+endobj
+18 0 obj
+<<
 /Type /Catalog
 /Pages 11 0 R
-/Lang (en-US)
+/Names 17 0 R
+/Lang (en)/PageMode /UseOutlines/OpenAction [5 0 R /Fit]/PageLabels <</Nums[0<</S/D>>]>>
 >>
 endobj
-17 0 obj
+19 0 obj
 <<
-/Creator (TeX)/Producer (pdfTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')
+/Producer (pdfTeX)/Creator <FEFF004C006100540065005800200077006900740068002000680079007000650072007200650066>/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')/Title <FEFF004F006E002000610020006800650075007200690073007400690063002000760069006500770070006F0069006E007400200063006F006E006300650072006E0069006E00670020007400680065002000700072006F00640075006300740069006F006E00200061006E00640020007400720061006E00730066006F0072006D006100740069006F006E0020006F00660020006C0069006700680074>/Author <FEFF004A006F0068006E0020004200610072002C004D00610072006900610020004200610072002C00200041002C0042002C0043002C0020004400750063006B0026004200E400720020003C003E>/Subject <FEFF00700068006F0074006F0065006C0065006300740072006900630020006500660066006500630074>/Keywords <FEFF0065006E00650072006700790020007100750061006E00740061002C00200048006500720074007A0020006500660066006500630074002C0020007100750061006E00740075006D00200070006800790073006900630073>
 /Trapped /False
 >>
 endobj
 xref
-0 18
-0000000003 65535 f 
-0000000859 00000 n 
-0000000906 00000 n 
+0 20
+0000000002 65535 f 
+0000000478 00000 n 
+0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
+0000000164 00000 n 
+0000000391 00000 n 
 0000000015 00000 n 
-0000000143 00000 n 
-0000000754 00000 n 
-0000000649 00000 n 
-0000000283 00000 n 
-0000013707 00000 n 
-0000013865 00000 n 
-0000001007 00000 n 
-0000001378 00000 n 
-0000011693 00000 n 
-0000011924 00000 n 
-0000013923 00000 n 
-0000013988 00000 n 
+0000000276 00000 n 
+0000000333 00000 n 
+0000012600 00000 n 
+0000012758 00000 n 
+0000000525 00000 n 
+0000000914 00000 n 
+0000010592 00000 n 
+0000010817 00000 n 
+0000012816 00000 n 
+0000012911 00000 n 
+0000012947 00000 n 
+0000013101 00000 n 
 trailer
-<< /Size 18
-/Root 16 0 R
-/Info 17 0 R
+<< /Size 20
+/Root 18 0 R
+/Info 19 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-14132
+14100
 %%EOF
diff --git a/testfiles/metadata-new.pvt b/testfiles/metadata-new.pvt
index 960da38..e8b087a 100644
--- a/testfiles/metadata-new.pvt
+++ b/testfiles/metadata-new.pvt
@@ -1,4 +1,4 @@
-% !Mode:: "TeX:UTF-8:Main:DTX"
+% !Mode:: "TeX:UTF-8:Main"
 %
 \DocumentMetadata
  {





More information about the latex3-commits mailing list.