[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: start cleaning up of testfiles (88960d0)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Aug 11 23:34:56 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : backendtest
Link       : https://github.com/latex3/pdfresources/commit/88960d08a5e543175e1a2025e6618b89b18c0976

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

commit 88960d08a5e543175e1a2025e6618b89b18c0976
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Aug 11 23:34:56 2019 +0200

    start cleaning up of testfiles


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

88960d08a5e543175e1a2025e6618b89b18c0976
 .../calculationsortorder.luatex.tpf                |   0
 .../calculationsortorder.pvt                       |   0
 .../calculationsortorder.tpf                       |   0
 {testfiles => testfiles-pool}/catalogAF.luatex.tpf |   0
 {testfiles => testfiles-pool}/catalogAF.pvt        |   0
 {testfiles => testfiles-pool}/catalogAF.tpf        |   0
 .../linkbordercolor.luatex.tpf                     |   0
 {testfiles => testfiles-pool}/linkbordercolor.pvt  |   0
 {testfiles => testfiles-pool}/linkbordercolor.tpf  |   0
 {testfiles => testfiles-pool}/metadata.luatex.tpf  |   0
 {testfiles => testfiles-pool}/metadata.pvt         |   0
 {testfiles => testfiles-pool}/metadata.tpf         |   0
 .../ocproperties.luatex.tpf                        |   0
 {testfiles => testfiles-pool}/ocproperties.pvt     |   0
 {testfiles => testfiles-pool}/ocproperties.tpf     |   0
 .../pgfpatches.luatex.tpf                          |   0
 {testfiles => testfiles-pool}/pgfpatches.pvt       |   0
 {testfiles => testfiles-pool}/pgfpatches.tpf       |   0
 .../properties-ocgx.luatex.tpf                     |   0
 {testfiles => testfiles-pool}/properties-ocgx.pvt  |   0
 {testfiles => testfiles-pool}/properties-ocgx.tpf  |   0
 .../transparent-tikz.luatex.tpf                    |   0
 {testfiles => testfiles-pool}/transparent-tikz.pvt |   0
 {testfiles => testfiles-pool}/transparent-tikz.tpf |   0
 .../transparent.luatex.tpf                         |   0
 {testfiles => testfiles-pool}/transparent.pvt      |   0
 {testfiles => testfiles-pool}/transparent.tpf      |   0
 .../viewerpreferences.luatex.tpf                   |   0
 .../viewerpreferences.pvt                          |   0
 .../viewerpreferences.tpf                          |   0
 {testfiles => testfiles-pool}/xform.luatex.tpf     |   0
 {testfiles => testfiles-pool}/xform.pvt            |   0
 {testfiles => testfiles-pool}/xform.tpf            |   0
 testfiles/infodict.luatex.tpf                      |  67 ++++++-----
 testfiles/infodict.tpf                             |  65 +++++-----
 testfiles/infodict.xetex.tpf                       |  78 +++++++-----
 testfiles/pageattr.luatex.tpf                      | 115 +++++++++---------
 testfiles/pageattr.tpf                             | 125 ++++++++++---------
 testfiles/pageattr.xetex.tpf                       | 132 ++++++++++++---------
 testfiles/pagesattr.luatex.tpf                     |  67 ++++++-----
 testfiles/pagesattr.tpf                            |  65 +++++-----
 testfiles/pagesattr.xetex.tpf                      |  78 +++++++-----
 testfiles/version-compare.luatex.tlg               |  17 +--
 testfiles/version-compare.tlg                      |  15 ++-
 testfiles/version-compare.xetex.tlg                |  31 ++---
 45 files changed, 450 insertions(+), 405 deletions(-)

diff --git a/testfiles/calculationsortorder.luatex.tpf b/testfiles-pool/calculationsortorder.luatex.tpf
similarity index 100%
rename from testfiles/calculationsortorder.luatex.tpf
rename to testfiles-pool/calculationsortorder.luatex.tpf
diff --git a/testfiles/calculationsortorder.pvt b/testfiles-pool/calculationsortorder.pvt
similarity index 100%
rename from testfiles/calculationsortorder.pvt
rename to testfiles-pool/calculationsortorder.pvt
diff --git a/testfiles/calculationsortorder.tpf b/testfiles-pool/calculationsortorder.tpf
similarity index 100%
rename from testfiles/calculationsortorder.tpf
rename to testfiles-pool/calculationsortorder.tpf
diff --git a/testfiles/catalogAF.luatex.tpf b/testfiles-pool/catalogAF.luatex.tpf
similarity index 100%
rename from testfiles/catalogAF.luatex.tpf
rename to testfiles-pool/catalogAF.luatex.tpf
diff --git a/testfiles/catalogAF.pvt b/testfiles-pool/catalogAF.pvt
similarity index 100%
rename from testfiles/catalogAF.pvt
rename to testfiles-pool/catalogAF.pvt
diff --git a/testfiles/catalogAF.tpf b/testfiles-pool/catalogAF.tpf
similarity index 100%
rename from testfiles/catalogAF.tpf
rename to testfiles-pool/catalogAF.tpf
diff --git a/testfiles/linkbordercolor.luatex.tpf b/testfiles-pool/linkbordercolor.luatex.tpf
similarity index 100%
rename from testfiles/linkbordercolor.luatex.tpf
rename to testfiles-pool/linkbordercolor.luatex.tpf
diff --git a/testfiles/linkbordercolor.pvt b/testfiles-pool/linkbordercolor.pvt
similarity index 100%
rename from testfiles/linkbordercolor.pvt
rename to testfiles-pool/linkbordercolor.pvt
diff --git a/testfiles/linkbordercolor.tpf b/testfiles-pool/linkbordercolor.tpf
similarity index 100%
rename from testfiles/linkbordercolor.tpf
rename to testfiles-pool/linkbordercolor.tpf
diff --git a/testfiles/metadata.luatex.tpf b/testfiles-pool/metadata.luatex.tpf
similarity index 100%
rename from testfiles/metadata.luatex.tpf
rename to testfiles-pool/metadata.luatex.tpf
diff --git a/testfiles/metadata.pvt b/testfiles-pool/metadata.pvt
similarity index 100%
rename from testfiles/metadata.pvt
rename to testfiles-pool/metadata.pvt
diff --git a/testfiles/metadata.tpf b/testfiles-pool/metadata.tpf
similarity index 100%
rename from testfiles/metadata.tpf
rename to testfiles-pool/metadata.tpf
diff --git a/testfiles/ocproperties.luatex.tpf b/testfiles-pool/ocproperties.luatex.tpf
similarity index 100%
rename from testfiles/ocproperties.luatex.tpf
rename to testfiles-pool/ocproperties.luatex.tpf
diff --git a/testfiles/ocproperties.pvt b/testfiles-pool/ocproperties.pvt
similarity index 100%
rename from testfiles/ocproperties.pvt
rename to testfiles-pool/ocproperties.pvt
diff --git a/testfiles/ocproperties.tpf b/testfiles-pool/ocproperties.tpf
similarity index 100%
rename from testfiles/ocproperties.tpf
rename to testfiles-pool/ocproperties.tpf
diff --git a/testfiles/pgfpatches.luatex.tpf b/testfiles-pool/pgfpatches.luatex.tpf
similarity index 100%
rename from testfiles/pgfpatches.luatex.tpf
rename to testfiles-pool/pgfpatches.luatex.tpf
diff --git a/testfiles/pgfpatches.pvt b/testfiles-pool/pgfpatches.pvt
similarity index 100%
rename from testfiles/pgfpatches.pvt
rename to testfiles-pool/pgfpatches.pvt
diff --git a/testfiles/pgfpatches.tpf b/testfiles-pool/pgfpatches.tpf
similarity index 100%
rename from testfiles/pgfpatches.tpf
rename to testfiles-pool/pgfpatches.tpf
diff --git a/testfiles/properties-ocgx.luatex.tpf b/testfiles-pool/properties-ocgx.luatex.tpf
similarity index 100%
rename from testfiles/properties-ocgx.luatex.tpf
rename to testfiles-pool/properties-ocgx.luatex.tpf
diff --git a/testfiles/properties-ocgx.pvt b/testfiles-pool/properties-ocgx.pvt
similarity index 100%
rename from testfiles/properties-ocgx.pvt
rename to testfiles-pool/properties-ocgx.pvt
diff --git a/testfiles/properties-ocgx.tpf b/testfiles-pool/properties-ocgx.tpf
similarity index 100%
rename from testfiles/properties-ocgx.tpf
rename to testfiles-pool/properties-ocgx.tpf
diff --git a/testfiles/transparent-tikz.luatex.tpf b/testfiles-pool/transparent-tikz.luatex.tpf
similarity index 100%
rename from testfiles/transparent-tikz.luatex.tpf
rename to testfiles-pool/transparent-tikz.luatex.tpf
diff --git a/testfiles/transparent-tikz.pvt b/testfiles-pool/transparent-tikz.pvt
similarity index 100%
rename from testfiles/transparent-tikz.pvt
rename to testfiles-pool/transparent-tikz.pvt
diff --git a/testfiles/transparent-tikz.tpf b/testfiles-pool/transparent-tikz.tpf
similarity index 100%
rename from testfiles/transparent-tikz.tpf
rename to testfiles-pool/transparent-tikz.tpf
diff --git a/testfiles/transparent.luatex.tpf b/testfiles-pool/transparent.luatex.tpf
similarity index 100%
rename from testfiles/transparent.luatex.tpf
rename to testfiles-pool/transparent.luatex.tpf
diff --git a/testfiles/transparent.pvt b/testfiles-pool/transparent.pvt
similarity index 100%
rename from testfiles/transparent.pvt
rename to testfiles-pool/transparent.pvt
diff --git a/testfiles/transparent.tpf b/testfiles-pool/transparent.tpf
similarity index 100%
rename from testfiles/transparent.tpf
rename to testfiles-pool/transparent.tpf
diff --git a/testfiles/viewerpreferences.luatex.tpf b/testfiles-pool/viewerpreferences.luatex.tpf
similarity index 100%
rename from testfiles/viewerpreferences.luatex.tpf
rename to testfiles-pool/viewerpreferences.luatex.tpf
diff --git a/testfiles/viewerpreferences.pvt b/testfiles-pool/viewerpreferences.pvt
similarity index 100%
rename from testfiles/viewerpreferences.pvt
rename to testfiles-pool/viewerpreferences.pvt
diff --git a/testfiles/viewerpreferences.tpf b/testfiles-pool/viewerpreferences.tpf
similarity index 100%
rename from testfiles/viewerpreferences.tpf
rename to testfiles-pool/viewerpreferences.tpf
diff --git a/testfiles/xform.luatex.tpf b/testfiles-pool/xform.luatex.tpf
similarity index 100%
rename from testfiles/xform.luatex.tpf
rename to testfiles-pool/xform.luatex.tpf
diff --git a/testfiles/xform.pvt b/testfiles-pool/xform.pvt
similarity index 100%
rename from testfiles/xform.pvt
rename to testfiles-pool/xform.pvt
diff --git a/testfiles/xform.tpf b/testfiles-pool/xform.tpf
similarity index 100%
rename from testfiles/xform.tpf
rename to testfiles-pool/xform.tpf
diff --git a/testfiles/infodict.luatex.tpf b/testfiles/infodict.luatex.tpf
index 9943a63..6f30eb8 100644
--- a/testfiles/infodict.luatex.tpf
+++ b/testfiles/infodict.luatex.tpf
@@ -1,6 +1,6 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
-8 0 obj
+7 0 obj
 << /Length 132 >>        
 stream
 BT
@@ -10,27 +10,27 @@ BT
 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 >>
-endobj
 6 0 obj
-<< /Font << /F25 9 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /Type /Page /Contents 7 0 R /Resources 5 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 9 0 R >>
 endobj
-11 0 obj
+5 0 obj
+<< /Font << /F25 8 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+10 0 obj
 [ 50 [ 444 ] 75 [ 833 ] 81 [ 500 500 ] 98 [ 394 ] 105 [ 389 ] 116 [ 528 ] ]
 endobj
-13 0 obj
+12 0 obj
 << /Length 15 >>         
 [BINARY STREAM]
 endobj
-14 0 obj
+13 0 obj
 << /Subtype /CIDFontType0C /Length 1413 >>       
 [BINARY STREAM]
 endobj
-12 0 obj
-<< /Type /FontDescriptor /FontName /KRCLMV+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 14 0 R /CIDSet 13 0 R >>
+11 0 obj
+<< /Type /FontDescriptor /FontName /KRCLMV+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 13 0 R /CIDSet 12 0 R >>
 endobj
-15 0 obj
+14 0 obj
 << /Length 776 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
@@ -72,44 +72,43 @@ end
 %%EOF
 endstream
 endobj
+8 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /KRCLMV+LMRoman10-Regular /DescendantFonts [ 15 0 R ] /ToUnicode 14 0 R >>
+endobj
+15 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /KRCLMV+LMRoman10-Regular /FontDescriptor 11 0 R /W 10 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
 9 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /KRCLMV+LMRoman10-Regular /DescendantFonts [ 16 0 R ] /ToUnicode 15 0 R >>
+<< /Type /Pages  /Count 1 /Kids [ 6 0 R ] >>
 endobj
 16 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /KRCLMV+LMRoman10-Regular /FontDescriptor 12 0 R /W 11 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
-endobj
-10 0 obj
-<< /Type /Pages  /Count 1 /Kids [ 7 0 R ] >>
+<< /Type /Catalog /Pages 9 0 R >>
 endobj
 17 0 obj
-<< /Type /Catalog /Pages 10 0 R >>
-endobj
-18 0 obj
 << /Producer (LuaTeX)/Title (Gr\303\274\303\237e)/Author (Some Author) /Creator (TeX) /Trapped /False >>
 endobj
 xref
-0 19
+0 18
 0000000001 65535 f 
 0000000002 00000 f 
 0000000003 00000 f 
 0000000004 00000 f 
-0000000005 00000 f 
 0000000000 00000 f 
-0000000325 00000 n 
+0000000324 00000 n 
 0000000211 00000 n 
 0000000020 00000 n 
-0000003129 00000 n 
-0000003482 00000 n 
-0000000393 00000 n 
-0000002057 00000 n 
-0000000485 00000 n 
-0000000560 00000 n 
-0000002293 00000 n 
-0000003282 00000 n 
-0000003543 00000 n 
-0000003594 00000 n 
+0000003128 00000 n 
+0000003481 00000 n 
+0000000392 00000 n 
+0000002056 00000 n 
+0000000484 00000 n 
+0000000559 00000 n 
+0000002292 00000 n 
+0000003281 00000 n 
+0000003541 00000 n 
+0000003591 00000 n 
 trailer
-<< /Size 19 /Root 17 0 R /Info 18 0 R >>
+<< /Size 18 /Root 16 0 R /Info 17 0 R >>
 startxref
-3715
+3712
 %%EOF
diff --git a/testfiles/infodict.tpf b/testfiles/infodict.tpf
index d78107e..956c8ba 100644
--- a/testfiles/infodict.tpf
+++ b/testfiles/infodict.tpf
@@ -1,6 +1,6 @@
 %PDF-1.5
 %ÐÔÅØ
-8 0 obj
+7 0 obj
 <<
 /Length 91        
 >>
@@ -10,25 +10,25 @@ BT
 ET
 endstream
 endobj
-7 0 obj
+6 0 obj
 <<
 /Type /Page
-/Contents 8 0 R
-/Resources 6 0 R
+/Contents 7 0 R
+/Resources 5 0 R
 /MediaBox [0 0 595.276 841.89]
-/Parent 10 0 R
+/Parent 9 0 R
 >>
 endobj
-6 0 obj
+5 0 obj
 <<
-/Font << /F8 9 0 R >>
+/Font << /F8 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-11 0 obj
+10 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]
 endobj
-12 0 obj
+11 0 obj
 <<
 /Length1 1455
 /Length2 9286
@@ -37,7 +37,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-13 0 obj
+12 0 obj
 <<
 /Type /FontDescriptor
 /FontName /CTWJDN+CMR10
@@ -50,34 +50,34 @@ endobj
 /StemV 69
 /XHeight 431
 /CharSet (/e/m/o/one/s/t/x)
-/FontFile 12 0 R
+/FontFile 11 0 R
 >>
 endobj
-9 0 obj
+8 0 obj
 <<
 /Type /Font
 /Subtype /Type1
 /BaseFont /CTWJDN+CMR10
-/FontDescriptor 13 0 R
+/FontDescriptor 12 0 R
 /FirstChar 49
 /LastChar 120
-/Widths 11 0 R
+/Widths 10 0 R
 >>
 endobj
-10 0 obj
+9 0 obj
 <<
 /Type /Pages
 /Count 1
-/Kids [7 0 R]
+/Kids [6 0 R]
 >>
 endobj
-14 0 obj
+13 0 obj
 <<
 /Type /Catalog
-/Pages 10 0 R
+/Pages 9 0 R
 >>
 endobj
-15 0 obj
+14 0 obj
 <<
 /Producer (pdfTeX)/Title (Gr\303\274\303\237e)/Author (Some Author)
 /Creator (TeX)
@@ -85,28 +85,27 @@ endobj
 >>
 endobj
 xref
-0 16
+0 15
 0000000001 65535 f 
 0000000002 00000 f 
 0000000003 00000 f 
 0000000004 00000 f 
-0000000005 00000 f 
 0000000000 00000 f 
-0000000276 00000 n 
+0000000275 00000 n 
 0000000164 00000 n 
 0000000015 00000 n 
-0000011820 00000 n 
-0000011959 00000 n 
-0000000343 00000 n 
-0000000750 00000 n 
-0000011589 00000 n 
-0000012017 00000 n 
-0000012068 00000 n 
+0000011819 00000 n 
+0000011958 00000 n 
+0000000342 00000 n 
+0000000749 00000 n 
+0000011588 00000 n 
+0000012015 00000 n 
+0000012065 00000 n 
 trailer
-<< /Size 16
-/Root 14 0 R
-/Info 15 0 R
+<< /Size 15
+/Root 13 0 R
+/Info 14 0 R
  >>
 startxref
-12189
+12186
 %%EOF
diff --git a/testfiles/infodict.xetex.tpf b/testfiles/infodict.xetex.tpf
index ed0aa7b..d4b8c77 100644
--- a/testfiles/infodict.xetex.tpf
+++ b/testfiles/infodict.xetex.tpf
@@ -1,27 +1,39 @@
 %PDF-1.5
 %äðíø
-6 0 obj
+10 0 obj
 <</Length 137>>
 stream
  q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 76.712 -62.765 Td[<00620051004b0032>-333<0069003200740069>]TJ 154.421 -567.87 Td[<0052>]TJ ET Q
 endstream
 endobj
+11 0 obj
+<</ExtGState 4 0 R/ColorSpace 5 0 R/Pattern 6 0 R/Shading 7 0 R/Font<</F1 9 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+4 0 obj
+<<>>
+endobj
+5 0 obj
+<<>>
+endobj
+6 0 obj
+<<>>
+endobj
 7 0 obj
-<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+<<>>
 endobj
 3 0 obj
-<</Resources 7 0 R/Type/Page/Parent 8 0 R/Contents[6 0 R]>>
+<</Resources 11 0 R/Type/Page/Parent 12 0 R/Contents[10 0 R]>>
 endobj
-8 0 obj
+12 0 obj
 <</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 595.28 841.89]>>
 endobj
 2 0 obj
 <</Creator(TeX)/Title<feff0047007200fc00df0065>/Author(Some Author)/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
 endobj
 1 0 obj
-<</Pages 8 0 R/Type/Catalog>>
+<</Pages 12 0 R/Type/Catalog>>
 endobj
-9 0 obj
+13 0 obj
 <</Length 440>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -52,49 +64,53 @@ end
 end
 endstream
 endobj
-11 0 obj
+15 0 obj
 <</Subtype/CIDFontType0C/Length 1387>>
 [BINARY STREAM]
 endobj
-12 0 obj
+16 0 obj
 [50[444]75[833]81[500 500]98[394]105[389]116[528]]
 endobj
-13 0 obj
+17 0 obj
 <</Length 15>>
 [BINARY STREAM]
 endobj
-4 0 obj
+8 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/APWWDF+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 10 0 R/DW 280/W 12 0 R>>
+0>>/FontDescriptor 14 0 R/DW 280/W 16 0 R>>
 endobj
-10 0 obj
+14 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/APWWDF+LMRoman10-Regular/FontFile3
-11 0 R/CIDSet 13 0 R>>
+15 0 R/CIDSet 17 0 R>>
 endobj
-5 0 obj
-<</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[4 0 R]/ToUnicode
-9 0 R>>
+9 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[8 0 R]/ToUnicode
+13 0 R>>
 endobj
 xref
-0 14
+0 18
 0000000000 65535 f 
-0000000576 00000 n 
-0000000433 00000 n 
-0000000279 00000 n 
-0000002701 00000 n 
-0000003151 00000 n 
+0000000723 00000 n 
+0000000580 00000 n 
+0000000422 00000 n 
+0000000342 00000 n 
+0000000362 00000 n 
+0000000382 00000 n 
+0000000402 00000 n 
+0000002850 00000 n 
+0000003300 00000 n 
 0000000015 00000 n 
-0000000201 00000 n 
-0000000354 00000 n 
-0000000621 00000 n 
-0000002890 00000 n 
-0000001110 00000 n 
-0000002570 00000 n 
-0000002637 00000 n 
+0000000202 00000 n 
+0000000500 00000 n 
+0000000769 00000 n 
+0000003039 00000 n 
+0000001259 00000 n 
+0000002719 00000 n 
+0000002786 00000 n 
 trailer
 <</Root 1 0 R/Info 2 0 R/ID[<736b672455ecf863cca2980d059cc169><736b672455ecf863cca2980d059cc169>]/Size
-14>>
+18>>
 startxref
-3299
+3449
 %%EOF
diff --git a/testfiles/pageattr.luatex.tpf b/testfiles/pageattr.luatex.tpf
index 730343c..d7542dd 100644
--- a/testfiles/pageattr.luatex.tpf
+++ b/testfiles/pageattr.luatex.tpf
@@ -1,6 +1,6 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
-8 0 obj
+7 0 obj
 << /Length 132 >>        
 stream
 BT
@@ -10,13 +10,13 @@ BT
 ET
 endstream
 endobj
-7 0 obj
-<< /Type /Page /Contents 8 0 R /Resources 6 0 R /MediaBox [ 0 0 595.276 841.89 ] /CropBox [0 0 300 350]/Rotate 90/SSS (somesetting) /Parent 10 0 R >>
-endobj
 6 0 obj
-<< /Font << /F25 9 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /Type /Page /Contents 7 0 R /Resources 5 0 R /MediaBox [ 0 0 595.276 841.89 ] /Rotate 90/CropBox [0 0 300 350]/SSS (somesetting) /Parent 9 0 R >>
 endobj
-13 0 obj
+5 0 obj
+<< /Font << /F25 8 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+12 0 obj
 << /Length 158 >>        
 stream
 BT
@@ -26,13 +26,13 @@ BT
 ET
 endstream
 endobj
-12 0 obj
-<< /Type /Page /Contents 13 0 R /Resources 11 0 R /MediaBox [ 0 0 595.276 841.89 ] /SSS (somesetting) /Parent 10 0 R >>
-endobj
 11 0 obj
-<< /Font << /F25 9 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /Type /Page /Contents 12 0 R /Resources 10 0 R /MediaBox [ 0 0 595.276 841.89 ] /SSS (somesetting) /Parent 9 0 R >>
 endobj
-16 0 obj
+10 0 obj
+<< /Font << /F25 8 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+15 0 obj
 << /Length 115 >>        
 stream
 q
@@ -45,13 +45,13 @@ BT
 ET
 endstream
 endobj
-15 0 obj
-<< /Type /Page /Contents 16 0 R /Resources 14 0 R /MediaBox [ 0 0 595.276 841.89 ] /SSS (somesetting)/Rotate -90 /Parent 10 0 R >>
-endobj
 14 0 obj
-<< /Font << /F25 9 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /Type /Page /Contents 15 0 R /Resources 13 0 R /MediaBox [ 0 0 595.276 841.89 ] /Rotate -90/SSS (somesetting) /Parent 9 0 R >>
 endobj
-19 0 obj
+13 0 obj
+<< /Font << /F25 8 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+18 0 obj
 << /Length 110 >>        
 stream
 BT
@@ -61,27 +61,27 @@ BT
 ET
 endstream
 endobj
-18 0 obj
-<< /Type /Page /Contents 19 0 R /Resources 17 0 R /MediaBox [ 0 0 595.276 841.89 ] /SSS (somesetting) /Parent 10 0 R >>
-endobj
 17 0 obj
-<< /Font << /F25 9 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /Type /Page /Contents 18 0 R /Resources 16 0 R /MediaBox [ 0 0 595.276 841.89 ] /SSS (somesetting) /Parent 9 0 R >>
 endobj
-20 0 obj
+16 0 obj
+<< /Font << /F25 8 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+19 0 obj
 [ 28 [ 500 ] 35 [ 556 ] 50 [ 444 ] 57 [ 500 ] 75 [ 833 ] 81 [ 500 500 ] 96 [ 392 ] 98 [ 394 ] 105 [ 389 500 500 ] 116 [ 528 ] ]
 endobj
-22 0 obj
+21 0 obj
 << /Length 15 >>         
 [BINARY STREAM]
 endobj
-23 0 obj
+22 0 obj
 << /Subtype /CIDFontType0C /Length 2169 >>       
 [BINARY STREAM]
 endobj
-21 0 obj
-<< /Type /FontDescriptor /FontName /KWTIAX+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 23 0 R /CIDSet 22 0 R >>
+20 0 obj
+<< /Type /FontDescriptor /FontName /KWTIAX+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 22 0 R /CIDSet 21 0 R >>
 endobj
-24 0 obj
+23 0 obj
 << /Length 861 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
@@ -129,53 +129,52 @@ end
 %%EOF
 endstream
 endobj
+8 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /KWTIAX+LMRoman10-Regular /DescendantFonts [ 24 0 R ] /ToUnicode 23 0 R >>
+endobj
+24 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /KWTIAX+LMRoman10-Regular /FontDescriptor 20 0 R /W 19 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
 9 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /KWTIAX+LMRoman10-Regular /DescendantFonts [ 25 0 R ] /ToUnicode 24 0 R >>
+<< /Type /Pages  /Count 4 /Kids [ 6 0 R 11 0 R 14 0 R 17 0 R ] >>
 endobj
 25 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /KWTIAX+LMRoman10-Regular /FontDescriptor 21 0 R /W 20 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
-endobj
-10 0 obj
-<< /Type /Pages  /Count 4 /Kids [ 7 0 R 12 0 R 15 0 R 18 0 R ] >>
+<< /Type /Catalog /Pages 9 0 R >>
 endobj
 26 0 obj
-<< /Type /Catalog /Pages 10 0 R >>
-endobj
-27 0 obj
 << /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
 endobj
 xref
-0 28
+0 27
 0000000001 65535 f 
 0000000002 00000 f 
 0000000003 00000 f 
 0000000004 00000 f 
-0000000005 00000 f 
 0000000000 00000 f 
-0000000376 00000 n 
+0000000375 00000 n 
 0000000211 00000 n 
 0000000020 00000 n 
-0000005262 00000 n 
-0000005615 00000 n 
-0000000798 00000 n 
-0000000662 00000 n 
-0000000444 00000 n 
-0000001189 00000 n 
-0000001042 00000 n 
-0000000867 00000 n 
-0000001564 00000 n 
-0000001428 00000 n 
-0000001258 00000 n 
-0000001633 00000 n 
-0000004105 00000 n 
-0000001777 00000 n 
-0000001852 00000 n 
-0000004341 00000 n 
-0000005415 00000 n 
-0000005697 00000 n 
-0000005748 00000 n 
+0000005258 00000 n 
+0000005611 00000 n 
+0000000796 00000 n 
+0000000661 00000 n 
+0000000443 00000 n 
+0000001186 00000 n 
+0000001040 00000 n 
+0000000865 00000 n 
+0000001560 00000 n 
+0000001425 00000 n 
+0000001255 00000 n 
+0000001629 00000 n 
+0000004101 00000 n 
+0000001773 00000 n 
+0000001848 00000 n 
+0000004337 00000 n 
+0000005411 00000 n 
+0000005692 00000 n 
+0000005742 00000 n 
 trailer
-<< /Size 28 /Root 26 0 R /Info 27 0 R >>
+<< /Size 27 /Root 25 0 R /Info 26 0 R >>
 startxref
-5820
+5814
 %%EOF
diff --git a/testfiles/pageattr.tpf b/testfiles/pageattr.tpf
index 743bc5c..9a9fd6a 100644
--- a/testfiles/pageattr.tpf
+++ b/testfiles/pageattr.tpf
@@ -1,6 +1,6 @@
 %PDF-1.5
 %ÐÔÅØ
-8 0 obj
+7 0 obj
 <<
 /Length 91        
 >>
@@ -10,23 +10,23 @@ BT
 ET
 endstream
 endobj
-7 0 obj
+6 0 obj
 <<
 /Type /Page
-/Contents 8 0 R
-/Resources 6 0 R
+/Contents 7 0 R
+/Resources 5 0 R
 /MediaBox [0 0 595.276 841.89]
 /Rotate 90 /CropBox [0 0 300 350] /SSS (somesetting) 
-/Parent 10 0 R
+/Parent 9 0 R
 >>
 endobj
-6 0 obj
+5 0 obj
 <<
-/Font << /F8 9 0 R >>
+/Font << /F8 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-13 0 obj
+12 0 obj
 <<
 /Length 89        
 >>
@@ -36,23 +36,23 @@ BT
 ET
 endstream
 endobj
-12 0 obj
+11 0 obj
 <<
 /Type /Page
-/Contents 13 0 R
-/Resources 11 0 R
+/Contents 12 0 R
+/Resources 10 0 R
 /MediaBox [0 0 595.276 841.89]
 /SSS (somesetting) 
-/Parent 10 0 R
+/Parent 9 0 R
 >>
 endobj
-11 0 obj
+10 0 obj
 <<
-/Font << /F8 9 0 R >>
+/Font << /F8 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-16 0 obj
+15 0 obj
 <<
 /Length 102       
 >>
@@ -66,23 +66,23 @@ BT
 ET
 endstream
 endobj
-15 0 obj
+14 0 obj
 <<
 /Type /Page
-/Contents 16 0 R
-/Resources 14 0 R
+/Contents 15 0 R
+/Resources 13 0 R
 /MediaBox [0 0 595.276 841.89]
 /SSS (somesetting) /Rotate -90 
-/Parent 10 0 R
+/Parent 9 0 R
 >>
 endobj
-14 0 obj
+13 0 obj
 <<
-/Font << /F8 9 0 R >>
+/Font << /F8 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-19 0 obj
+18 0 obj
 <<
 /Length 77        
 >>
@@ -92,26 +92,26 @@ BT
 ET
 endstream
 endobj
-18 0 obj
+17 0 obj
 <<
 /Type /Page
-/Contents 19 0 R
-/Resources 17 0 R
+/Contents 18 0 R
+/Resources 16 0 R
 /MediaBox [0 0 595.276 841.89]
 /SSS (somesetting) 
-/Parent 10 0 R
+/Parent 9 0 R
 >>
 endobj
-17 0 obj
+16 0 obj
 <<
-/Font << /F8 9 0 R >>
+/Font << /F8 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-20 0 obj
+19 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]
 endobj
-21 0 obj
+20 0 obj
 <<
 /Length1 1549
 /Length2 10451
@@ -120,7 +120,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-22 0 obj
+21 0 obj
 <<
 /Type /FontDescriptor
 /FontName /DZKJTV+CMR10
@@ -133,34 +133,34 @@ endobj
 /StemV 69
 /XHeight 431
 /CharSet (/a/b/e/four/m/o/one/r/s/t/three/two/x)
-/FontFile 21 0 R
+/FontFile 20 0 R
 >>
 endobj
-9 0 obj
+8 0 obj
 <<
 /Type /Font
 /Subtype /Type1
 /BaseFont /DZKJTV+CMR10
-/FontDescriptor 22 0 R
+/FontDescriptor 21 0 R
 /FirstChar 49
 /LastChar 120
-/Widths 20 0 R
+/Widths 19 0 R
 >>
 endobj
-10 0 obj
+9 0 obj
 <<
 /Type /Pages
 /Count 4
-/Kids [7 0 R 12 0 R 15 0 R 18 0 R]
+/Kids [6 0 R 11 0 R 14 0 R 17 0 R]
 >>
 endobj
-23 0 obj
+22 0 obj
 <<
 /Type /Catalog
-/Pages 10 0 R
+/Pages 9 0 R
 >>
 endobj
-24 0 obj
+23 0 obj
 <<
 /Producer (pdfTeX)
 /Creator (TeX)
@@ -168,37 +168,36 @@ endobj
 >>
 endobj
 xref
-0 25
+0 24
 0000000001 65535 f 
 0000000002 00000 f 
 0000000003 00000 f 
 0000000004 00000 f 
-0000000005 00000 f 
 0000000000 00000 f 
-0000000330 00000 n 
+0000000329 00000 n 
 0000000164 00000 n 
 0000000015 00000 n 
-0000014221 00000 n 
-0000014360 00000 n 
-0000000680 00000 n 
-0000000545 00000 n 
-0000000397 00000 n 
-0000001056 00000 n 
-0000000909 00000 n 
-0000000748 00000 n 
-0000001395 00000 n 
-0000001260 00000 n 
-0000001124 00000 n 
-0000001463 00000 n 
-0000001870 00000 n 
-0000013969 00000 n 
-0000014439 00000 n 
-0000014490 00000 n 
+0000014217 00000 n 
+0000014356 00000 n 
+0000000678 00000 n 
+0000000544 00000 n 
+0000000396 00000 n 
+0000001053 00000 n 
+0000000907 00000 n 
+0000000746 00000 n 
+0000001391 00000 n 
+0000001257 00000 n 
+0000001121 00000 n 
+0000001459 00000 n 
+0000001866 00000 n 
+0000013965 00000 n 
+0000014434 00000 n 
+0000014484 00000 n 
 trailer
-<< /Size 25
-/Root 23 0 R
-/Info 24 0 R
+<< /Size 24
+/Root 22 0 R
+/Info 23 0 R
  >>
 startxref
-14562
+14556
 %%EOF
diff --git a/testfiles/pageattr.xetex.tpf b/testfiles/pageattr.xetex.tpf
index 0462ccf..c82572e 100644
--- a/testfiles/pageattr.xetex.tpf
+++ b/testfiles/pageattr.xetex.tpf
@@ -1,64 +1,76 @@
 %PDF-1.5
 %äðíø
-6 0 obj
+10 0 obj
 <</Length 137>>
 stream
  q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 76.712 -62.765 Td[<00620051004b0032>-333<0069003200740069>]TJ 154.421 -567.87 Td[<0052>]TJ ET Q
 endstream
 endobj
-7 0 obj
-<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+11 0 obj
+<</ExtGState 4 0 R/ColorSpace 5 0 R/Pattern 6 0 R/Shading 7 0 R/Font<</F1 9 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
-9 0 obj
+13 0 obj
 <</Length 163>>
 stream
  q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 76.712 -62.765 Td[<00620051004b00320069003200740069004b0051006000320069003200740069>]TJ 154.421 -567.87 Td[<006b>]TJ ET Q
 endstream
 endobj
-10 0 obj
-<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+14 0 obj
+<</ExtGState 4 0 R/ColorSpace 5 0 R/Pattern 6 0 R/Shading 7 0 R/Font<</F1 9 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
-12 0 obj
+16 0 obj
 <</Length 116>>
 stream
  q 1 0 0 1 72 769.89 cm q 61.768 -539.373 28.346 425.197 re f Q BT /F1 9.9626 Tf 231.133 -630.635 Td[<006a>]TJ ET Q
 endstream
 endobj
-13 0 obj
-<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+17 0 obj
+<</ExtGState 4 0 R/ColorSpace 5 0 R/Pattern 6 0 R/Shading 7 0 R/Font<</F1 9 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
-15 0 obj
+19 0 obj
 <</Length 115>>
 stream
  q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 76.712 -62.765 Td[<001c002300230023>]TJ 154.421 -567.87 Td[<0039>]TJ ET Q
 endstream
 endobj
-16 0 obj
-<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+20 0 obj
+<</ExtGState 4 0 R/ColorSpace 5 0 R/Pattern 6 0 R/Shading 7 0 R/Font<</F1 9 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+4 0 obj
+<<>>
+endobj
+5 0 obj
+<<>>
+endobj
+6 0 obj
+<<>>
+endobj
+7 0 obj
+<<>>
 endobj
 3 0 obj
-<</Rotate 90/CropBox[0 0 300 350]/SSS(somesetting)/Resources 7 0 R/Type/Page/Parent
-17 0 R/Contents[6 0 R]>>
+<</Rotate 90/CropBox[0 0 300 350]/SSS(somesetting)/Resources 11 0 R/Type/Page/Parent
+21 0 R/Contents[10 0 R]>>
 endobj
-8 0 obj
-<</SSS(somesetting)/Resources 10 0 R/Type/Page/Parent 17 0 R/Contents[9 0 R]>>
+12 0 obj
+<</SSS(somesetting)/Resources 14 0 R/Type/Page/Parent 21 0 R/Contents[13 0 R]>>
 endobj
-11 0 obj
-<</SSS(somesetting)/Rotate -90/Resources 13 0 R/Type/Page/Parent 17 0 R/Contents[12 0 R]>>
+15 0 obj
+<</SSS(somesetting)/Rotate -90/Resources 17 0 R/Type/Page/Parent 21 0 R/Contents[16 0 R]>>
 endobj
-14 0 obj
-<</SSS(somesetting)/Resources 16 0 R/Type/Page/Parent 17 0 R/Contents[15 0 R]>>
+18 0 obj
+<</SSS(somesetting)/Resources 20 0 R/Type/Page/Parent 21 0 R/Contents[19 0 R]>>
 endobj
-17 0 obj
-<</Type/Pages/Count 4/Kids[3 0 R 8 0 R 11 0 R 14 0 R]/MediaBox[0 0 595.28 841.89]>>
+21 0 obj
+<</Type/Pages/Count 4/Kids[3 0 R 12 0 R 15 0 R 18 0 R]/MediaBox[0 0 595.28 841.89]>>
 endobj
 2 0 obj
 <</Creator(TeX)/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
 endobj
 1 0 obj
-<</Pages 17 0 R/Type/Catalog>>
+<</Pages 21 0 R/Type/Catalog>>
 endobj
-18 0 obj
+22 0 obj
 <</Length 525>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -95,58 +107,62 @@ end
 end
 endstream
 endobj
-20 0 obj
+24 0 obj
 <</Subtype/CIDFontType0C/Length 2143>>
 [BINARY STREAM]
 endobj
-21 0 obj
+25 0 obj
 [28[500]35[556]50[444]57[500]75[833]81[500 500]96[392]98[394]105[389 500 500]116[528]]
 endobj
-22 0 obj
+26 0 obj
 <</Length 15>>
 [BINARY STREAM]
 endobj
-4 0 obj
+8 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/APWWDF+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 19 0 R/DW 280/W 21 0 R>>
+0>>/FontDescriptor 23 0 R/DW 280/W 25 0 R>>
 endobj
-19 0 obj
+23 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/APWWDF+LMRoman10-Regular/FontFile3
-20 0 R/CIDSet 22 0 R>>
+24 0 R/CIDSet 26 0 R>>
 endobj
-5 0 obj
-<</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[4 0 R]/ToUnicode
-18 0 R>>
+9 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[8 0 R]/ToUnicode
+22 0 R>>
 endobj
 xref
-0 23
+0 27
 0000000000 65535 f 
-0000001671 00000 n 
-0000001580 00000 n 
-0000001059 00000 n 
-0000004675 00000 n 
-0000005125 00000 n 
+0000002003 00000 n 
+0000001912 00000 n 
+0000001386 00000 n 
+0000001306 00000 n 
+0000001326 00000 n 
+0000001346 00000 n 
+0000001366 00000 n 
+0000005007 00000 n 
+0000005457 00000 n 
 0000000015 00000 n 
-0000000201 00000 n 
-0000001183 00000 n 
-0000000279 00000 n 
-0000000491 00000 n 
-0000001277 00000 n 
-0000000570 00000 n 
-0000000736 00000 n 
-0000001384 00000 n 
-0000000815 00000 n 
-0000000980 00000 n 
-0000001480 00000 n 
-0000001717 00000 n 
-0000004864 00000 n 
-0000002292 00000 n 
-0000004508 00000 n 
-0000004611 00000 n 
+0000000202 00000 n 
+0000001512 00000 n 
+0000000342 00000 n 
+0000000555 00000 n 
+0000001608 00000 n 
+0000000695 00000 n 
+0000000861 00000 n 
+0000001715 00000 n 
+0000001001 00000 n 
+0000001166 00000 n 
+0000001811 00000 n 
+0000002049 00000 n 
+0000005196 00000 n 
+0000002624 00000 n 
+0000004840 00000 n 
+0000004943 00000 n 
 trailer
 <</Root 1 0 R/Info 2 0 R/ID[<e101807412511fb6436de4958aee6fad><e101807412511fb6436de4958aee6fad>]/Size
-23>>
+27>>
 startxref
-5274
+5606
 %%EOF
diff --git a/testfiles/pagesattr.luatex.tpf b/testfiles/pagesattr.luatex.tpf
index ce8fcd1..816479b 100644
--- a/testfiles/pagesattr.luatex.tpf
+++ b/testfiles/pagesattr.luatex.tpf
@@ -1,6 +1,6 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
-8 0 obj
+7 0 obj
 << /Length 132 >>        
 stream
 BT
@@ -10,27 +10,27 @@ BT
 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 >>
-endobj
 6 0 obj
-<< /Font << /F25 9 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /Type /Page /Contents 7 0 R /Resources 5 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 9 0 R >>
 endobj
-11 0 obj
+5 0 obj
+<< /Font << /F25 8 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+10 0 obj
 [ 50 [ 444 ] 75 [ 833 ] 81 [ 500 500 ] 98 [ 394 ] 105 [ 389 ] 116 [ 528 ] ]
 endobj
-13 0 obj
+12 0 obj
 << /Length 15 >>         
 [BINARY STREAM]
 endobj
-14 0 obj
+13 0 obj
 << /Subtype /CIDFontType0C /Length 1413 >>       
 [BINARY STREAM]
 endobj
-12 0 obj
-<< /Type /FontDescriptor /FontName /KRCLMV+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 14 0 R /CIDSet 13 0 R >>
+11 0 obj
+<< /Type /FontDescriptor /FontName /KRCLMV+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 13 0 R /CIDSet 12 0 R >>
 endobj
-15 0 obj
+14 0 obj
 << /Length 776 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
@@ -72,44 +72,43 @@ end
 %%EOF
 endstream
 endobj
+8 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /KRCLMV+LMRoman10-Regular /DescendantFonts [ 15 0 R ] /ToUnicode 14 0 R >>
+endobj
+15 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /KRCLMV+LMRoman10-Regular /FontDescriptor 11 0 R /W 10 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
 9 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /KRCLMV+LMRoman10-Regular /DescendantFonts [ 16 0 R ] /ToUnicode 15 0 R >>
+<< /Type /Pages /YYY (y22) /ZZZ (zzz) /SSS (somesetting)   /Count 1 /Kids [ 6 0 R ] >>
 endobj
 16 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /KRCLMV+LMRoman10-Regular /FontDescriptor 12 0 R /W 11 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
-endobj
-10 0 obj
-<< /Type /Pages /YYY (y22) /ZZZ (zzz) /SSS (somesetting)   /Count 1 /Kids [ 7 0 R ] >>
+<< /Type /Catalog /Pages 9 0 R >>
 endobj
 17 0 obj
-<< /Type /Catalog /Pages 10 0 R >>
-endobj
-18 0 obj
 << /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
 endobj
 xref
-0 19
+0 18
 0000000001 65535 f 
 0000000002 00000 f 
 0000000003 00000 f 
 0000000004 00000 f 
-0000000005 00000 f 
 0000000000 00000 f 
-0000000325 00000 n 
+0000000324 00000 n 
 0000000211 00000 n 
 0000000020 00000 n 
-0000003129 00000 n 
-0000003482 00000 n 
-0000000393 00000 n 
-0000002057 00000 n 
-0000000485 00000 n 
-0000000560 00000 n 
-0000002293 00000 n 
-0000003282 00000 n 
-0000003585 00000 n 
-0000003636 00000 n 
+0000003128 00000 n 
+0000003481 00000 n 
+0000000392 00000 n 
+0000002056 00000 n 
+0000000484 00000 n 
+0000000559 00000 n 
+0000002292 00000 n 
+0000003281 00000 n 
+0000003583 00000 n 
+0000003633 00000 n 
 trailer
-<< /Size 19 /Root 17 0 R /Info 18 0 R >>
+<< /Size 18 /Root 16 0 R /Info 17 0 R >>
 startxref
-3708
+3705
 %%EOF
diff --git a/testfiles/pagesattr.tpf b/testfiles/pagesattr.tpf
index 8bbcf96..a48b9de 100644
--- a/testfiles/pagesattr.tpf
+++ b/testfiles/pagesattr.tpf
@@ -1,6 +1,6 @@
 %PDF-1.5
 %ÐÔÅØ
-8 0 obj
+7 0 obj
 <<
 /Length 91        
 >>
@@ -10,25 +10,25 @@ BT
 ET
 endstream
 endobj
-7 0 obj
+6 0 obj
 <<
 /Type /Page
-/Contents 8 0 R
-/Resources 6 0 R
+/Contents 7 0 R
+/Resources 5 0 R
 /MediaBox [0 0 595.276 841.89]
-/Parent 10 0 R
+/Parent 9 0 R
 >>
 endobj
-6 0 obj
+5 0 obj
 <<
-/Font << /F8 9 0 R >>
+/Font << /F8 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-11 0 obj
+10 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]
 endobj
-12 0 obj
+11 0 obj
 <<
 /Length1 1455
 /Length2 9286
@@ -37,7 +37,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-13 0 obj
+12 0 obj
 <<
 /Type /FontDescriptor
 /FontName /CTWJDN+CMR10
@@ -50,35 +50,35 @@ endobj
 /StemV 69
 /XHeight 431
 /CharSet (/e/m/o/one/s/t/x)
-/FontFile 12 0 R
+/FontFile 11 0 R
 >>
 endobj
-9 0 obj
+8 0 obj
 <<
 /Type /Font
 /Subtype /Type1
 /BaseFont /CTWJDN+CMR10
-/FontDescriptor 13 0 R
+/FontDescriptor 12 0 R
 /FirstChar 49
 /LastChar 120
-/Widths 11 0 R
+/Widths 10 0 R
 >>
 endobj
-10 0 obj
+9 0 obj
 <<
 /Type /Pages
 /Count 1
-/Kids [7 0 R]
+/Kids [6 0 R]
 /YYY (y22) /ZZZ (zzz) /SSS (somesetting) 
 >>
 endobj
-14 0 obj
+13 0 obj
 <<
 /Type /Catalog
-/Pages 10 0 R
+/Pages 9 0 R
 >>
 endobj
-15 0 obj
+14 0 obj
 <<
 /Producer (pdfTeX)
 /Creator (TeX)
@@ -86,28 +86,27 @@ endobj
 >>
 endobj
 xref
-0 16
+0 15
 0000000001 65535 f 
 0000000002 00000 f 
 0000000003 00000 f 
 0000000004 00000 f 
-0000000005 00000 f 
 0000000000 00000 f 
-0000000276 00000 n 
+0000000275 00000 n 
 0000000164 00000 n 
 0000000015 00000 n 
-0000011820 00000 n 
-0000011959 00000 n 
-0000000343 00000 n 
-0000000750 00000 n 
-0000011589 00000 n 
-0000012059 00000 n 
-0000012110 00000 n 
+0000011819 00000 n 
+0000011958 00000 n 
+0000000342 00000 n 
+0000000749 00000 n 
+0000011588 00000 n 
+0000012057 00000 n 
+0000012107 00000 n 
 trailer
-<< /Size 16
-/Root 14 0 R
-/Info 15 0 R
+<< /Size 15
+/Root 13 0 R
+/Info 14 0 R
  >>
 startxref
-12182
+12179
 %%EOF
diff --git a/testfiles/pagesattr.xetex.tpf b/testfiles/pagesattr.xetex.tpf
index 9dd412f..404e598 100644
--- a/testfiles/pagesattr.xetex.tpf
+++ b/testfiles/pagesattr.xetex.tpf
@@ -1,18 +1,30 @@
 %PDF-1.5
 %äðíø
-6 0 obj
+10 0 obj
 <</Length 137>>
 stream
  q 1 0 0 1 72 769.89 cm BT /F1 9.9626 Tf 76.712 -62.765 Td[<00620051004b0032>-333<0069003200740069>]TJ 154.421 -567.87 Td[<0052>]TJ ET Q
 endstream
 endobj
+11 0 obj
+<</ExtGState 4 0 R/ColorSpace 5 0 R/Pattern 6 0 R/Shading 7 0 R/Font<</F1 9 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+4 0 obj
+<<>>
+endobj
+5 0 obj
+<<>>
+endobj
+6 0 obj
+<<>>
+endobj
 7 0 obj
-<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+<<>>
 endobj
 3 0 obj
-<</Resources 7 0 R/Type/Page/Parent 8 0 R/Contents[6 0 R]>>
+<</Resources 11 0 R/Type/Page/Parent 12 0 R/Contents[10 0 R]>>
 endobj
-8 0 obj
+12 0 obj
 <</YYY(y22)/ZZZ(zzz)/SSS(somesetting)/Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0
 595.28 841.89]>>
 endobj
@@ -20,9 +32,9 @@ endobj
 <</Creator(TeX)/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
 endobj
 1 0 obj
-<</Pages 8 0 R/Type/Catalog>>
+<</Pages 12 0 R/Type/Catalog>>
 endobj
-9 0 obj
+13 0 obj
 <</Length 440>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -53,49 +65,53 @@ end
 end
 endstream
 endobj
-11 0 obj
+15 0 obj
 <</Subtype/CIDFontType0C/Length 1387>>
 [BINARY STREAM]
 endobj
-12 0 obj
+16 0 obj
 [50[444]75[833]81[500 500]98[394]105[389]116[528]]
 endobj
-13 0 obj
+17 0 obj
 <</Length 15>>
 [BINARY STREAM]
 endobj
-4 0 obj
+8 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/APWWDF+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 10 0 R/DW 280/W 12 0 R>>
+0>>/FontDescriptor 14 0 R/DW 280/W 16 0 R>>
 endobj
-10 0 obj
+14 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/APWWDF+LMRoman10-Regular/FontFile3
-11 0 R/CIDSet 13 0 R>>
+15 0 R/CIDSet 17 0 R>>
 endobj
-5 0 obj
-<</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[4 0 R]/ToUnicode
-9 0 R>>
+9 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[8 0 R]/ToUnicode
+13 0 R>>
 endobj
 xref
-0 14
+0 18
 0000000000 65535 f 
-0000000559 00000 n 
-0000000468 00000 n 
-0000000279 00000 n 
-0000002684 00000 n 
-0000003134 00000 n 
+0000000706 00000 n 
+0000000615 00000 n 
+0000000422 00000 n 
+0000000342 00000 n 
+0000000362 00000 n 
+0000000382 00000 n 
+0000000402 00000 n 
+0000002833 00000 n 
+0000003283 00000 n 
 0000000015 00000 n 
-0000000201 00000 n 
-0000000354 00000 n 
-0000000604 00000 n 
-0000002873 00000 n 
-0000001093 00000 n 
-0000002553 00000 n 
-0000002620 00000 n 
+0000000202 00000 n 
+0000000500 00000 n 
+0000000752 00000 n 
+0000003022 00000 n 
+0000001242 00000 n 
+0000002702 00000 n 
+0000002769 00000 n 
 trailer
 <</Root 1 0 R/Info 2 0 R/ID[<6c384a59e70ac0b4d4e66a031726ce1c><6c384a59e70ac0b4d4e66a031726ce1c>]/Size
-14>>
+18>>
 startxref
-3282
+3432
 %%EOF
diff --git a/testfiles/version-compare.luatex.tlg b/testfiles/version-compare.luatex.tlg
index 34c3217..d31efa7 100644
--- a/testfiles/version-compare.luatex.tlg
+++ b/testfiles/version-compare.luatex.tlg
@@ -6,6 +6,9 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 (Font)              <5> on input line ....
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0, direction TLT
+.\hbox(0.0+0.0)x0.0, direction TLT
+..\latelua0{l3kernel.__pdf.backend_PageN_gpush(tex.count["g__pdf_abspage_int"])
+}
 .\glue 16.0
 .\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
 ..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
@@ -184,12 +187,10 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/lmr/m/n/10 1
 ...\glue 0.0 plus 1.0fil
-.\kern-633.0
-.\hbox(0.0+0.0)x0.0, direction TLT
-..\kern-72.26999
-..\vbox(0.0+0.0)x0.0, glue set 72.26999fil, direction TLT
-...\kern-72.26999
-...\hbox(0.0+0.0)x0.0, direction TLT
-...\glue 0.0 plus 1.0fil minus 1.0fil
-.\kern633.0
+.\kern0.0
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line ....
+Package atveryend Info: Executing hook `AfterLastShipout' on input line ...
 (version-compare.aux)
+Package atveryend Info: Empty hook `AtVeryEndDocument' on input line ....
+Package atveryend Info: Empty hook `AtEndAfterFileList' on input line ....
+Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line ....
diff --git a/testfiles/version-compare.tlg b/testfiles/version-compare.tlg
index ad250b7..bcb3ab1 100644
--- a/testfiles/version-compare.tlg
+++ b/testfiles/version-compare.tlg
@@ -6,6 +6,7 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 (Font)              <5> on input line ....
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0
+.\hbox(0.0+0.0)x0.0
 .\glue 16.0
 .\vbox(617.0+0.0)x345.0, shifted 62.0
 ..\vbox(12.0+0.0)x345.0, glue set 12.0fil
@@ -148,12 +149,10 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\OT1/cmr/m/n/10 1
 ...\glue 0.0 plus 1.0fil
-.\kern -633.0
-.\hbox(0.0+0.0)x0.0
-..\kern -72.26999
-..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
-...\kern -72.26999
-...\hbox(0.0+0.0)x0.0
-...\glue 0.0 plus 1.0fil minus 1.0fil
-.\kern 633.0
+.\kern 0.0
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line ....
+Package atveryend Info: Executing hook `AfterLastShipout' on input line ...
 (version-compare.aux)
+Package atveryend Info: Empty hook `AtVeryEndDocument' on input line ....
+Package atveryend Info: Empty hook `AtEndAfterFileList' on input line ....
+Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line ....
diff --git a/testfiles/version-compare.xetex.tlg b/testfiles/version-compare.xetex.tlg
index 5536c48..d3e1378 100644
--- a/testfiles/version-compare.xetex.tlg
+++ b/testfiles/version-compare.xetex.tlg
@@ -4,22 +4,16 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 (Font)              <7> on input line ....
 LaTeX Font Info:    External font `cmex10' loaded for size
 (Font)              <5> on input line ....
-! Undefined control sequence.
-<argument> ..._global:D \__driver_pdf_pagesattr:n 
-                                                  {}
-l. ...\end{document}
-The control sequence at the end of the top line
-of your error message was never \def'ed. If you have
-misspelled it (e.g., `\hobx'), type `I' and the correct
-spelling (e.g., `I\hbox'). Otherwise just continue,
-and I'll forget about whatever was undefined.
-! You can't use a prefix with `begin-group character {'.
-<to be read again> 
-                   {
-l. ...\end{document}
-I'll pretend you didn't say \long or \outer or \global or \protected.
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line ....
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0
+.\hbox(0.0+0.0)x0.0
+..\special{pdf: put @thispage <<>>}
+..\special{pdf:put @resources <</ExtGState @pdf.obj1>>}
+..\special{pdf:put @resources <</ColorSpace @pdf.obj2>>}
+..\special{pdf:put @resources <</Pattern @pdf.obj3>>}
+..\special{pdf:put @resources <</Shading @pdf.obj4>>}
+..\special{pdf:put @pages <<>>}
 .\glue 16.0
 .\vbox(617.0+0.0)x345.0, shifted 62.0
 ..\vbox(12.0+0.0)x345.0, glue set 12.0fil
@@ -29,6 +23,10 @@ Completed box being shipped out [1]
 ..\glue(\lineskip) 0.0
 ..\vbox(550.0+0.0)x345.0, glue set 467.95001fil
 ...\write-{}
+...\special{pdf:obj @pdf.obj1 <<  >>}
+...\special{pdf:obj @pdf.obj2 <<  >>}
+...\special{pdf:obj @pdf.obj3 <<  >>}
+...\special{pdf:obj @pdf.obj4 <<  >>}
 ...\glue(\topskip) 3.23
 ...\hbox(6.77+0.39098)x345.0, glue set 284.4122fil
 ....\hbox(0.0+0.0)x15.0
@@ -123,4 +121,9 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/lmr/m/n/10 1
 ...\glue 0.0 plus 1.0fil
+.\kern 0.0
+Package atveryend Info: Executing hook `AfterLastShipout' on input line ...
 (version-compare.aux)
+Package atveryend Info: Empty hook `AtVeryEndDocument' on input line ....
+Package atveryend Info: Empty hook `AtEndAfterFileList' on input line ....
+Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line ....





More information about the latex3-commits mailing list