[latex3-commits] [git/LaTeX3-latex3-pdfresources] verify: add testfiles, dvips need to be checked (ecc272a)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Feb 19 00:33:35 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : verify
Link       : https://github.com/latex3/pdfresources/commit/ecc272a6503cf4dfe0f303b30be916574bd8cb1f

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

commit ecc272a6503cf4dfe0f303b30be916574bd8cb1f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Feb 19 00:33:35 2021 +0100

    add testfiles, dvips need to be checked


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

ecc272a6503cf4dfe0f303b30be916574bd8cb1f
 testfiles-dvips/colorprofile-standard.pvt          |  15 +++
 testfiles-dvips/colorprofile-standard.tpf          | Bin 0 -> 2146 bytes
 testfiles-dvips/colorprofile1.pvt                  |  14 +++
 ...luatex.tpf => colorprofile-standard.luatex.tpf} | 101 +++++++++--------
 testfiles/colorprofile-standard.pvt                |  15 +++
 ...{ocproperties.tpf => colorprofile-standard.tpf} |  66 ++++++------
 ...s.xetex.tpf => colorprofile-standard.xetex.tpf} |  80 +++++++-------
 .../{annot.luatex.tpf => colorprofile1.luatex.tpf} | 106 ++++++++++--------
 testfiles/colorprofile1.pvt                        |  14 +++
 testfiles/{annot.tpf => colorprofile1.tpf}         | 119 ++++++++++++---------
 .../{annot.xetex.tpf => colorprofile1.xetex.tpf}   |  95 +++++++++-------
 11 files changed, 372 insertions(+), 253 deletions(-)

diff --git a/testfiles-dvips/colorprofile-standard.pvt b/testfiles-dvips/colorprofile-standard.pvt
new file mode 100644
index 0000000..d71c38b
--- /dev/null
+++ b/testfiles-dvips/colorprofile-standard.pvt
@@ -0,0 +1,15 @@
+\RequirePackage{pdfmanagement}
+\DeclareDocumentMetadata
+ {
+   colorprofiles=
+     {
+        X=sRGB.icc,
+        A=FOGRA39L_coated.icc,
+     },
+   pdfstandard=A-1b  
+ }
+\RequirePackage{pdfmanagement-regressiontest}
+\documentclass{article}
+\begin{document}
+xxyyzzww
+\end{document} 
\ No newline at end of file
diff --git a/testfiles-dvips/colorprofile-standard.tpf b/testfiles-dvips/colorprofile-standard.tpf
new file mode 100644
index 0000000..986c08b
Binary files /dev/null and b/testfiles-dvips/colorprofile-standard.tpf differ
diff --git a/testfiles-dvips/colorprofile1.pvt b/testfiles-dvips/colorprofile1.pvt
new file mode 100644
index 0000000..442629d
--- /dev/null
+++ b/testfiles-dvips/colorprofile1.pvt
@@ -0,0 +1,14 @@
+\RequirePackage{pdfmanagement}
+\DeclareDocumentMetadata
+ {
+   colorprofiles=
+     {
+        X=sRGB.icc,
+        A=FOGRA39L_coated.icc
+     },
+ }
+\RequirePackage{pdfmanagement-regressiontest}
+\documentclass{article}
+\begin{document}
+xxyyzzww
+\end{document} 
\ No newline at end of file
diff --git a/testfiles/annot.luatex.tpf b/testfiles/colorprofile-standard.luatex.tpf
similarity index 53%
copy from testfiles/annot.luatex.tpf
copy to testfiles/colorprofile-standard.luatex.tpf
index 5ecf8b8..7ff38bf 100644
--- a/testfiles/annot.luatex.tpf
+++ b/testfiles/colorprofile-standard.luatex.tpf
@@ -1,48 +1,55 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
+5 0 obj
+<< /N 4 /Length 121368 >>     
+[BINARY STREAM]
+endobj
+6 0 obj
+<< /Type /OutputIntent /S /GTS_PDFX /DestOutputProfile 5 0 R /OutputConditionIdentifier (FOGRA39L\040Coated) /Info (Offset\040printing,\040according\040to\040ISO\04012647-2:2004/Amd\0401,\040OFCOM,\040paper\040type\0401\040or\0402\040=\040coated\040art,\040115\040g/m2,\040tone\040value\040increase\040curves\040A\040\(CMY\)\040and\040B\040\(K\)) /RegistryName (http://www.fogra.org)  >>
+endobj
+7 0 obj
+<< /Type /OutputIntent /S /GTS_PDFA1 /DestOutputProfile 5 0 R /OutputConditionIdentifier (FOGRA39L\040Coated) /Info (Offset\040printing,\040according\040to\040ISO\04012647-2:2004/Amd\0401,\040OFCOM,\040paper\040type\0401\040or\0402\040=\040coated\040art,\040115\040g/m2,\040tone\040value\040increase\040curves\040A\040\(CMY\)\040and\040B\040\(K\)) /RegistryName (http://www.fogra.org)  >>
+endobj
 1 0 obj
 << /opacity1 <</ca 1/CA 1>>  >>
 endobj
-8 0 obj
-<< /Length 173 >>        
+10 0 obj
+<< /Length 165 >>        
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
 BT
 /F23 9.96264 Tf
-1 0 0 1 148.712 707.125 Tm [<0074007400740074007600760078007800720072>]TJ
+1 0 0 1 148.712 707.125 Tm [<00740074007600760078007800720072>]TJ
 1 0 0 1 303.133 139.255 Tm [<0052>]TJ
 ET
 endstream
 endobj
-7 0 obj
-<< /Type /Page /Contents 8 0 R /Resources 6 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 10 0 R /Annots 11 0 R >>
-endobj
-11 0 obj
-[ 5 0 R ]
+9 0 obj
+<< /Type /Page /Contents 10 0 R /Resources 8 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 12 0 R >>
 endobj
-5 0 obj
-<< /Type /Annot /Subtype/Widget/F 4/T(abc)/FT/Tx/Q 0/BS<</W 1 /S /S>>/MK<</BC[1 0 0]/BG[1 1 1]>>/DA(/Helv 10 Tf 0 0 0 rg)/DV()/V() /Rect [ 159.233 707.125 187.579 735.472 ] >>
+8 0 obj
+<< /ExtGState 1 0 R /Font << /F23 11 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
-6 0 obj
-<< /ExtGState 1 0 R /Font << /F23 9 0 R >> /ProcSet [ /PDF /Text ] >>
+13 0 obj
+[ 6 0 R 7 0 R ]
 endobj
-12 0 obj
+14 0 obj
 [ 82 [ 500 ] 114 [ 722 ] 116 [ 528 ] 118 [ 528 ] 120 [ 444 ] ]
 endobj
-14 0 obj
+16 0 obj
 << /Length 16 >>         
 [BINARY STREAM]
 endobj
-15 0 obj
+17 0 obj
 << /Subtype /CIDFontType0C /Length 1182 >>       
 [BINARY STREAM]
 endobj
-13 0 obj
-<< /Type /FontDescriptor /FontName /UPCXSX+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 15 0 R /CIDSet 14 0 R >>
+15 0 obj
+<< /Type /FontDescriptor /FontName /UPCXSX+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 17 0 R /CIDSet 16 0 R >>
 endobj
-16 0 obj
+18 0 obj
 << /Length 748 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
@@ -82,45 +89,47 @@ end
 %%EOF
 endstream
 endobj
-9 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /UPCXSX+LMRoman10-Regular /DescendantFonts [ 17 0 R ] /ToUnicode 16 0 R >>
+11 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /UPCXSX+LMRoman10-Regular /DescendantFonts [ 19 0 R ] /ToUnicode 18 0 R >>
 endobj
-17 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /UPCXSX+LMRoman10-Regular /FontDescriptor 13 0 R /W 12 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+19 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /UPCXSX+LMRoman10-Regular /FontDescriptor 15 0 R /W 14 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
 endobj
-10 0 obj
-<< /Type /Pages  /Count 1 /Kids [ 7 0 R ] >>
+12 0 obj
+<< /Type /Pages  /Count 1 /Kids [ 9 0 R ] >>
 endobj
-18 0 obj
-<< /Type /Catalog /Pages 10 0 R /Lang (en-US) >>
+20 0 obj
+<< /Type /Catalog /Pages 12 0 R /OutputIntents 13 0 R/Lang (en-US) >>
 endobj
-19 0 obj
+21 0 obj
 << /Creator (TeX)/Producer (LuaTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00') /Trapped /False >>
 endobj
 xref
-0 20
+0 22
 0000000002 65535 f 
-0000000020 00000 n 
+0000122259 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000000454 00000 n 
-0000000645 00000 n 
-0000000299 00000 n 
-0000000067 00000 n 
-0000003195 00000 n 
-0000003548 00000 n 
-0000000428 00000 n 
-0000000730 00000 n 
-0000002151 00000 n 
-0000000809 00000 n 
-0000000885 00000 n 
-0000002387 00000 n 
-0000003348 00000 n 
-0000003609 00000 n 
-0000003674 00000 n 
+0000000020 00000 n 
+0000121452 00000 n 
+0000121855 00000 n 
+0000122646 00000 n 
+0000122531 00000 n 
+0000122306 00000 n 
+0000125229 00000 n 
+0000125583 00000 n 
+0000122732 00000 n 
+0000122764 00000 n 
+0000124185 00000 n 
+0000122843 00000 n 
+0000122919 00000 n 
+0000124421 00000 n 
+0000125383 00000 n 
+0000125644 00000 n 
+0000125730 00000 n 
 trailer
-<< /Size 20 /Root 18 0 R /Info 19 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
+<< /Size 22 /Root 20 0 R /Info 21 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
 startxref
-3818
+125874
 %%EOF
diff --git a/testfiles/colorprofile-standard.pvt b/testfiles/colorprofile-standard.pvt
new file mode 100644
index 0000000..d71c38b
--- /dev/null
+++ b/testfiles/colorprofile-standard.pvt
@@ -0,0 +1,15 @@
+\RequirePackage{pdfmanagement}
+\DeclareDocumentMetadata
+ {
+   colorprofiles=
+     {
+        X=sRGB.icc,
+        A=FOGRA39L_coated.icc,
+     },
+   pdfstandard=A-1b  
+ }
+\RequirePackage{pdfmanagement-regressiontest}
+\documentclass{article}
+\begin{document}
+xxyyzzww
+\end{document} 
\ No newline at end of file
diff --git a/testfiles/ocproperties.tpf b/testfiles/colorprofile-standard.tpf
similarity index 68%
copy from testfiles/ocproperties.tpf
copy to testfiles/colorprofile-standard.tpf
index 038cb1e..5ac2231 100644
--- a/testfiles/ocproperties.tpf
+++ b/testfiles/colorprofile-standard.tpf
@@ -1,13 +1,17 @@
-%PDF-1.7
+%PDF-1.5
 %ÐÔÅØ
 5 0 obj
-<< /Type/OCG/Name(View)/Usage<</Print<</PrintState/OFF>>/View<</ViewState/ON>>>> >>
+<<
+/N 4
+/Length 121368    
+>>
+[BINARY STREAM]
 endobj
 6 0 obj
-<< /Type/OCG/Name(View)/Usage<</Print<</PrintState/ON>>/View<</ViewState/OFF>>>> >>
+<< /Type /OutputIntent /S /GTS_PDFX /DestOutputProfile 5 0 R /OutputConditionIdentifier (FOGRA39L\040Coated) /Info (Offset\040printing,\040according\040to\040ISO\04012647-2:2004/Amd\0401,\040OFCOM,\040paper\040type\0401\040or\0402\040=\040coated\040art,\040115\040g/m2,\040tone\040value\040increase\040curves\040A\040\(CMY\)\040and\040B\040\(K\)) /RegistryName (http://www.fogra.org)  >>
 endobj
 7 0 obj
-<< /OFF/Blabla >>
+<< /Type /OutputIntent /S /GTS_PDFA1 /DestOutputProfile 5 0 R /OutputConditionIdentifier (FOGRA39L\040Coated) /Info (Offset\040printing,\040according\040to\040ISO\04012647-2:2004/Amd\0401,\040OFCOM,\040paper\040type\0401\040or\0402\040=\040coated\040art,\040115\040g/m2,\040tone\040value\040increase\040curves\040A\040\(CMY\)\040and\040B\040\(K\)) /RegistryName (http://www.fogra.org)  >>
 endobj
 1 0 obj
 << /opacity1 <</ca 1/CA 1>>  >>
@@ -21,7 +25,7 @@ stream
 /opacity1 gs
 /opacity1 gs
 BT
-/F19 9.9626 Tf 148.712 707.125 Td [(ab)-28(c)]TJ 154.421 -567.87 Td [(1)]TJ
+/F19 9.9626 Tf 148.712 707.125 Td [(xxyyzzww)]TJ 154.421 -567.87 Td [(1)]TJ
 ET
 endstream
 endobj
@@ -42,24 +46,24 @@ endobj
 >>
 endobj
 13 0 obj
-<< /OCGs [5 0 R 6 0 R]/D 7 0 R >>
+[ 6 0 R 7 0 R ]
 endobj
 14 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]
+[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 527.8 722.2 527.8 527.8 444.4]
 endobj
 15 0 obj
 <<
-/Length1 1407
-/Length2 7801
+/Length1 1425
+/Length2 6945
 /Length3 0
-/Length 9208      
+/Length 8370      
 >>
 [BINARY STREAM]
 endobj
 16 0 obj
 <<
 /Type /FontDescriptor
-/FontName /EVYFYC+CMR10
+/FontName /NDDKHM+CMR10
 /Flags 4
 /FontBBox [-40 -250 1009 750]
 /Ascent 694
@@ -68,7 +72,7 @@ endobj
 /ItalicAngle 0
 /StemV 69
 /XHeight 431
-/CharSet (/a/b/c/one)
+/CharSet (/one/w/x/y/z)
 /FontFile 15 0 R
 >>
 endobj
@@ -198,10 +202,10 @@ endobj
 <<
 /Type /Font
 /Subtype /Type1
-/BaseFont /EVYFYC+CMR10
+/BaseFont /NDDKHM+CMR10
 /FontDescriptor 16 0 R
 /FirstChar 49
-/LastChar 99
+/LastChar 122
 /Widths 14 0 R
 /ToUnicode 17 0 R
 >>
@@ -217,7 +221,7 @@ endobj
 <<
 /Type /Catalog
 /Pages 12 0 R
-/OCProperties 13 0 R/Lang (de-DE)
+/OutputIntents 13 0 R/Lang (en-US)
 >>
 endobj
 19 0 obj
@@ -229,30 +233,30 @@ endobj
 xref
 0 20
 0000000002 65535 f 
-0000000246 00000 n 
+0000122253 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
 0000000015 00000 n 
-0000000114 00000 n 
-0000000213 00000 n 
-0000000586 00000 n 
-0000000473 00000 n 
-0000000293 00000 n 
-0000012322 00000 n 
-0000012479 00000 n 
-0000000673 00000 n 
-0000000723 00000 n 
-0000001008 00000 n 
-0000010314 00000 n 
-0000010539 00000 n 
-0000012537 00000 n 
-0000012622 00000 n 
+0000121446 00000 n 
+0000121849 00000 n 
+0000122593 00000 n 
+0000122480 00000 n 
+0000122300 00000 n 
+0000133609 00000 n 
+0000133767 00000 n 
+0000122680 00000 n 
+0000122712 00000 n 
+0000123131 00000 n 
+0000131599 00000 n 
+0000131826 00000 n 
+0000133825 00000 n 
+0000133911 00000 n 
 trailer
 << /Size 20
 /Root 18 0 R
 /Info 19 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-12766
+134055
 %%EOF
diff --git a/testfiles/ocproperties.xetex.tpf b/testfiles/colorprofile-standard.xetex.tpf
similarity index 53%
copy from testfiles/ocproperties.xetex.tpf
copy to testfiles/colorprofile-standard.xetex.tpf
index 811f40c..7c692fd 100644
--- a/testfiles/ocproperties.xetex.tpf
+++ b/testfiles/colorprofile-standard.xetex.tpf
@@ -1,28 +1,29 @@
-%PDF-1.7
+%PDF-1.5
 %äðíø
 11 0 obj
-<</Length 132>>
+<</Length 147>>
 stream
- q 1 0 0 1 72 769.89 cm 0 G 0 g 0 g 0 G BT /F1 9.9626 Tf 76.712 -62.765 Td[<001c0023>-28<002b>]TJ 154.421 -567.87 Td[<0052>]TJ ET Q
+ q 1 0 0 1 72 769.89 cm 0 G 0 g 0 g 0 G BT /F1 9.9626 Tf 76.712 -62.765 Td[<00740074007600760078007800720072>]TJ 154.421 -567.87 Td[<0052>]TJ ET Q
 endstream
 endobj
 12 0 obj
-<</ExtGState 4 0 R/Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+<</ExtGState 4 0 R/Font<</F1 6 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
 4 0 obj
 <</opacity1<</ca 1/CA 1>>>>
 endobj
-7 0 obj
-<</Type/OCG/Name(View)/Usage<</Print<</PrintState/OFF>>/View<</ViewState/ON>>>>>>
+5 0 obj
+<</N 4/Length 121368>>
+[BINARY STREAM]
 endobj
 8 0 obj
-<</Type/OCG/Name(View)/Usage<</Print<</PrintState/ON>>/View<</ViewState/OFF>>>>>>
+<</Type/OutputIntent/S/GTS_PDFX/DestOutputProfile 5 0 R/OutputConditionIdentifier(FOGRA39L Coated)/Info(Offset printing, according to ISO 12647-2:2004/Amd 1, OFCOM, paper type 1 or 2 = coated art, 115 g/m2, tone value increase curves A \(CMY\) and B \(K\))/RegistryName(http://www.fogra.org)>>
 endobj
 9 0 obj
-<</OFF/Blabla>>
+<</Type/OutputIntent/S/GTS_PDFA1/DestOutputProfile 5 0 R/OutputConditionIdentifier(FOGRA39L Coated)/Info(Offset printing, according to ISO 12647-2:2004/Amd 1, OFCOM, paper type 1 or 2 = coated art, 115 g/m2, tone value increase curves A \(CMY\) and B \(K\))/RegistryName(http://www.fogra.org)>>
 endobj
 10 0 obj
-<</OCGs[7 0 R 8 0 R]/D 9 0 R>>
+[8 0 R 9 0 R]
 endobj
 3 0 obj
 <</Resources 12 0 R/Type/Page/Parent 13 0 R/Contents[11 0 R]>>
@@ -34,10 +35,10 @@ endobj
 <</Creator(TeX)/Producer(xetex)/CreationDate(D:20010101194934+01'00')/ModDate(D:20010101205959-00'00')>>
 endobj
 1 0 obj
-<</OCProperties 10 0 R/Lang(de-DE)/Pages 13 0 R/Type/Catalog>>
+<</OutputIntents 10 0 R/Lang(en-US)/Pages 13 0 R/Type/Catalog>>
 endobj
 14 0 obj
-<</Length 398>>
+<</Length 412>>
 stream
 /CIDInit /ProcSet findresource begin
 12 dict begin
@@ -52,11 +53,12 @@ begincmap
 1 begincodespacerange
 <0000> <FFFF>
 endcodespacerange
-4 beginbfchar
-<001C> <0061>
-<0023> <0062>
-<002B> <0063>
+5 beginbfchar
 <0052> <0031>
+<0072> <0077>
+<0074> <0078>
+<0076> <0079>
+<0078> <007A>
 endbfchar
 endcmap
 CMapName currentdict /CMap defineresource pop
@@ -65,17 +67,17 @@ end
 endstream
 endobj
 16 0 obj
-<</Subtype/CIDFontType0C/Length 934>>
+<</Subtype/CIDFontType0C/Length 1161>>
 [BINARY STREAM]
 endobj
 17 0 obj
-[28[500]35[556]43[444]82[500]]
+[82[500]114[722]116[528]118[528]120[444]]
 endobj
 18 0 obj
-<</Length 11>>
+<</Length 16>>
 [BINARY STREAM]
 endobj
-6 0 obj
+7 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/EXQIVM+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
 0>>/FontDescriptor 15 0 R/DW 280/W 17 0 R>>
 endobj
@@ -84,34 +86,34 @@ endobj
 -290 1417 1127]/ItalicAngle 0/Flags 6/Style<</Panose<000000000500000000000000>>>/FontName/EXQIVM+LMRoman10-Regular/FontFile3
 16 0 R/CIDSet 18 0 R>>
 endobj
-5 0 obj
-<</Type/Font/Subtype/Type0/BaseFont/EXQIVM+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[6 0 R]/ToUnicode
+6 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/EXQIVM+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[7 0 R]/ToUnicode
 14 0 R>>
 endobj
 xref
 0 19
 0000000000 65535 f 
-0000000885 00000 n 
-0000000765 00000 n 
-0000000607 00000 n 
-0000000292 00000 n 
-0000002974 00000 n 
-0000002524 00000 n 
-0000000335 00000 n 
-0000000432 00000 n 
-0000000529 00000 n 
-0000000560 00000 n 
+0000122701 00000 n 
+0000122581 00000 n 
+0000122423 00000 n 
+0000000307 00000 n 
+0000000350 00000 n 
+0000125049 00000 n 
+0000124599 00000 n 
+0000121774 00000 n 
+0000122083 00000 n 
+0000122393 00000 n 
 0000000015 00000 n 
-0000000197 00000 n 
-0000000685 00000 n 
-0000000963 00000 n 
-0000002713 00000 n 
-0000001411 00000 n 
-0000002417 00000 n 
-0000002464 00000 n 
+0000000212 00000 n 
+0000122501 00000 n 
+0000122780 00000 n 
+0000124788 00000 n 
+0000123242 00000 n 
+0000124476 00000 n 
+0000124534 00000 n 
 trailer
 <</ID[<ID-STRING><ID-STRING>]/Root
 1 0 R/Info 2 0 R/Size 19>>
 startxref
-3123
+125198
 %%EOF
diff --git a/testfiles/annot.luatex.tpf b/testfiles/colorprofile1.luatex.tpf
similarity index 54%
copy from testfiles/annot.luatex.tpf
copy to testfiles/colorprofile1.luatex.tpf
index 5ecf8b8..0cd1f6e 100644
--- a/testfiles/annot.luatex.tpf
+++ b/testfiles/colorprofile1.luatex.tpf
@@ -1,48 +1,59 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
+5 0 obj
+<< /N 3 /Length 3268 >>       
+[BINARY STREAM]
+endobj
+6 0 obj
+<< /Type /OutputIntent /S /GTS_PDFX /DestOutputProfile 5 0 R /OutputConditionIdentifier (IEC\040sRGB) /Info (IEC\04061966-2.1\040Default\040RGB\040colour\040space\040-\040sRGB) /RegistryName (http://www.iec.ch)  >>
+endobj
+7 0 obj
+<< /N 4 /Length 121368 >>     
+[BINARY STREAM]
+endobj
+8 0 obj
+<< /Type /OutputIntent /S /GTS_PDFA1 /DestOutputProfile 7 0 R /OutputConditionIdentifier (FOGRA39L\040Coated) /Info (Offset\040printing,\040according\040to\040ISO\04012647-2:2004/Amd\0401,\040OFCOM,\040paper\040type\0401\040or\0402\040=\040coated\040art,\040115\040g/m2,\040tone\040value\040increase\040curves\040A\040\(CMY\)\040and\040B\040\(K\)) /RegistryName (http://www.fogra.org)  >>
+endobj
 1 0 obj
 << /opacity1 <</ca 1/CA 1>>  >>
 endobj
-8 0 obj
-<< /Length 173 >>        
+11 0 obj
+<< /Length 165 >>        
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
 BT
 /F23 9.96264 Tf
-1 0 0 1 148.712 707.125 Tm [<0074007400740074007600760078007800720072>]TJ
+1 0 0 1 148.712 707.125 Tm [<00740074007600760078007800720072>]TJ
 1 0 0 1 303.133 139.255 Tm [<0052>]TJ
 ET
 endstream
 endobj
-7 0 obj
-<< /Type /Page /Contents 8 0 R /Resources 6 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 10 0 R /Annots 11 0 R >>
-endobj
-11 0 obj
-[ 5 0 R ]
+10 0 obj
+<< /Type /Page /Contents 11 0 R /Resources 9 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 13 0 R >>
 endobj
-5 0 obj
-<< /Type /Annot /Subtype/Widget/F 4/T(abc)/FT/Tx/Q 0/BS<</W 1 /S /S>>/MK<</BC[1 0 0]/BG[1 1 1]>>/DA(/Helv 10 Tf 0 0 0 rg)/DV()/V() /Rect [ 159.233 707.125 187.579 735.472 ] >>
+9 0 obj
+<< /ExtGState 1 0 R /Font << /F23 12 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
-6 0 obj
-<< /ExtGState 1 0 R /Font << /F23 9 0 R >> /ProcSet [ /PDF /Text ] >>
+14 0 obj
+[ 6 0 R 8 0 R ]
 endobj
-12 0 obj
+15 0 obj
 [ 82 [ 500 ] 114 [ 722 ] 116 [ 528 ] 118 [ 528 ] 120 [ 444 ] ]
 endobj
-14 0 obj
+17 0 obj
 << /Length 16 >>         
 [BINARY STREAM]
 endobj
-15 0 obj
+18 0 obj
 << /Subtype /CIDFontType0C /Length 1182 >>       
 [BINARY STREAM]
 endobj
-13 0 obj
-<< /Type /FontDescriptor /FontName /UPCXSX+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 15 0 R /CIDSet 14 0 R >>
-endobj
 16 0 obj
+<< /Type /FontDescriptor /FontName /UPCXSX+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 18 0 R /CIDSet 17 0 R >>
+endobj
+19 0 obj
 << /Length 748 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
@@ -82,45 +93,48 @@ end
 %%EOF
 endstream
 endobj
-9 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /UPCXSX+LMRoman10-Regular /DescendantFonts [ 17 0 R ] /ToUnicode 16 0 R >>
+12 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /UPCXSX+LMRoman10-Regular /DescendantFonts [ 20 0 R ] /ToUnicode 19 0 R >>
 endobj
-17 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /UPCXSX+LMRoman10-Regular /FontDescriptor 13 0 R /W 12 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+20 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /UPCXSX+LMRoman10-Regular /FontDescriptor 16 0 R /W 15 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
 endobj
-10 0 obj
-<< /Type /Pages  /Count 1 /Kids [ 7 0 R ] >>
+13 0 obj
+<< /Type /Pages  /Count 1 /Kids [ 10 0 R ] >>
 endobj
-18 0 obj
-<< /Type /Catalog /Pages 10 0 R /Lang (en-US) >>
+21 0 obj
+<< /Type /Catalog /Pages 13 0 R /OutputIntents 14 0 R/Lang (en-US) >>
 endobj
-19 0 obj
+22 0 obj
 << /Creator (TeX)/Producer (LuaTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00') /Trapped /False >>
 endobj
 xref
-0 20
+0 23
 0000000002 65535 f 
-0000000020 00000 n 
+0000125418 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000000454 00000 n 
-0000000645 00000 n 
-0000000299 00000 n 
-0000000067 00000 n 
-0000003195 00000 n 
-0000003548 00000 n 
-0000000428 00000 n 
-0000000730 00000 n 
-0000002151 00000 n 
-0000000809 00000 n 
-0000000885 00000 n 
-0000002387 00000 n 
-0000003348 00000 n 
-0000003609 00000 n 
-0000003674 00000 n 
+0000000020 00000 n 
+0000003352 00000 n 
+0000003582 00000 n 
+0000125014 00000 n 
+0000125806 00000 n 
+0000125690 00000 n 
+0000125465 00000 n 
+0000128389 00000 n 
+0000128743 00000 n 
+0000125892 00000 n 
+0000125924 00000 n 
+0000127345 00000 n 
+0000126003 00000 n 
+0000126079 00000 n 
+0000127581 00000 n 
+0000128543 00000 n 
+0000128805 00000 n 
+0000128891 00000 n 
 trailer
-<< /Size 20 /Root 18 0 R /Info 19 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
+<< /Size 23 /Root 21 0 R /Info 22 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
 startxref
-3818
+129035
 %%EOF
diff --git a/testfiles/colorprofile1.pvt b/testfiles/colorprofile1.pvt
new file mode 100644
index 0000000..442629d
--- /dev/null
+++ b/testfiles/colorprofile1.pvt
@@ -0,0 +1,14 @@
+\RequirePackage{pdfmanagement}
+\DeclareDocumentMetadata
+ {
+   colorprofiles=
+     {
+        X=sRGB.icc,
+        A=FOGRA39L_coated.icc
+     },
+ }
+\RequirePackage{pdfmanagement-regressiontest}
+\documentclass{article}
+\begin{document}
+xxyyzzww
+\end{document} 
\ No newline at end of file
diff --git a/testfiles/annot.tpf b/testfiles/colorprofile1.tpf
similarity index 69%
copy from testfiles/annot.tpf
copy to testfiles/colorprofile1.tpf
index 887440c..125a74f 100644
--- a/testfiles/annot.tpf
+++ b/testfiles/colorprofile1.tpf
@@ -1,49 +1,64 @@
 %PDF-1.5
 %ÐÔÅØ
+5 0 obj
+<<
+/N 3
+/Length 3268      
+>>
+[BINARY STREAM]
+endobj
+6 0 obj
+<< /Type /OutputIntent /S /GTS_PDFX /DestOutputProfile 5 0 R /OutputConditionIdentifier (IEC\040sRGB) /Info (IEC\04061966-2.1\040Default\040RGB\040colour\040space\040-\040sRGB) /RegistryName (http://www.iec.ch)  >>
+endobj
+7 0 obj
+<<
+/N 4
+/Length 121368    
+>>
+[BINARY STREAM]
+endobj
+8 0 obj
+<< /Type /OutputIntent /S /GTS_PDFA1 /DestOutputProfile 7 0 R /OutputConditionIdentifier (FOGRA39L\040Coated) /Info (Offset\040printing,\040according\040to\040ISO\04012647-2:2004/Amd\0401,\040OFCOM,\040paper\040type\0401\040or\0402\040=\040coated\040art,\040115\040g/m2,\040tone\040value\040increase\040curves\040A\040\(CMY\)\040and\040B\040\(K\)) /RegistryName (http://www.fogra.org)  >>
+endobj
 1 0 obj
 << /opacity1 <</ca 1/CA 1>>  >>
 endobj
-8 0 obj
+11 0 obj
 <<
-/Length 123       
+/Length 121       
 >>
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
 BT
-/F19 9.9626 Tf 148.712 707.125 Td [(xxxxyyzzww)]TJ 154.421 -567.87 Td [(1)]TJ
+/F19 9.9626 Tf 148.712 707.125 Td [(xxyyzzww)]TJ 154.421 -567.87 Td [(1)]TJ
 ET
 endstream
 endobj
-7 0 obj
+10 0 obj
 <<
 /Type /Page
-/Contents 8 0 R
-/Resources 6 0 R
+/Contents 11 0 R
+/Resources 9 0 R
 /MediaBox [0 0 595.276 841.89]
-/Parent 10 0 R
-/Annots [ 5 0 R ]
->>
-endobj
-5 0 obj
-<<
-/Type /Annot
-/Subtype/Widget/F 4/T(abc)/FT/Tx/Q 0/BS<</W 1 /S /S>>/MK<</BC[1 0 0]/BG[1 1 1]>>/DA(/Helv 10 Tf 0 0 0 rg)/DV()/V()
-/Rect [159.228 707.125 187.575 735.472]
+/Parent 13 0 R
 >>
 endobj
-6 0 obj
+9 0 obj
 <<
 /ExtGState 1 0 R 
-/Font << /F19 9 0 R >>
+/Font << /F19 12 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-11 0 obj
+14 0 obj
+[ 6 0 R 8 0 R ]
+endobj
+15 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 394.4 388.9 555.6 527.8 722.2 527.8 527.8 444.4]
 endobj
-12 0 obj
+16 0 obj
 <<
 /Length1 1425
 /Length2 6945
@@ -52,7 +67,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-13 0 obj
+17 0 obj
 <<
 /Type /FontDescriptor
 /FontName /NDDKHM+CMR10
@@ -65,10 +80,10 @@ endobj
 /StemV 69
 /XHeight 431
 /CharSet (/one/w/x/y/z)
-/FontFile 12 0 R
+/FontFile 16 0 R
 >>
 endobj
-14 0 obj
+18 0 obj
 <<
 /Length 1724      
 >>
@@ -190,62 +205,66 @@ end
 %%EOF
 endstream
 endobj
-9 0 obj
+12 0 obj
 <<
 /Type /Font
 /Subtype /Type1
 /BaseFont /NDDKHM+CMR10
-/FontDescriptor 13 0 R
+/FontDescriptor 17 0 R
 /FirstChar 49
 /LastChar 122
-/Widths 11 0 R
-/ToUnicode 14 0 R
+/Widths 15 0 R
+/ToUnicode 18 0 R
 >>
 endobj
-10 0 obj
+13 0 obj
 <<
 /Type /Pages
 /Count 1
-/Kids [7 0 R]
+/Kids [10 0 R]
 >>
 endobj
-15 0 obj
+19 0 obj
 <<
 /Type /Catalog
-/Pages 10 0 R
-/Lang (en-US)
+/Pages 13 0 R
+/OutputIntents 14 0 R/Lang (en-US)
 >>
 endobj
-16 0 obj
+20 0 obj
 <<
 /Creator (TeX)/Producer (pdfTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')
 /Trapped /False
 >>
 endobj
 xref
-0 17
+0 21
 0000000002 65535 f 
-0000000015 00000 n 
+0000125411 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000000373 00000 n 
-0000000562 00000 n 
-0000000243 00000 n 
-0000000062 00000 n 
-0000011545 00000 n 
-0000011702 00000 n 
-0000000648 00000 n 
-0000001067 00000 n 
-0000009535 00000 n 
-0000009762 00000 n 
-0000011760 00000 n 
-0000011825 00000 n 
+0000000015 00000 n 
+0000003346 00000 n 
+0000003576 00000 n 
+0000125007 00000 n 
+0000125752 00000 n 
+0000125638 00000 n 
+0000125458 00000 n 
+0000136768 00000 n 
+0000136926 00000 n 
+0000125839 00000 n 
+0000125871 00000 n 
+0000126290 00000 n 
+0000134758 00000 n 
+0000134985 00000 n 
+0000136985 00000 n 
+0000137071 00000 n 
 trailer
-<< /Size 17
-/Root 15 0 R
-/Info 16 0 R
+<< /Size 21
+/Root 19 0 R
+/Info 20 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-11969
+137215
 %%EOF
diff --git a/testfiles/annot.xetex.tpf b/testfiles/colorprofile1.xetex.tpf
similarity index 53%
copy from testfiles/annot.xetex.tpf
copy to testfiles/colorprofile1.xetex.tpf
index eb7da06..4821eeb 100644
--- a/testfiles/annot.xetex.tpf
+++ b/testfiles/colorprofile1.xetex.tpf
@@ -1,37 +1,47 @@
 %PDF-1.5
 %äðíø
-8 0 obj
-<</Length 197>>
+12 0 obj
+<</Length 147>>
 stream
- q 1 0 0 1 72 769.89 cm 0 G 0 g 0 g 0 G BT /F1 9.9626 Tf 76.712 -62.765 Td[<00740074>]TJ ET BT /F1 9.9626 Tf 87.233 -62.765 Td[<00740074007600760078007800720072>]TJ 143.9 -567.87 Td[<0052>]TJ ET Q
+ q 1 0 0 1 72 769.89 cm 0 G 0 g 0 g 0 G BT /F1 9.9626 Tf 76.712 -62.765 Td[<00740074007600760078007800720072>]TJ 154.421 -567.87 Td[<0052>]TJ ET Q
 endstream
 endobj
-9 0 obj
-<</ExtGState 4 0 R/Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+13 0 obj
+<</ExtGState 4 0 R/Font<</F1 7 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
 4 0 obj
 <</opacity1<</ca 1/CA 1>>>>
 endobj
-7 0 obj
-<</Type/Annot/Subtype/Widget/F 4/T(abc)/FT/Tx/Q 0/BS<</W 1/S/S>>/MK<</BC[1 0 0]/BG[1
-1 1]>>/DA(/Helv 10 Tf 0 0 0 rg)/DV()/V()/Rect[159.233 707.125 187.579 735.472]>>
+5 0 obj
+<</N 3/Length 3268>>
+[BINARY STREAM]
+endobj
+9 0 obj
+<</Type/OutputIntent/S/GTS_PDFX/DestOutputProfile 5 0 R/OutputConditionIdentifier(IEC sRGB)/Info(IEC 61966-2.1 Default RGB colour space - sRGB)/RegistryName(http://www.iec.ch)>>
+endobj
+6 0 obj
+<</N 4/Length 121368>>
+[BINARY STREAM]
+endobj
+10 0 obj
+<</Type/OutputIntent/S/GTS_PDFA1/DestOutputProfile 6 0 R/OutputConditionIdentifier(FOGRA39L Coated)/Info(Offset printing, according to ISO 12647-2:2004/Amd 1, OFCOM, paper type 1 or 2 = coated art, 115 g/m2, tone value increase curves A \(CMY\) and B \(K\))/RegistryName(http://www.fogra.org)>>
 endobj
 11 0 obj
-[7 0 R]
+[9 0 R 10 0 R]
 endobj
 3 0 obj
-<</Resources 9 0 R/Type/Page/Parent 10 0 R/Contents[8 0 R]/Annots 11 0 R>>
+<</Resources 13 0 R/Type/Page/Parent 14 0 R/Contents[12 0 R]>>
 endobj
-10 0 obj
+14 0 obj
 <</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 595.28 841.89]>>
 endobj
 2 0 obj
 <</Creator(TeX)/Producer(xetex)/CreationDate(D:20010101194934+01'00')/ModDate(D:20010101205959-00'00')>>
 endobj
 1 0 obj
-<</Lang(en-US)/Pages 10 0 R/Type/Catalog>>
+<</OutputIntents 11 0 R/Lang(en-US)/Pages 14 0 R/Type/Catalog>>
 endobj
-12 0 obj
+15 0 obj
 <</Length 412>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -60,52 +70,55 @@ end
 end
 endstream
 endobj
-14 0 obj
+17 0 obj
 <</Subtype/CIDFontType0C/Length 1161>>
 [BINARY STREAM]
 endobj
-15 0 obj
+18 0 obj
 [82[500]114[722]116[528]118[528]120[444]]
 endobj
-16 0 obj
+19 0 obj
 <</Length 16>>
 [BINARY STREAM]
 endobj
-6 0 obj
+8 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/EXQIVM+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 13 0 R/DW 280/W 15 0 R>>
+0>>/FontDescriptor 16 0 R/DW 280/W 18 0 R>>
 endobj
-13 0 obj
+16 0 obj
 <</Type/FontDescriptor/Ascent 806/Descent -194/StemV 69/CapHeight 806/AvgWidth 549/FontBBox[-430
 -290 1417 1127]/ItalicAngle 0/Flags 6/Style<</Panose<000000000500000000000000>>>/FontName/EXQIVM+LMRoman10-Regular/FontFile3
-14 0 R/CIDSet 16 0 R>>
+17 0 R/CIDSet 19 0 R>>
 endobj
-5 0 obj
-<</Type/Font/Subtype/Type0/BaseFont/EXQIVM+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[6 0 R]/ToUnicode
-12 0 R>>
+7 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/EXQIVM+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[8 0 R]/ToUnicode
+15 0 R>>
 endobj
 xref
-0 17
+0 20
 0000000000 65535 f 
-0000000893 00000 n 
-0000000773 00000 n 
-0000000603 00000 n 
-0000000355 00000 n 
-0000003220 00000 n 
-0000002770 00000 n 
-0000000398 00000 n 
+0000125909 00000 n 
+0000125789 00000 n 
+0000125631 00000 n 
+0000000307 00000 n 
+0000000350 00000 n 
+0000003865 00000 n 
+0000128257 00000 n 
+0000127807 00000 n 
+0000003672 00000 n 
+0000125289 00000 n 
+0000125600 00000 n 
 0000000015 00000 n 
-0000000261 00000 n 
-0000000693 00000 n 
-0000000579 00000 n 
-0000000951 00000 n 
-0000002959 00000 n 
-0000001413 00000 n 
-0000002647 00000 n 
-0000002705 00000 n 
+0000000212 00000 n 
+0000125709 00000 n 
+0000125988 00000 n 
+0000127996 00000 n 
+0000126450 00000 n 
+0000127684 00000 n 
+0000127742 00000 n 
 trailer
 <</ID[<ID-STRING><ID-STRING>]/Root
-1 0 R/Info 2 0 R/Size 17>>
+1 0 R/Info 2 0 R/Size 20>>
 startxref
-3369
+128406
 %%EOF





More information about the latex3-commits mailing list.