[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: changed transparent test, correkt viewerpref test (383d1ce)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Aug 27 23:55:07 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : backendtest
Link       : https://github.com/latex3/pdfresources/commit/383d1ce9835d8ac44f993e3499c2c41c2e0d2328

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

commit 383d1ce9835d8ac44f993e3499c2c41c2e0d2328
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Aug 27 23:55:07 2019 +0200

    changed transparent test, correkt viewerpref test


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

383d1ce9835d8ac44f993e3499c2c41c2e0d2328
 testfiles-noxetex/extgstate-patches.pdftex.tpf     |  30 ++--
 testfiles-noxetex/extgstate-patches.pvt            |   2 +-
 testfiles-noxetex/extgstate-patches.tpf            |  36 ++--
 .../test-new-transparent.pdftex.tpf                |  55 +++---
 testfiles-noxetex/test-new-transparent.pvt         |  19 ++
 .../test-new-transparent.tpf                       | 100 +++++------
 testfiles-pool/extgstate-patches.luatex.tpf        | 193 --------------------
 testfiles-pool/extgstate-patches.pvt               |  25 ---
 testfiles-pool/extgstate-patches.tpf               | 194 ---------------------
 testfiles-pool/transparent.pvt                     |   6 +-
 testfiles/viewerpreferences.luatex.tpf             |  96 +++++-----
 testfiles/viewerpreferences.tpf                    |  76 ++++----
 testfiles/viewerpreferences.xetex.tpf              |  67 +++----
 13 files changed, 246 insertions(+), 653 deletions(-)

diff --git a/testfiles-noxetex/extgstate-patches.pdftex.tpf b/testfiles-noxetex/extgstate-patches.pdftex.tpf
index 474c4f2..217a4e4 100644
--- a/testfiles-noxetex/extgstate-patches.pdftex.tpf
+++ b/testfiles-noxetex/extgstate-patches.pdftex.tpf
@@ -22,14 +22,14 @@ endobj
 << /Type/ExtGState /op true /OP true /OPM 1 >>
 endobj
 1 0 obj
-<< /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /TRP.6 <</ca .6/CA .6>> /TRP1 <</ca 1/CA 1>> /pgf at CA0.4  << /CA 0.4 >> /pgf at ca0.4  << /ca 0.4 >> /bearopacity <</ca 0.7/CA 0.7>>  >>
+<< /TRP1 <</ca 1/CA 1>> /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /pgf at CA0.4  << /CA 0.4 >> /pgf at ca0.4  << /ca 0.4 >> /TRP0.6 <</ca 0.6/CA 0.6>> /bearopacity <</ca 0.7/CA 0.7>>  >>
 endobj
 2 0 obj
 << /pgfprgb  [/Pattern /DeviceRGB]  >>
 endobj
 14 0 obj
 <<
-/Length 429       
+/Length 430       
 >>
 stream
 /TRP1 gs
@@ -63,7 +63,7 @@ Q
 1 0 0 1 -148.712 -638.852 cm
 BT
 /F8 9.9626 Tf 148.712 626.896 Td [(ab)-28(c)]TJ
-/TRP.6 gs
+/TRP0.6 gs
  [(XXXXXXXXXX)]TJ
 /TRP1 gs
 0 g 0 G
@@ -151,7 +151,7 @@ xref
 0 22
 0000000003 65535 f 
 0000000442 00000 n 
-0000000634 00000 n 
+0000000637 00000 n 
 0000000004 00000 f 
 0000000000 00000 f 
 0000000015 00000 n 
@@ -161,21 +161,21 @@ xref
 0000000259 00000 n 
 0000000316 00000 n 
 0000000379 00000 n 
-0000001284 00000 n 
-0000001176 00000 n 
-0000000688 00000 n 
-0000011577 00000 n 
-0000011716 00000 n 
-0000001387 00000 n 
-0000001672 00000 n 
-0000011350 00000 n 
-0000011775 00000 n 
-0000011826 00000 n 
+0000001288 00000 n 
+0000001180 00000 n 
+0000000691 00000 n 
+0000011581 00000 n 
+0000011720 00000 n 
+0000001391 00000 n 
+0000001676 00000 n 
+0000011354 00000 n 
+0000011779 00000 n 
+0000011830 00000 n 
 trailer
 << /Size 22
 /Root 20 0 R
 /Info 21 0 R
  >>
 startxref
-11898
+11902
 %%EOF
diff --git a/testfiles-noxetex/extgstate-patches.pvt b/testfiles-noxetex/extgstate-patches.pvt
index bc45c9a..92e8657 100644
--- a/testfiles-noxetex/extgstate-patches.pvt
+++ b/testfiles-noxetex/extgstate-patches.pvt
@@ -9,7 +9,7 @@
 \input{regression-test}
 \documentclass{article}
 
-\usepackage{tikz,transparent}
+\usepackage{tikz,new-transparent}
 \usetikzlibrary{patterns,shadings}
 \usepackage[overprint]{colorspace}
 
diff --git a/testfiles-noxetex/extgstate-patches.tpf b/testfiles-noxetex/extgstate-patches.tpf
index 67c7c11..7a9f800 100644
--- a/testfiles-noxetex/extgstate-patches.tpf
+++ b/testfiles-noxetex/extgstate-patches.tpf
@@ -22,13 +22,13 @@ endobj
 << /Type/ExtGState /op true /OP true /OPM 1 >>
 endobj
 1 0 obj
-<< /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /TRP.6 <</ca .6/CA .6>> /TRP1 <</ca 1/CA 1>> /pgf at CA0.4  << /CA 0.4 >> /pgf at ca0.4  << /ca 0.4 >> /bearopacity <</ca 0.7/CA 0.7>>  >>
+<< /TRP1 <</ca 1/CA 1>> /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /pgf at CA0.4  << /CA 0.4 >> /pgf at ca0.4  << /ca 0.4 >> /TRP0.6 <</ca 0.6/CA 0.6>> /bearopacity <</ca 0.7/CA 0.7>>  >>
 endobj
 2 0 obj
 << /pgfprgb  [/Pattern /DeviceRGB]  >>
 endobj
 14 0 obj
-<< /Length 512 >>        
+<< /Length 513 >>        
 stream
 /TRP1 gs
 /SPCop gs 
@@ -62,7 +62,7 @@ Q
 BT
 /F25 9.96264 Tf
 1 0 0 1 148.712 626.896 Tm [<001C0023>-28<002B>]TJ
-/TRP.6 gs
+/TRP0.6 gs
 1 0 0 1 163.935 626.896 Tm [<0073007300730073007300730073007300730073>]TJ
 /TRP1 gs
 0 g 0 G
@@ -150,7 +150,7 @@ xref
 0 25
 0000000003 65535 f 
 0000000447 00000 n 
-0000000639 00000 n 
+0000000642 00000 n 
 0000000004 00000 f 
 0000000000 00000 f 
 0000000020 00000 n 
@@ -160,21 +160,21 @@ xref
 0000000264 00000 n 
 0000000321 00000 n 
 0000000384 00000 n 
-0000001375 00000 n 
-0000001265 00000 n 
-0000000693 00000 n 
-0000003896 00000 n 
-0000004250 00000 n 
-0000001479 00000 n 
-0000002852 00000 n 
-0000001555 00000 n 
-0000001630 00000 n 
-0000003088 00000 n 
-0000004050 00000 n 
-0000004312 00000 n 
-0000004363 00000 n 
+0000001379 00000 n 
+0000001269 00000 n 
+0000000696 00000 n 
+0000003900 00000 n 
+0000004254 00000 n 
+0000001483 00000 n 
+0000002856 00000 n 
+0000001559 00000 n 
+0000001634 00000 n 
+0000003092 00000 n 
+0000004054 00000 n 
+0000004316 00000 n 
+0000004367 00000 n 
 trailer
 << /Size 25 /Root 23 0 R /Info 24 0 R >>
 startxref
-4435
+4439
 %%EOF
diff --git a/testfiles/pagesattr.tpf b/testfiles-noxetex/test-new-transparent.pdftex.tpf
similarity index 65%
copy from testfiles/pagesattr.tpf
copy to testfiles-noxetex/test-new-transparent.pdftex.tpf
index a48b9de..bda618f 100644
--- a/testfiles/pagesattr.tpf
+++ b/testfiles-noxetex/test-new-transparent.pdftex.tpf
@@ -1,12 +1,23 @@
 %PDF-1.5
 %ÐÔÅØ
+1 0 obj
+<< /TRP1 <</ca 1/CA 1>> /duckopacity <</ca 0.2/CA 0.2>> /TRP0.5 <</ca 0.5/CA 0.5>> /TRP0.3 <</ca 0.3/CA 0.3>> /TRP0.4 <</ca 0.4/CA 0.4>>  >>
+endobj
 7 0 obj
 <<
-/Length 91        
+/Length 168       
 >>
 stream
+/TRP1 gs
+/TRP0.5 gs
 BT
-/F8 9.9626 Tf 148.712 707.125 Td [(some)-333(te)-1(xt)]TJ 154.421 -567.87 Td [(1)]TJ
+/F8 9.9626 Tf 148.712 707.125 Td [(xxxxxxxxxxx)]TJ
+/TRP1 gs
+/TRP0.3 gs
+ [-333(xxxxxxxxxxx)]TJ
+/TRP1 gs
+/TRP0.4 gs
+ 154.421 -567.87 Td [(1)]TJ
 ET
 endstream
 endobj
@@ -21,6 +32,7 @@ endobj
 endobj
 5 0 obj
 <<
+/ExtGState 1 0 R
 /Font << /F8 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
@@ -30,17 +42,17 @@ endobj
 endobj
 11 0 obj
 <<
-/Length1 1455
-/Length2 9286
+/Length1 1380
+/Length2 6282
 /Length3 0
-/Length 10741     
+/Length 7662      
 >>
 [BINARY STREAM]
 endobj
 12 0 obj
 <<
 /Type /FontDescriptor
-/FontName /CTWJDN+CMR10
+/FontName /XKHRBG+CMR10
 /Flags 4
 /FontBBox [-40 -250 1009 750]
 /Ascent 694
@@ -49,7 +61,7 @@ endobj
 /ItalicAngle 0
 /StemV 69
 /XHeight 431
-/CharSet (/e/m/o/one/s/t/x)
+/CharSet (/one/x)
 /FontFile 11 0 R
 >>
 endobj
@@ -57,7 +69,7 @@ endobj
 <<
 /Type /Font
 /Subtype /Type1
-/BaseFont /CTWJDN+CMR10
+/BaseFont /XKHRBG+CMR10
 /FontDescriptor 12 0 R
 /FirstChar 49
 /LastChar 120
@@ -69,7 +81,6 @@ endobj
 /Type /Pages
 /Count 1
 /Kids [6 0 R]
-/YYY (y22) /ZZZ (zzz) /SSS (somesetting) 
 >>
 endobj
 13 0 obj
@@ -87,26 +98,26 @@ endobj
 endobj
 xref
 0 15
-0000000001 65535 f 
-0000000002 00000 f 
+0000000002 65535 f 
+0000000015 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000000275 00000 n 
-0000000164 00000 n 
-0000000015 00000 n 
-0000011819 00000 n 
-0000011958 00000 n 
-0000000342 00000 n 
-0000000749 00000 n 
-0000011588 00000 n 
-0000012057 00000 n 
-0000012107 00000 n 
+0000000508 00000 n 
+0000000397 00000 n 
+0000000171 00000 n 
+0000008980 00000 n 
+0000009119 00000 n 
+0000000592 00000 n 
+0000000999 00000 n 
+0000008759 00000 n 
+0000009176 00000 n 
+0000009226 00000 n 
 trailer
 << /Size 15
 /Root 13 0 R
 /Info 14 0 R
  >>
 startxref
-12179
+9298
 %%EOF
diff --git a/testfiles-noxetex/test-new-transparent.pvt b/testfiles-noxetex/test-new-transparent.pvt
new file mode 100644
index 0000000..a06cdd8
--- /dev/null
+++ b/testfiles-noxetex/test-new-transparent.pvt
@@ -0,0 +1,19 @@
+% !Mode:: "TeX:UTF-8:Main"
+\input{regression-test}
+\RequirePackage[enable-debug,check-declarations]{expl3}
+\RequirePackage{pdfresources}
+\DeclareDocumentMetaData{uncompress}
+\documentclass{article}
+\makeatletter
+%\usepackage{transparent}
+\usepackage{new-transparent}
+\begin{document}
+%\START
+\ExplSyntaxOn
+\pdf_pageresources_gput:nnn{ExtGState}{duckopacity}{<</ca~0.2/CA~0.2>>}
+\ExplSyntaxOff
+\texttransparent{0.5}{xxxxxxxxxxx}
+\texttransparent{0.3}{xxxxxxxxxxx}
+\transparent{0.4} 
+%\lipsum
+\end{document} 
\ No newline at end of file
diff --git a/testfiles-pool/transparent.luatex.tpf b/testfiles-noxetex/test-new-transparent.tpf
similarity index 62%
copy from testfiles-pool/transparent.luatex.tpf
copy to testfiles-noxetex/test-new-transparent.tpf
index 7282994..81f74f3 100644
--- a/testfiles-pool/transparent.luatex.tpf
+++ b/testfiles-noxetex/test-new-transparent.tpf
@@ -1,57 +1,46 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
-8 0 obj
-<< /Length 263 >>        
+1 0 obj
+<< /TRP1 <</ca 1/CA 1>> /duckopacity <</ca 0.2/CA 0.2>> /TRP0.5 <</ca 0.5/CA 0.5>> /TRP0.3 <</ca 0.3/CA 0.3>> /TRP0.4 <</ca 0.4/CA 0.4>>  >>
+endobj
+7 0 obj
+<< /Length 276 >>        
 stream
 /TRP1 gs
-/TRP.5 gs
+/TRP0.5 gs
 BT
 /F25 9.96264 Tf
 1 0 0 1 148.712 707.125 Tm [<00740074007400740074007400740074007400740074>]TJ
 /TRP1 gs
-/TRP.3 gs
+/TRP0.3 gs
 1 0 0 1 209.893 707.125 Tm [<00740074007400740074007400740074007400740074>]TJ
 /TRP1 gs
+/TRP0.4 gs
 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 >>
-endobj
 6 0 obj
-<< /ExtGState 1 0 R /ColorSpace 2 0 R /Pattern 3 0 R /Shading 4 0 R /Properties 5 0 R  /Font << /F25 9 0 R >> /ProcSet [ /PDF /Text ] >>
-endobj
-1 0 obj
-<< /TRP.5 <</ca .5/CA .5>> /TRP.3 <</ca .3/CA .3>> /TRP1 <</ca 1/CA 1>>  >>
-endobj
-2 0 obj
-<<  >>
-endobj
-3 0 obj
-<<  >>
-endobj
-4 0 obj
-<<  >>
+<< /Type /Page /Contents 7 0 R /Resources 5 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 9 0 R >>
 endobj
 5 0 obj
-<<  >>
+<< /ExtGState 1 0 R /Font << /F25 8 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
-11 0 obj
+10 0 obj
 [ 82 [ 500 ] 116 [ 528 ] ]
 endobj
-13 0 obj
+12 0 obj
 << /Length 15 >>         
 [BINARY STREAM]
 endobj
-14 0 obj
+13 0 obj
 << /Subtype /CIDFontType0C /Length 772 >>        
 [BINARY STREAM]
 endobj
-12 0 obj
-<< /Type /FontDescriptor /FontName /QVKDUG+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 /QVKDUG+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 706 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
@@ -88,44 +77,43 @@ end
 %%EOF
 endstream
 endobj
+8 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /QVKDUG+LMRoman10-Regular /DescendantFonts [ 15 0 R ] /ToUnicode 14 0 R >>
+endobj
+15 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /QVKDUG+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 /QVKDUG+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 /QVKDUG+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) /Creator (TeX) /Trapped /False >>
 endobj
 xref
-0 19
-0000000000 65535 f 
-0000000608 00000 n 
-0000000699 00000 n 
-0000000721 00000 n 
-0000000743 00000 n 
-0000000765 00000 n 
-0000000456 00000 n 
-0000000342 00000 n 
+0 18
+0000000002 65535 f 
 0000000020 00000 n 
-0000002763 00000 n 
-0000003116 00000 n 
-0000000787 00000 n 
-0000001761 00000 n 
-0000000830 00000 n 
-0000000905 00000 n 
-0000001997 00000 n 
-0000002916 00000 n 
-0000003177 00000 n 
-0000003228 00000 n 
+0000000003 00000 f 
+0000000004 00000 f 
+0000000000 00000 f 
+0000000624 00000 n 
+0000000511 00000 n 
+0000000176 00000 n 
+0000002685 00000 n 
+0000003038 00000 n 
+0000000709 00000 n 
+0000001683 00000 n 
+0000000752 00000 n 
+0000000827 00000 n 
+0000001919 00000 n 
+0000002838 00000 n 
+0000003098 00000 n 
+0000003148 00000 n 
 trailer
-<< /Size 19 /Root 17 0 R /Info 18 0 R >>
+<< /Size 18 /Root 16 0 R /Info 17 0 R >>
 startxref
-3300
+3220
 %%EOF
diff --git a/testfiles-pool/extgstate-patches.luatex.tpf b/testfiles-pool/extgstate-patches.luatex.tpf
deleted file mode 100644
index ab0c808..0000000
--- a/testfiles-pool/extgstate-patches.luatex.tpf
+++ /dev/null
@@ -1,193 +0,0 @@
-%PDF-1.5
-%ÌÕÁÔÅØÐÄÆ
-9 0 obj
-<< /Type /ExtGState /op false /OP false >>
-endobj
-10 0 obj
-<< /Type /ExtGState /op true /OP true /OPM 0 >>
-endobj
-11 0 obj
-<< /Type /ExtGState /op true /OP true /OPM 1 >>
-endobj
-12 0 obj
-<< /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R >>
-endobj
-13 0 obj
-<< /Type/ExtGState /op false /OP false >>
-endobj
-14 0 obj
-<< /Type/ExtGState /op true /OP true /OPM 0 >>
-endobj
-15 0 obj
-<< /Type/ExtGState /op true /OP true /OPM 1 >>
-endobj
-18 0 obj
-<< /Length 512 >>        
-stream
-/TRP1 gs
-/SPCop gs 
-0 g 0 G
-0 g 0 G
-0 g 0 G
-1 0 0 1 148.712 638.852 cm
-q 
-0 G 
-0 g 
-0.3985 w 
-q 
-q 
-/pgf at CA0.4 gs 
-/pgf at ca0.4 gs 
-1 0 0 rg 1 0 0 RG
-0.0 0.0 m 
-0.0 0.0 m 
-0.0 28.3468 l 
-28.3468 28.3468 l 
-28.3468 0.0 l 
-h 
-28.3468 28.3468 m 
-f 
-0 g 0 G
-Q 
-Q 
-n 
-Q 
-1 0 0 1 -148.712 -638.852 cm
-BT
-/F25 9.96264 Tf
-1 0 0 1 148.712 626.896 Tm [<001C0023>-28<002B>]TJ
-/TRP.6 gs
-1 0 0 1 163.935 626.896 Tm [<0073007300730073007300730073007300730073>]TJ
-/TRP1 gs
-0 g 0 G
-1 0 0 1 303.133 89.365 Tm [<0052>]TJ
-0 g 0 G
-ET
-endstream
-endobj
-17 0 obj
-<< /Type /Page /Contents 18 0 R /Resources 16 0 R /MediaBox [ 0 0 612 792 ] /Parent 20 0 R >>
-endobj
-16 0 obj
-<< /ExtGState 1 0 R /ColorSpace 2 0 R /Pattern 3 0 R /Shading 4 0 R /Properties 5 0 R  /Font << /F25 19 0 R >> /ProcSet [ /PDF /Text ] >>
-endobj
-1 0 obj
-<< /SPCko 13 0 R /SPCmz 14 0 R /SPCop 15 0 R /TRP.6 <</ca .6/CA .6>> /TRP1 <</ca 1/CA 1>> /pgf at CA0.4  << /CA 0.4 >> /pgf at ca0.4  << /ca 0.4 >>  >>
-endobj
-2 0 obj
-<< /pgfprgb  [/Pattern /DeviceRGB]  >>
-endobj
-3 0 obj
-<<  >>
-endobj
-4 0 obj
-<<  >>
-endobj
-5 0 obj
-<<  >>
-endobj
-21 0 obj
-[ 28 [ 500 ] 35 [ 556 ] 43 [ 444 ] 82 [ 500 ] 115 [ 750 ] ]
-endobj
-23 0 obj
-<< /Length 15 >>         
-[BINARY STREAM]
-endobj
-24 0 obj
-<< /Subtype /CIDFontType0C /Length 1138 >>       
-[BINARY STREAM]
-endobj
-22 0 obj
-<< /Type /FontDescriptor /FontName /LGSPPO+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 24 0 R /CIDSet 23 0 R >>
-endobj
-25 0 obj
-<< /Length 748 >>        
-stream
-%!PS-Adobe-3.0 Resource-CMap
-%%DocumentNeededResources: ProcSet (CIDInit)
-%%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-LGSPPO-LMRoman10-Regular-0)
-%%Title: (TeX-LGSPPO-LMRoman10-Regular-0 TeX LGSPPO-LMRoman10-Regular 0)
-%%Version: 1.000
-%%EndComments
-/CIDInit /ProcSet findresource begin
-12 dict begin
-begincmap
-/CIDSystemInfo
-<< /Registry (TeX)
-/Ordering (LGSPPO-LMRoman10-Regular)
-/Supplement 0
->> def
-/CMapName /TeX-Identity-LGSPPO-LMRoman10-Regular def
-/CMapType 2 def
-1 begincodespacerange
-<0000> <FFFF>
-endcodespacerange
-0 beginbfrange
-endbfrange
-5 beginbfchar
-<001C> <0061>
-<0023> <0062>
-<002B> <0063>
-<0052> <0031>
-<0073> <0058>
-endbfchar
-endcmap
-CMapName currentdict /CMap defineresource pop
-end
-end
-%%EndResource
-%%EOF
-endstream
-endobj
-19 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /LGSPPO+LMRoman10-Regular /DescendantFonts [ 26 0 R ] /ToUnicode 25 0 R >>
-endobj
-26 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /LGSPPO+LMRoman10-Regular /FontDescriptor 22 0 R /W 21 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
-endobj
-20 0 obj
-<< /Type /Pages  /Count 1 /Kids [ 17 0 R ] >>
-endobj
-27 0 obj
-<< /Type /Catalog /Pages 20 0 R >>
-endobj
-28 0 obj
-<< /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
-endobj
-xref
-0 29
-0000000006 65535 f 
-0000001289 00000 n 
-0000001450 00000 n 
-0000001504 00000 n 
-0000001526 00000 n 
-0000001548 00000 n 
-0000000007 00000 f 
-0000000008 00000 f 
-0000000000 00000 f 
-0000000020 00000 n 
-0000000078 00000 n 
-0000000142 00000 n 
-0000000206 00000 n 
-0000000269 00000 n 
-0000000327 00000 n 
-0000000390 00000 n 
-0000001135 00000 n 
-0000001025 00000 n 
-0000000453 00000 n 
-0000003987 00000 n 
-0000004341 00000 n 
-0000001570 00000 n 
-0000002943 00000 n 
-0000001646 00000 n 
-0000001721 00000 n 
-0000003179 00000 n 
-0000004141 00000 n 
-0000004403 00000 n 
-0000004454 00000 n 
-trailer
-<< /Size 29 /Root 27 0 R /Info 28 0 R >>
-startxref
-4526
-%%EOF
diff --git a/testfiles-pool/extgstate-patches.pvt b/testfiles-pool/extgstate-patches.pvt
deleted file mode 100644
index bc45c9a..0000000
--- a/testfiles-pool/extgstate-patches.pvt
+++ /dev/null
@@ -1,25 +0,0 @@
-% NOK /ExtGState 5 0 R  /ExtGState 1 0 R with luatex, pdftex is ok ... 
-% and also two colorspace ....
-% Test doesn't make sense with xelatex/dvips as they don't 
-% work with transparent and colorspace anyway ...
-% the patches looks ok, there are a few duplicates in the object 
-% but nothing harmful
-\RequirePackage[enable-debug,check-declarations]{expl3}
-\RequirePackage[patches]{pdfresources}
-\input{regression-test}
-\documentclass{article}
-
-\usepackage{tikz,transparent}
-\usetikzlibrary{patterns,shadings}
-\usepackage[overprint]{colorspace}
-
-
-\begin{document}
-\tikz\fill[opacity=0.4,red](0,0)rectangle (1,1);
-
-abc\texttransparent{0.6}{XXXXXXXXXX}
-
-\ExplSyntaxOn
-\pdf_pageresources_gput:nnn {ExtGState}{bearopacity}{<</ca~0.7/CA~0.7>>}
-\ExplSyntaxOff
-\end{document} 
\ No newline at end of file
diff --git a/testfiles-pool/extgstate-patches.tpf b/testfiles-pool/extgstate-patches.tpf
deleted file mode 100644
index 3950b77..0000000
--- a/testfiles-pool/extgstate-patches.tpf
+++ /dev/null
@@ -1,194 +0,0 @@
-%PDF-1.5
-%ÐÔÅØ
-9 0 obj
-<< /Type /ExtGState /op false /OP false >>
-endobj
-10 0 obj
-<< /Type /ExtGState /op true /OP true /OPM 0 >>
-endobj
-11 0 obj
-<< /Type /ExtGState /op true /OP true /OPM 1 >>
-endobj
-12 0 obj
-<< /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R >>
-endobj
-13 0 obj
-<< /Type/ExtGState /op false /OP false >>
-endobj
-14 0 obj
-<< /Type/ExtGState /op true /OP true /OPM 0 >>
-endobj
-15 0 obj
-<< /Type/ExtGState /op true /OP true /OPM 1 >>
-endobj
-18 0 obj
-<<
-/Length 429       
->>
-stream
-/TRP1 gs
-/SPCop gs 
-0 g 0 G
-0 g 0 G
-0 g 0 G
-1 0 0 1 148.712 638.852 cm
-q 
-0 G 
-0 g 
-0.3985 w 
-q 
-q 
-/pgf at CA0.4 gs 
-/pgf at ca0.4 gs 
-1 0 0 rg 1 0 0 RG
-0.0 0.0 m 
-0.0 0.0 m 
-0.0 28.3468 l 
-28.3468 28.3468 l 
-28.3468 0.0 l 
-h 
-28.3468 28.3468 m 
-f 
-0 g 0 G
-Q 
-Q 
-n 
-Q 
-1 0 0 1 -148.712 -638.852 cm
-BT
-/F8 9.9626 Tf 148.712 626.896 Td [(ab)-28(c)]TJ
-/TRP.6 gs
- [(XXXXXXXXXX)]TJ
-/TRP1 gs
-0 g 0 G
- 154.421 -537.531 Td [(1)]TJ
-0 g 0 G
-ET
-endstream
-endobj
-17 0 obj
-<<
-/Type /Page
-/Contents 18 0 R
-/Resources 16 0 R
-/MediaBox [0 0 612 792]
-/Parent 20 0 R
->>
-endobj
-16 0 obj
-<<
-/ExtGState 1 0 R /ColorSpace 2 0 R /Pattern 3 0 R /Shading 4 0 R /Properties 5 0 R 
-/Font << /F8 19 0 R >>
-/ProcSet [ /PDF /Text ]
->>
-endobj
-1 0 obj
-<< /SPCko 13 0 R /SPCmz 14 0 R /SPCop 15 0 R /TRP.6 <</ca .6/CA .6>> /TRP1 <</ca 1/CA 1>> /pgf at CA0.4  << /CA 0.4 >> /pgf at ca0.4  << /ca 0.4 >>  >>
-endobj
-2 0 obj
-<< /pgfprgb  [/Pattern /DeviceRGB]  >>
-endobj
-3 0 obj
-<<  >>
-endobj
-4 0 obj
-<<  >>
-endobj
-5 0 obj
-<<  >>
-endobj
-21 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]
-endobj
-22 0 obj
-<<
-/Length1 1421
-/Length2 8159
-/Length3 0
-/Length 9580      
->>
-[BINARY STREAM]
-endobj
-23 0 obj
-<<
-/Type /FontDescriptor
-/FontName /BYEZUZ+CMR10
-/Flags 4
-/FontBBox [-40 -250 1009 750]
-/Ascent 694
-/CapHeight 683
-/Descent -194
-/ItalicAngle 0
-/StemV 69
-/XHeight 431
-/CharSet (/X/a/b/c/one)
-/FontFile 22 0 R
->>
-endobj
-19 0 obj
-<<
-/Type /Font
-/Subtype /Type1
-/BaseFont /BYEZUZ+CMR10
-/FontDescriptor 23 0 R
-/FirstChar 49
-/LastChar 99
-/Widths 21 0 R
->>
-endobj
-20 0 obj
-<<
-/Type /Pages
-/Count 1
-/Kids [17 0 R]
->>
-endobj
-24 0 obj
-<<
-/Type /Catalog
-/Pages 20 0 R
->>
-endobj
-25 0 obj
-<<
-/Producer (pdfTeX)
-/Creator (TeX)
-/Trapped /False
->>
-endobj
-xref
-0 26
-0000000006 65535 f 
-0000001197 00000 n 
-0000001358 00000 n 
-0000001412 00000 n 
-0000001434 00000 n 
-0000001456 00000 n 
-0000000007 00000 f 
-0000000008 00000 f 
-0000000000 00000 f 
-0000000015 00000 n 
-0000000073 00000 n 
-0000000137 00000 n 
-0000000201 00000 n 
-0000000264 00000 n 
-0000000322 00000 n 
-0000000385 00000 n 
-0000001044 00000 n 
-0000000936 00000 n 
-0000000448 00000 n 
-0000011668 00000 n 
-0000011807 00000 n 
-0000001478 00000 n 
-0000001763 00000 n 
-0000011441 00000 n 
-0000011866 00000 n 
-0000011917 00000 n 
-trailer
-<< /Size 26
-/Root 24 0 R
-/Info 25 0 R
- >>
-startxref
-11989
-%%EOF
diff --git a/testfiles-pool/transparent.pvt b/testfiles-pool/transparent.pvt
index 863553d..07d2bba 100644
--- a/testfiles-pool/transparent.pvt
+++ b/testfiles-pool/transparent.pvt
@@ -2,11 +2,15 @@
 \input{regression-test}
 \RequirePackage[enable-debug,check-declarations]{expl3}
 \RequirePackage[patches]{pdfresources}
+\DeclareDocumentMetaData{uncompress}
 \documentclass{article}
+\makeatletter
 \usepackage{transparent} 
 \begin{document}
 \START
-
+\ExplSyntaxOn
+\pdf_pageresources_gput:nnn{ExtGState}{duckopacity}{<</ca~0.2/CA~0.2>>}
+\ExplSyntaxOff
 \texttransparent{0.5}{xxxxxxxxxxx}
 \texttransparent{0.3}{xxxxxxxxxxx}
 \end{document} 
\ No newline at end of file
diff --git a/testfiles/viewerpreferences.luatex.tpf b/testfiles/viewerpreferences.luatex.tpf
index eb4d885..306d136 100644
--- a/testfiles/viewerpreferences.luatex.tpf
+++ b/testfiles/viewerpreferences.luatex.tpf
@@ -13,30 +13,30 @@ endobj
 << /OFF[6 0 R]/AS[<</Event/View/OCGs 8 0 R/Category[/View]>><</Event/Print/OCGs 8 0 R/Category[/Print]>><</Event/Export/OCGs 8 0 R/Category[/Print]>>] >>
 endobj
 11 0 obj
-<< /Length 196 >>        
+<< /Length 142 >>        
 stream
 0 g 0 G
 0 g 0 G
 BT
 /F25 9.96264 Tf
-1 0 0 1 148.712 657.235 Tm [<004E>-333<0079>-333<005F>-333<006600660036004200690029001C0023>-28<002B>]TJ
+1 0 0 1 148.712 657.235 Tm [<001C0023>-28<002B>]TJ
 0 g 0 G
 1 0 0 1 303.133 89.365 Tm [<0052>]TJ
 0 g 0 G
 ET
 endstream
 endobj
-9 0 obj
-<< /Type /Page /Contents 11 0 R /Resources 10 0 R /MediaBox [ 0 0 612 792 ] /Parent 15 0 R >>
+10 0 obj
+<< /Type /Page /Contents 11 0 R /Resources 9 0 R /MediaBox [ 0 0 612 792 ] /Parent 15 0 R >>
 endobj
 12 0 obj
-<< /D [ 9 0 R /XYZ 132.768 705.06 null ] >>
+<< /D [ 10 0 R /XYZ 132.768 705.06 null ] >>
 endobj
-14 0 obj
-<< /D [ 9 0 R /XYZ 201.843 657.235 null ] >>
+13 0 obj
+<< /D [ 10 0 R /XYZ 133.768 667.198 null ] >>
 endobj
-10 0 obj
-<< /Font << /F25 13 0 R >> /ProcSet [ /PDF /Text ] >>
+9 0 obj
+<< /Font << /F25 14 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
 16 0 obj
 << /OCGs [5 0 R 6 0 R]/D 7 0 R >>
@@ -45,27 +45,27 @@ endobj
 << /HideToolbar true /NonFullScreenPageMode /UseNone /NumCopies 4  >>
 endobj
 18 0 obj
-[ 28 [ 500 ] 35 [ 556 ] 41 [ 278 ] 43 [ 444 ] 54 [ 653 ] 66 [ 278 ] 78 [ 500 ] 82 [ 500 ] 95 [ 736 ] 102 [ 500 ] 105 [ 389 ] 121 [ 500 ] ]
+[ 28 [ 500 ] 35 [ 556 ] 43 [ 444 ] 82 [ 500 ] ]
 endobj
 20 0 obj
-<< /Length 16 >>         
+<< /Length 11 >>         
 [BINARY STREAM]
 endobj
 21 0 obj
-<< /Subtype /CIDFontType0C /Length 1828 >>       
+<< /Subtype /CIDFontType0C /Length 955 >>        
 [BINARY STREAM]
 endobj
 19 0 obj
-<< /Type /FontDescriptor /FontName /QSDFHU+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 21 0 R /CIDSet 20 0 R >>
+<< /Type /FontDescriptor /FontName /NSMWQI+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 21 0 R /CIDSet 20 0 R >>
 endobj
 22 0 obj
-<< /Length 847 >>        
+<< /Length 734 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
 %%DocumentNeededResources: ProcSet (CIDInit)
 %%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-QSDFHU-LMRoman10-Regular-0)
-%%Title: (TeX-QSDFHU-LMRoman10-Regular-0 TeX QSDFHU-LMRoman10-Regular 0)
+%%BeginResource: CMap (TeX-NSMWQI-LMRoman10-Regular-0)
+%%Title: (TeX-NSMWQI-LMRoman10-Regular-0 TeX NSMWQI-LMRoman10-Regular 0)
 %%Version: 1.000
 %%EndComments
 /CIDInit /ProcSet findresource begin
@@ -73,29 +73,21 @@ stream
 begincmap
 /CIDSystemInfo
 << /Registry (TeX)
-/Ordering (QSDFHU-LMRoman10-Regular)
+/Ordering (NSMWQI-LMRoman10-Regular)
 /Supplement 0
 >> def
-/CMapName /TeX-Identity-QSDFHU-LMRoman10-Regular def
+/CMapName /TeX-Identity-NSMWQI-LMRoman10-Regular def
 /CMapType 2 def
 1 begincodespacerange
 <0000> <FFFF>
 endcodespacerange
 0 beginbfrange
 endbfrange
-12 beginbfchar
+4 beginbfchar
 <001C> <0061>
 <0023> <0062>
-<0029> <005D>
 <002B> <0063>
-<0036> <0046>
-<0042> <0069>
-<004E> <0039>
 <0052> <0031>
-<005F> <0052>
-<0066> <002F>
-<0069> <0074>
-<0079> <0030>
 endbfchar
 endcmap
 CMapName currentdict /CMap defineresource pop
@@ -105,23 +97,23 @@ end
 %%EOF
 endstream
 endobj
-13 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /QSDFHU+LMRoman10-Regular /DescendantFonts [ 23 0 R ] /ToUnicode 22 0 R >>
+14 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /NSMWQI+LMRoman10-Regular /DescendantFonts [ 23 0 R ] /ToUnicode 22 0 R >>
 endobj
 23 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /QSDFHU+LMRoman10-Regular /FontDescriptor 19 0 R /W 18 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /NSMWQI+LMRoman10-Regular /FontDescriptor 19 0 R /W 18 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
 endobj
 15 0 obj
-<< /Type /Pages  /Count 1 /Kids [ 9 0 R ] >>
+<< /Type /Pages  /Count 1 /Kids [ 10 0 R ] >>
 endobj
 24 0 obj
-<< /Names [ (Doc-Start) 14 0 R (page.1) 12 0 R ] /Limits [ (Doc-Start) (page.1) ] >>
+<< /Names [ (Doc-Start) 13 0 R (page.1) 12 0 R ] /Limits [ (Doc-Start) (page.1) ] >>
 endobj
 25 0 obj
 << /Dests 24 0 R >>
 endobj
 26 0 obj
-<< /Type /Catalog /Pages 15 0 R /Names 25 0 R /OCProperties 16 0 R/ViewerPreferences 17 0 R/Lang (de-DE)/PageMode /UseOutlines/PageLayout /SinglePage/OpenAction [ >>
+<< /Type /Catalog /Pages 15 0 R /Names 25 0 R /OCProperties 16 0 R/ViewerPreferences 17 0 R/Lang (de-DE)/PageMode /UseOutlines/PageLayout /SinglePage/OpenAction [10 0 R //Fit] >>
 endobj
 27 0 obj
 << /Producer (LuaTeX)/Author ()/Title ()/Subject ()/Creator (LaTeX with hyperref)/CreationDate ()/ModDate ()/Keywords () /Trapped /False >>
@@ -137,27 +129,27 @@ xref
 0000000152 00000 n 
 0000000254 00000 n 
 0000000020 00000 n 
-0000000679 00000 n 
-0000000909 00000 n 
+0000000857 00000 n 
+0000000625 00000 n 
 0000000423 00000 n 
-0000000788 00000 n 
-0000004401 00000 n 
-0000000848 00000 n 
-0000004755 00000 n 
-0000000979 00000 n 
-0000001029 00000 n 
-0000001115 00000 n 
-0000003258 00000 n 
-0000001270 00000 n 
-0000001346 00000 n 
-0000003494 00000 n 
-0000004555 00000 n 
-0000004816 00000 n 
-0000004917 00000 n 
-0000004953 00000 n 
-0000005135 00000 n 
+0000000734 00000 n 
+0000000795 00000 n 
+0000003266 00000 n 
+0000003620 00000 n 
+0000000926 00000 n 
+0000000976 00000 n 
+0000001062 00000 n 
+0000002236 00000 n 
+0000001126 00000 n 
+0000001197 00000 n 
+0000002472 00000 n 
+0000003420 00000 n 
+0000003682 00000 n 
+0000003783 00000 n 
+0000003819 00000 n 
+0000004014 00000 n 
 trailer
 << /Size 28 /Root 26 0 R /Info 27 0 R >>
 startxref
-5291
+4170
 %%EOF
diff --git a/testfiles/viewerpreferences.tpf b/testfiles/viewerpreferences.tpf
index b393699..444e436 100644
--- a/testfiles/viewerpreferences.tpf
+++ b/testfiles/viewerpreferences.tpf
@@ -14,41 +14,41 @@ endobj
 endobj
 11 0 obj
 <<
-/Length 141       
+/Length 114       
 >>
 stream
 0 g 0 G
 0 g 0 G
 BT
-/F8 9.9626 Tf 148.712 657.235 Td [(9)-333(0)-334(R)-333(//Fit]ab)-28(c)]TJ
+/F8 9.9626 Tf 148.712 657.235 Td [(ab)-28(c)]TJ
 0 g 0 G
  154.421 -567.87 Td [(1)]TJ
 0 g 0 G
 ET
 endstream
 endobj
-9 0 obj
+10 0 obj
 <<
 /Type /Page
 /Contents 11 0 R
-/Resources 10 0 R
+/Resources 9 0 R
 /MediaBox [0 0 612 792]
 /Parent 15 0 R
 >>
 endobj
 12 0 obj
 <<
-/D [9 0 R /XYZ 132.768 705.06 null]
+/D [10 0 R /XYZ 132.768 705.06 null]
 >>
 endobj
-14 0 obj
+13 0 obj
 <<
-/D [9 0 R /XYZ 201.846 657.235 null]
+/D [10 0 R /XYZ 133.768 667.198 null]
 >>
 endobj
-10 0 obj
+9 0 obj
 <<
-/Font << /F8 13 0 R >>
+/Font << /F8 14 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
@@ -59,21 +59,21 @@ endobj
 << /HideToolbar true /NonFullScreenPageMode /UseNone /NumCopies 4  >>
 endobj
 18 0 obj
-[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]
+[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]
 endobj
 19 0 obj
 <<
-/Length1 1542
-/Length2 9653
+/Length1 1407
+/Length2 7801
 /Length3 0
-/Length 11195     
+/Length 9208      
 >>
 [BINARY STREAM]
 endobj
 20 0 obj
 <<
 /Type /FontDescriptor
-/FontName /NXFMUP+CMR10
+/FontName /EVYFYC+CMR10
 /Flags 4
 /FontBBox [-40 -250 1009 750]
 /Ascent 694
@@ -82,18 +82,18 @@ endobj
 /ItalicAngle 0
 /StemV 69
 /XHeight 431
-/CharSet (/F/R/a/b/bracketright/c/i/nine/one/slash/t/zero)
+/CharSet (/a/b/c/one)
 /FontFile 19 0 R
 >>
 endobj
-13 0 obj
+14 0 obj
 <<
 /Type /Font
 /Subtype /Type1
-/BaseFont /NXFMUP+CMR10
+/BaseFont /EVYFYC+CMR10
 /FontDescriptor 20 0 R
-/FirstChar 47
-/LastChar 116
+/FirstChar 49
+/LastChar 99
 /Widths 18 0 R
 >>
 endobj
@@ -101,12 +101,12 @@ endobj
 <<
 /Type /Pages
 /Count 1
-/Kids [9 0 R]
+/Kids [10 0 R]
 >>
 endobj
 21 0 obj
 <<
-/Names [(Doc-Start) 14 0 R (page.1) 12 0 R]
+/Names [(Doc-Start) 13 0 R (page.1) 12 0 R]
 /Limits [(Doc-Start) (page.1)]
 >>
 endobj
@@ -120,7 +120,7 @@ endobj
 /Type /Catalog
 /Pages 15 0 R
 /Names 22 0 R
-/OCProperties 16 0 R/ViewerPreferences 17 0 R/Lang (de-DE)/PageMode /UseOutlines/PageLayout /SinglePage/OpenAction [
+/OCProperties 16 0 R/ViewerPreferences 17 0 R/Lang (de-DE)/PageMode /UseOutlines/PageLayout /SinglePage/OpenAction [10 0 R //Fit]
 >>
 endobj
 24 0 obj
@@ -140,27 +140,27 @@ xref
 0000000147 00000 n 
 0000000249 00000 n 
 0000000015 00000 n 
-0000000618 00000 n 
-0000000842 00000 n 
+0000000817 00000 n 
+0000000591 00000 n 
 0000000418 00000 n 
-0000000725 00000 n 
-0000012993 00000 n 
-0000000783 00000 n 
-0000013133 00000 n 
-0000000911 00000 n 
-0000000961 00000 n 
-0000001047 00000 n 
-0000001438 00000 n 
-0000012731 00000 n 
-0000013191 00000 n 
-0000013288 00000 n 
-0000013324 00000 n 
-0000013506 00000 n 
+0000000698 00000 n 
+0000000757 00000 n 
+0000010837 00000 n 
+0000010976 00000 n 
+0000000885 00000 n 
+0000000935 00000 n 
+0000001021 00000 n 
+0000001306 00000 n 
+0000010612 00000 n 
+0000011035 00000 n 
+0000011132 00000 n 
+0000011168 00000 n 
+0000011363 00000 n 
 trailer
 << /Size 25
 /Root 23 0 R
 /Info 24 0 R
  >>
 startxref
-13662
+11519
 %%EOF
diff --git a/testfiles/viewerpreferences.xetex.tpf b/testfiles/viewerpreferences.xetex.tpf
index 9335429..ed035e6 100644
--- a/testfiles/viewerpreferences.xetex.tpf
+++ b/testfiles/viewerpreferences.xetex.tpf
@@ -1,9 +1,9 @@
 %PDF-1.7
 %äðíø
 16 0 obj
-<</Length 232>>
+<</Length 134>>
 stream
- q 1 0 0 1 72 720 cm BT /F1 9.9626 Tf 76.712 -62.765 Td[<00210054001c003b00320052>-333<006600660036004200690029>]TJ ET BT /F1 9.9626 Tf 138.57 -62.765 Td[<001c0023>-28<002b>]TJ ET BT /F1 9.9626 Tf 231.133 -630.635 Td[<0052>]TJ ET Q
+ q 1 0 0 1 72 720 cm BT /F1 9.9626 Tf 76.712 -62.765 Td[<001c0023>-28<002b>]TJ ET BT /F1 9.9626 Tf 231.133 -630.635 Td[<0052>]TJ ET Q
 endstream
 endobj
 17 0 obj
@@ -54,7 +54,7 @@ endobj
 18 0 R/Type/Catalog>>
 endobj
 19 0 obj
-<</Length 525>>
+<</Length 398>>
 stream
 /CIDInit /ProcSet findresource begin
 12 dict begin
@@ -69,20 +69,11 @@ begincmap
 1 begincodespacerange
 <0000> <FFFF>
 endcodespacerange
-13 beginbfchar
+4 beginbfchar
 <001C> <0061>
-<0021> <0040>
 <0023> <0062>
-<0029> <005D>
 <002B> <0063>
-<0032> <0065>
-<0036> <0046>
-<003B> <0067>
-<0042> <0069>
 <0052> <0031>
-<0054> <0070>
-<0066> <002F>
-<0069> <0074>
 endbfchar
 endcmap
 CMapName currentdict /CMap defineresource pop
@@ -91,14 +82,14 @@ end
 endstream
 endobj
 21 0 obj
-<</Subtype/CIDFontType0C/Length 2044>>
+<</Subtype/CIDFontType0C/Length 929>>
 [BINARY STREAM]
 endobj
 22 0 obj
-[28[500]33[778]35[556]41[278]43[444]50[444]54[653]59[500]66[278]82[500]84[556]102[500]105[389]]
+[28[500]35[556]43[444]82[500]]
 endobj
 23 0 obj
-<</Length 14>>
+<</Length 11>>
 [BINARY STREAM]
 endobj
 14 0 obj
@@ -117,32 +108,32 @@ endobj
 xref
 0 24
 0000000000 65535 f 
-0000001285 00000 n 
-0000001194 00000 n 
-0000001042 00000 n 
-0000000438 00000 n 
-0000000458 00000 n 
-0000000478 00000 n 
-0000000498 00000 n 
-0000000518 00000 n 
+0000001187 00000 n 
+0000001096 00000 n 
+0000000944 00000 n 
+0000000340 00000 n 
+0000000360 00000 n 
+0000000380 00000 n 
+0000000400 00000 n 
+0000000420 00000 n 
+0000000517 00000 n 
 0000000615 00000 n 
-0000000713 00000 n 
-0000000914 00000 n 
-0000000962 00000 n 
-0000000884 00000 n 
-0000004298 00000 n 
-0000004749 00000 n 
+0000000816 00000 n 
+0000000864 00000 n 
+0000000786 00000 n 
+0000002889 00000 n 
+0000003340 00000 n 
 0000000015 00000 n 
-0000000297 00000 n 
-0000001120 00000 n 
-0000001431 00000 n 
-0000004488 00000 n 
-0000002006 00000 n 
-0000004123 00000 n 
-0000004235 00000 n 
+0000000199 00000 n 
+0000001022 00000 n 
+0000001333 00000 n 
+0000003079 00000 n 
+0000001781 00000 n 
+0000002782 00000 n 
+0000002829 00000 n 
 trailer
 <</Root 1 0 R/Info 2 0 R/ID[<7f428725bdb67706a21a993579fb3775><7f428725bdb67706a21a993579fb3775>]/Size
 24>>
 startxref
-4900
+3491
 %%EOF





More information about the latex3-commits mailing list