[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: adapt test to new ocgx (d7d9277)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat May 25 23:11:08 CEST 2019


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

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

commit d7d9277c9c5062c41cf2319effc1df9a942f7c80
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat May 25 23:11:08 2019 +0200

    adapt test to new ocgx


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

d7d9277c9c5062c41cf2319effc1df9a942f7c80
 testfiles/properties-ocgx.luatex.tpf |   96 ++++++++++++++++++----------------
 testfiles/properties-ocgx.tpf        |   86 +++++++++++++++---------------
 2 files changed, 95 insertions(+), 87 deletions(-)

diff --git a/testfiles/properties-ocgx.luatex.tpf b/testfiles/properties-ocgx.luatex.tpf
index 7fe6faa..fe4a0bb 100644
--- a/testfiles/properties-ocgx.luatex.tpf
+++ b/testfiles/properties-ocgx.luatex.tpf
@@ -99,9 +99,12 @@ endobj
 [ 9 0 R 10 0 R 18 0 R]
 endobj
 25 0 obj
+[9 0 R]
+endobj
+26 0 obj
 [ 9 0 R 10 0 R 18 0 R]
 endobj
-29 0 obj
+30 0 obj
 << /Length 340 >>        
 stream
 0 g 0 G
@@ -128,16 +131,16 @@ BT
 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 >>
+29 0 obj
+<< /Type /Page /Contents 30 0 R /Resources 28 0 R /MediaBox [ 0 0 297.638 419.528 ] /Parent 16 0 R /Annots 31 0 R >>
 endobj
-30 0 obj
-[ 26 0 R ]
+31 0 obj
+[ 27 0 R ]
 endobj
-26 0 obj
+27 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
+28 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
@@ -164,21 +167,21 @@ endobj
 8 0 obj
 << /test <</test(value)>> /rm at oc3 6 0 R  >>
 endobj
-31 0 obj
+32 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
+34 0 obj
 << /Length 15 >>         
 [BINARY STREAM]
 endobj
-34 0 obj
+35 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 >>
+33 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 35 0 R /CIDSet 34 0 R >>
 endobj
-35 0 obj
+36 0 obj
 << /Length 903 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
@@ -230,39 +233,39 @@ end
 endstream
 endobj
 15 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /LZSLYI+LMRoman10-Regular /DescendantFonts [ 36 0 R ] /ToUnicode 35 0 R >>
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /LZSLYI+LMRoman10-Regular /DescendantFonts [ 37 0 R ] /ToUnicode 36 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 >> >>
+37 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /LZSLYI+LMRoman10-Regular /FontDescriptor 33 0 R /W 32 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>>>> >>
+<< /Type /Pages  /Count 3 /Kids [ 13 0 R 21 0 R 29 0 R ] >>
 endobj
 38 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 /OFF 25 0 R/Order 26 0 R/ListMode/VisiblePages>>>> >>
+endobj
+39 0 obj
 << /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
 endobj
 xref
-0 39
+0 40
 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 
+0000002960 00000 n 
+0000002982 00000 n 
+0000003004 00000 n 
+0000003026 00000 n 
+0000003048 00000 n 
+0000003093 00000 n 
+0000003166 00000 n 
+0000003226 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 
+0000007294 00000 n 
+0000007648 00000 n 
 0000000866 00000 n 
 0000001164 00000 n 
 0000001756 00000 n 
@@ -272,21 +275,22 @@ xref
 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 
+0000002090 00000 n 
+0000002689 00000 n 
+0000002806 00000 n 
+0000002529 00000 n 
+0000002129 00000 n 
+0000002662 00000 n 
+0000003285 00000 n 
+0000006095 00000 n 
+0000003449 00000 n 
+0000003524 00000 n 
+0000006331 00000 n 
+0000007448 00000 n 
+0000007724 00000 n 
+0000008014 00000 n 
 trailer
-<< /Size 39 /Root 37 0 R /Info 38 0 R >>
+<< /Size 40 /Root 38 0 R /Info 39 0 R >>
 startxref
-8051
+8086
 %%EOF
diff --git a/testfiles/properties-ocgx.tpf b/testfiles/properties-ocgx.tpf
index 369946a..86b1619 100644
--- a/testfiles/properties-ocgx.tpf
+++ b/testfiles/properties-ocgx.tpf
@@ -119,9 +119,12 @@ endobj
 [ 9 0 R 10 0 R 17 0 R]
 endobj
 23 0 obj
+[9 0 R]
+endobj
+24 0 obj
 [ 9 0 R 10 0 R 17 0 R]
 endobj
-27 0 obj
+28 0 obj
 <<
 /Length 259       
 >>
@@ -147,24 +150,24 @@ BT
 ET
 endstream
 endobj
-26 0 obj
+27 0 obj
 <<
 /Type /Page
-/Contents 27 0 R
-/Resources 25 0 R
+/Contents 28 0 R
+/Resources 26 0 R
 /MediaBox [0 0 297.638 419.528]
 /Parent 16 0 R
-/Annots [ 24 0 R ]
+/Annots [ 25 0 R ]
 >>
 endobj
-24 0 obj
+25 0 obj
 <<
 /Type /Annot
 /Ff 65537/FT/Btn/Subtype/Widget/T (pbs at ARFix@3)
 /Rect [0 416.539 2.989 419.528]
 >>
 endobj
-25 0 obj
+26 0 obj
 <<
 /ExtGState 1 0 R /ColorSpace 2 0 R /Pattern 3 0 R /Shading 4 0 R /Properties 8 0 R 
 /Font << /F8 15 0 R >>
@@ -195,10 +198,10 @@ endobj
 8 0 obj
 << /test <</test(value)>> /rm at oc3 6 0 R  >>
 endobj
-28 0 obj
+29 0 obj
 [277.8 500 500 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]
 endobj
-29 0 obj
+30 0 obj
 <<
 /Length1 1595
 /Length2 10969
@@ -207,7 +210,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-30 0 obj
+31 0 obj
 <<
 /Type /FontDescriptor
 /FontName /GGEKKH+CMR10
@@ -220,7 +223,7 @@ endobj
 /StemV 69
 /XHeight 431
 /CharSet (/M/S/a/d/e/l/m/o/one/period/r/t/three/two/x/y)
-/FontFile 29 0 R
+/FontFile 30 0 R
 >>
 endobj
 15 0 obj
@@ -228,27 +231,27 @@ endobj
 /Type /Font
 /Subtype /Type1
 /BaseFont /GGEKKH+CMR10
-/FontDescriptor 30 0 R
+/FontDescriptor 31 0 R
 /FirstChar 46
 /LastChar 121
-/Widths 28 0 R
+/Widths 29 0 R
 >>
 endobj
 16 0 obj
 <<
 /Type /Pages
 /Count 3
-/Kids [13 0 R 20 0 R 26 0 R]
+/Kids [13 0 R 20 0 R 27 0 R]
 >>
 endobj
-31 0 obj
+32 0 obj
 <<
 /Type /Catalog
 /Pages 16 0 R
-/OCProperties <</OCGs 22 0 R/D <</AS [<</Event/View/Category[/View]/OCGs 22 0 R>><</Event/Print/Category[/Print]/OCGs 22 0 R>><</Event/Export/Category[/Export]/OCGs 22 0 R>>]/BaseState/ON /Order 23 0 R/ListMode/VisiblePages>>>>
+/OCProperties <</OCGs 22 0 R/D <</AS [<</Event/View/Category[/View]/OCGs 22 0 R>><</Event/Print/Category[/Print]/OCGs 22 0 R>><</Event/Export/Category[/Export]/OCGs 22 0 R>>]/BaseState/ON /OFF 23 0 R/Order 24 0 R/ListMode/VisiblePages>>>>
 >>
 endobj
-32 0 obj
+33 0 obj
 <<
 /Producer (pdfTeX)
 /Creator (TeX)
@@ -256,24 +259,24 @@ endobj
 >>
 endobj
 xref
-0 33
+0 34
 0000000000 65535 f 
-0000002535 00000 n 
-0000002557 00000 n 
-0000002579 00000 n 
-0000002601 00000 n 
-0000002623 00000 n 
-0000002668 00000 n 
-0000002741 00000 n 
-0000002801 00000 n 
+0000002559 00000 n 
+0000002581 00000 n 
+0000002603 00000 n 
+0000002625 00000 n 
+0000002647 00000 n 
+0000002692 00000 n 
+0000002765 00000 n 
+0000002825 00000 n 
 0000000015 00000 n 
 0000000062 00000 n 
 0000000715 00000 n 
 0000000830 00000 n 
 0000000580 00000 n 
 0000000113 00000 n 
-0000016210 00000 n 
-0000016350 00000 n 
+0000016234 00000 n 
+0000016374 00000 n 
 0000000983 00000 n 
 0000001468 00000 n 
 0000001583 00000 n 
@@ -281,20 +284,21 @@ xref
 0000001032 00000 n 
 0000001736 00000 n 
 0000001775 00000 n 
-0000002267 00000 n 
-0000002382 00000 n 
-0000002132 00000 n 
-0000001814 00000 n 
-0000002860 00000 n 
-0000003287 00000 n 
-0000015950 00000 n 
-0000016423 00000 n 
-0000016702 00000 n 
+0000001799 00000 n 
+0000002291 00000 n 
+0000002406 00000 n 
+0000002156 00000 n 
+0000001838 00000 n 
+0000002884 00000 n 
+0000003311 00000 n 
+0000015974 00000 n 
+0000016447 00000 n 
+0000016737 00000 n 
 trailer
-<< /Size 33
-/Root 31 0 R
-/Info 32 0 R
+<< /Size 34
+/Root 32 0 R
+/Info 33 0 R
  >>
 startxref
-16774
+16809
 %%EOF





More information about the latex3-commits mailing list