[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: corrected test (d379f7c)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon May 20 16:27:11 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : testlinkstuff
Link       : https://github.com/latex3/pdfresources/commit/d379f7c8dd4f4c9ee4b23b9b0612d643f3807ebf

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

commit d379f7c8dd4f4c9ee4b23b9b0612d643f3807ebf
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon May 20 16:27:11 2019 +0200

    corrected test


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

d379f7c8dd4f4c9ee4b23b9b0612d643f3807ebf
 testfiles/properties-ocgx.luatex.tpf |  292 ++++++++++++++++++++++++++++++++++
 testfiles/properties-ocgx.pvt        |    6 +-
 testfiles/properties-ocgx.tpf        |    9 +-
 3 files changed, 296 insertions(+), 11 deletions(-)

diff --git a/testfiles/properties-ocgx.luatex.tpf b/testfiles/properties-ocgx.luatex.tpf
new file mode 100644
index 0000000..7fe6faa
--- /dev/null
+++ b/testfiles/properties-ocgx.luatex.tpf
@@ -0,0 +1,292 @@
+%PDF-1.5
+%ÌÕÁÔÅØÐÄÆ
+9 0 obj
+<</Type/OCG/Name (red Layer) >>
+endobj
+10 0 obj
+<</Type/OCG/Name (yellow Layer) >>
+endobj
+14 0 obj
+<< /Length 555 >>        
+stream
+0 g 0 G
+0 g 0 G
+BT
+/F25 9.96264 Tf
+1 0 0 1 59.59 359.221 Tm [<00610051004B0032>]TJ
+ET
+/OC/rm at oc0 BDC
+1 0 0 rg 1 0 0 RG
+BT
+/F25 9.96264 Tf
+1 0 0 1 86.15 359.221 Tm [<0048001C>28<0076>28<003200600032002F>-333<00690032007400690058>]TJ
+0 g 0 G
+ET
+EMC
+BT
+/F25 9.96264 Tf
+1 0 0 1 59.59 347.266 Tm [<00610051004B0032>]TJ
+ET
+/OC/rm at oc1 BDC
+0 0 1 0 k 0 0 1 0 K
+BT
+/F25 9.96264 Tf
+1 0 0 1 86.15 347.266 Tm [<0048001C>28<0076>28<003200600032002F>-333<00690032007400690058>]TJ
+0 g 0 G
+ET
+EMC
+0 g 0 G
+BT
+/F25 9.96264 Tf
+1 0 0 1 146.328 45.628 Tm [<0052>]TJ
+0 g 0 G
+ET
+endstream
+endobj
+13 0 obj
+<< /Type /Page /Contents 14 0 R /Resources 12 0 R /MediaBox [ 0 0 297.638 419.528 ] /Parent 16 0 R /Annots 17 0 R >>
+endobj
+17 0 obj
+[ 11 0 R ]
+endobj
+11 0 obj
+<< /Type /Annot /Ff 65537/FT/Btn/Subtype/Widget/T (pbs at ARFix@1) /Rect [ 0 416.539 2.989 419.528 ] >>
+endobj
+12 0 obj
+<< /ExtGState 1 0 R /ColorSpace 2 0 R /Pattern 3 0 R /Shading 4 0 R /Properties 6 0 R  /Font << /F25 15 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+18 0 obj
+<</Type/OCG/Name (blue Layer) >>
+endobj
+22 0 obj
+<< /Length 323 >>        
+stream
+0 g 0 G
+0 g 0 G
+BT
+/F25 9.96264 Tf
+1 0 0 1 59.59 359.221 Tm [<004A005100600032>]TJ
+ET
+/OC/rm at oc2 BDC
+0 0 1 rg 0 0 1 RG
+BT
+/F25 9.96264 Tf
+1 0 0 1 85.353 359.221 Tm [<0048001C>28<0076>28<003200600032002F>-333<00690032007400690058>]TJ
+0 g 0 G
+ET
+EMC
+0 g 0 G
+BT
+/F25 9.96264 Tf
+1 0 0 1 146.328 45.628 Tm [<006B>]TJ
+0 g 0 G
+ET
+endstream
+endobj
+21 0 obj
+<< /Type /Page /Contents 22 0 R /Resources 20 0 R /MediaBox [ 0 0 297.638 419.528 ] /Parent 16 0 R /Annots 23 0 R >>
+endobj
+23 0 obj
+[ 19 0 R ]
+endobj
+19 0 obj
+<< /Type /Annot /Ff 65537/FT/Btn/Subtype/Widget/T (pbs at ARFix@2) /Rect [ 0 416.539 2.989 419.528 ] >>
+endobj
+20 0 obj
+<< /ExtGState 1 0 R /ColorSpace 2 0 R /Pattern 3 0 R /Shading 4 0 R /Properties 7 0 R  /Font << /F25 15 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+24 0 obj
+[ 9 0 R 10 0 R 18 0 R]
+endobj
+25 0 obj
+[ 9 0 R 10 0 R 18 0 R]
+endobj
+29 0 obj
+<< /Length 340 >>        
+stream
+0 g 0 G
+0 g 0 G
+0 g 0 G
+BT
+/F25 9.96264 Tf
+1 0 0 1 44.646 219.859 Tm [<00610051004B0032>]TJ
+ET
+/OC/rm at oc3 BDC
+1 0 0 rg 1 0 0 RG
+BT
+/F25 9.96264 Tf
+1 0 0 1 71.207 219.859 Tm [<0048001C>28<0076>28<003200600032002F>-333<00690032007400690058>]TJ
+0 g 0 G
+ET
+EMC
+0 g 0 G
+0 g 0 G
+BT
+/F25 9.96264 Tf
+1 0 0 1 146.328 45.628 Tm [<006A>]TJ
+0 g 0 G
+ET
+endstream
+endobj
+28 0 obj
+<< /Type /Page /Contents 29 0 R /Resources 27 0 R /MediaBox [ 0 0 297.638 419.528 ] /Parent 16 0 R /Annots 30 0 R >>
+endobj
+30 0 obj
+[ 26 0 R ]
+endobj
+26 0 obj
+<< /Type /Annot /Ff 65537/FT/Btn/Subtype/Widget/T (pbs at ARFix@3) /Rect [ 0 416.539 2.989 419.528 ] >>
+endobj
+27 0 obj
+<< /ExtGState 1 0 R /ColorSpace 2 0 R /Pattern 3 0 R /Shading 4 0 R /Properties 8 0 R  /Font << /F25 15 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+1 0 obj
+<<  >>
+endobj
+2 0 obj
+<<  >>
+endobj
+3 0 obj
+<<  >>
+endobj
+4 0 obj
+<<  >>
+endobj
+5 0 obj
+<< /test <</test(value)>>  >>
+endobj
+6 0 obj
+<< /test <</test(value)>> /rm at oc0 6 0 R /rm at oc1 7 0 R  >>
+endobj
+7 0 obj
+<< /test <</test(value)>> /rm at oc2 15 0 R  >>
+endobj
+8 0 obj
+<< /test <</test(value)>> /rm at oc3 6 0 R  >>
+endobj
+31 0 obj
+[ 28 [ 500 ] 47 [ 556 ] 50 [ 444 ] 72 [ 278 ] 74 [ 917 833 ] 81 [ 500 500 ] 88 [ 278 ] 96 [ 392 556 ] 105 [ 389 500 500 ] 116 [ 528 ] 118 [ 528 ] ]
+endobj
+33 0 obj
+<< /Length 15 >>         
+[BINARY STREAM]
+endobj
+34 0 obj
+<< /Subtype /CIDFontType0C /Length 2487 >>       
+[BINARY STREAM]
+endobj
+32 0 obj
+<< /Type /FontDescriptor /FontName /LZSLYI+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 34 0 R /CIDSet 33 0 R >>
+endobj
+35 0 obj
+<< /Length 903 >>        
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-LZSLYI-LMRoman10-Regular-0)
+%%Title: (TeX-LZSLYI-LMRoman10-Regular-0 TeX LZSLYI-LMRoman10-Regular 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (LZSLYI-LMRoman10-Regular)
+/Supplement 0
+>> def
+/CMapName /TeX-Identity-LZSLYI-LMRoman10-Regular def
+/CMapType 2 def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+16 beginbfchar
+<001C> <0061>
+<002F> <0064>
+<0032> <0065>
+<0048> <006C>
+<004A> <004D>
+<004B> <006D>
+<0051> <006F>
+<0052> <0031>
+<0058> <002E>
+<0060> <0072>
+<0061> <0053>
+<0069> <0074>
+<006A> <0033>
+<006B> <0032>
+<0074> <0078>
+<0076> <0079>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+15 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /LZSLYI+LMRoman10-Regular /DescendantFonts [ 36 0 R ] /ToUnicode 35 0 R >>
+endobj
+36 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /LZSLYI+LMRoman10-Regular /FontDescriptor 32 0 R /W 31 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
+16 0 obj
+<< /Type /Pages  /Count 3 /Kids [ 13 0 R 21 0 R 28 0 R ] >>
+endobj
+37 0 obj
+<< /Type /Catalog /Pages 16 0 R /OCProperties <</OCGs 24 0 R/D <</AS [<</Event/View/Category[/View]/OCGs 24 0 R>><</Event/Print/Category[/Print]/OCGs 24 0 R>><</Event/Export/Category[/Export]/OCGs 24 0 R>>]/BaseState/ON /Order 25 0 R/ListMode/VisiblePages>>>> >>
+endobj
+38 0 obj
+<< /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
+endobj
+xref
+0 39
+0000000000 65535 f 
+0000002936 00000 n 
+0000002958 00000 n 
+0000002980 00000 n 
+0000003002 00000 n 
+0000003024 00000 n 
+0000003069 00000 n 
+0000003142 00000 n 
+0000003202 00000 n 
+0000000020 00000 n 
+0000000067 00000 n 
+0000000893 00000 n 
+0000001010 00000 n 
+0000000733 00000 n 
+0000000118 00000 n 
+0000007270 00000 n 
+0000007624 00000 n 
+0000000866 00000 n 
+0000001164 00000 n 
+0000001756 00000 n 
+0000001873 00000 n 
+0000001596 00000 n 
+0000001213 00000 n 
+0000001729 00000 n 
+0000002027 00000 n 
+0000002066 00000 n 
+0000002665 00000 n 
+0000002782 00000 n 
+0000002505 00000 n 
+0000002105 00000 n 
+0000002638 00000 n 
+0000003261 00000 n 
+0000006071 00000 n 
+0000003425 00000 n 
+0000003500 00000 n 
+0000006307 00000 n 
+0000007424 00000 n 
+0000007700 00000 n 
+0000007979 00000 n 
+trailer
+<< /Size 39 /Root 37 0 R /Info 38 0 R >>
+startxref
+8051
+%%EOF
diff --git a/testfiles/properties-ocgx.pvt b/testfiles/properties-ocgx.pvt
index 1a056ac..7b35872 100644
--- a/testfiles/properties-ocgx.pvt
+++ b/testfiles/properties-ocgx.pvt
@@ -1,14 +1,12 @@
+\input{regression-test}
 \RequirePackage[enable-debug]{expl3}
 \RequirePackage[patches]{pdfresources}
 \documentclass{article}
 \ExplSyntaxOn
 \driver_pdf_compresslevel:n {0}
 \driver_pdf_compress_objects:n {0}
-
 \ExplSyntaxOff
-
 \usepackage[a6paper]{geometry}
-
 \usepackage{ocgx2}
 \usepackage{color}
 \ExplSyntaxOn
@@ -49,6 +47,4 @@ Some \begin{ocg}{red Layer}{red}{on}
 \end{ocg}
 
 \end{figure}
-
-
 \end{document}
\ No newline at end of file
diff --git a/testfiles/properties-ocgx.tpf b/testfiles/properties-ocgx.tpf
index 23c60a8..369946a 100644
--- a/testfiles/properties-ocgx.tpf
+++ b/testfiles/properties-ocgx.tpf
@@ -250,12 +250,9 @@ endobj
 endobj
 32 0 obj
 <<
-/Producer (pdfTeX-1.40.20)
+/Producer (pdfTeX)
 /Creator (TeX)
-/CreationDate (D:20160520090000Z)
-/ModDate (D:20160520090000Z)
 /Trapped /False
-/PTEX.Fullbanner (This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) kpathsea version 6.3.1)
 >>
 endobj
 xref
@@ -297,7 +294,7 @@ trailer
 << /Size 33
 /Root 31 0 R
 /Info 32 0 R
-/ID [<D774E23E9A73DC81DA40F867FA14BA4A> <D774E23E9A73DC81DA40F867FA14BA4A>] >>
+ >>
 startxref
-16957
+16774
 %%EOF





More information about the latex3-commits mailing list