[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: added firstaid for pdflscape (2c56bd4)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Feb 11 15:57:06 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/2c56bd40dfa4aea65a1d162a05c63f8ef8557673

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

commit 2c56bd40dfa4aea65a1d162a05c63f8ef8557673
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Feb 11 15:57:06 2021 +0100

    added firstaid for pdflscape


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

2c56bd40dfa4aea65a1d162a05c63f8ef8557673
 build.lua                                          |   2 +-
 .../{new-pdflscape.sty => pdflscape-ltx.sty}       |  20 +--
 pdfmanagement-firstaid.dtx                         |  10 +-
 resave.bat                                         |   7 -
 testfiles-dvips/pdflscape.pvt                      |  18 +++
 testfiles-dvips/pdflscape.tpf                      | Bin 0 -> 5106 bytes
 .../pdflscape.luatex.tpf                           | 141 ++++++++-------------
 testfiles/pdflscape.pvt                            |  18 +++
 .../pdflscape.tpf                                  | 124 +++++++-----------
 testfiles/pdflscape.xetex.tpf                      | 133 +++++++++++++++++++
 10 files changed, 286 insertions(+), 187 deletions(-)

diff --git a/build.lua b/build.lua
index 7b1c4ed..2a6da28 100644
--- a/build.lua
+++ b/build.lua
@@ -19,7 +19,7 @@ sourcefiles =  {"*.dtx","*.ins",
                 "newpackages/new-attachfile.sty",
                 "newpackages/atfi-generic.def",
                 "newpackages/hyperxmp-patches-tmp-ltx.sty",                
-                "newpackages/new-pdflscape.sty"
+                "newpackages/pdflscape-ltx.sty"
                 }
 
 checkruns = 3
diff --git a/newpackages/new-pdflscape.sty b/newpackages/pdflscape-ltx.sty
similarity index 76%
rename from newpackages/new-pdflscape.sty
rename to newpackages/pdflscape-ltx.sty
index 50f60df..dc50cf5 100644
--- a/newpackages/new-pdflscape.sty
+++ b/newpackages/pdflscape-ltx.sty
@@ -1,10 +1,9 @@
 %%
-%% This is file `new-pdflscape.sty',
+%% This is file `pdflscape-ltx.sty',
 %%
-%% Project: new-pdflscape
-%% Version: 2020/11/18 v0.2
+%% Version: 2021/02/11 v0.3
 %%
-%% Copyright (C) 2020 The LaTeX3 Project
+%% Copyright (C) 2021 The LaTeX3 Project
 %%
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -22,18 +21,19 @@
 %% The LaTeX3 Project
 %%
 %%
-%% This work consists of the main source file new-lscape.sty
+%% This work consists of the main source file pdflscape-ltx.sty
 %%
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage {new-pdflscape}{2020/11/18}{v0.2}
- {Display of landscape pages in PDF - UF}
-\RequirePackage{pdfmanagement}
+\ProvidesExplPackage {pdflscape-ltx}{2021/02/11}{v0.3}
+ {Display of landscape pages in PDF - adaption of pdflscape to pdfmanagement}
+
 \RequirePackage{lscape}
-% this always turns in the same direction as pdflscape did too.
+% this always turns in the same direction as pdflscape does too.
 % left and right would need
 % \pdfmanagement_add:nnn{ThisPage}{Rotate}{..}
 % on every page (e.g. in a shipout hook) and some option to control the wanted
 % orientation.
+
 \tl_new:N\g__pdflscape_saverotate_tl
 \hook_gput_code:nnn {env/landscape/begin}{pdflscape}
   {
@@ -51,4 +51,4 @@
 
 \endinput
 %%
-%% End of file `new-pdflscape.sty'.
+%% End of file `pdflscape-ltx.sty'.
diff --git a/pdfmanagement-firstaid.dtx b/pdfmanagement-firstaid.dtx
index df6743a..16da10c 100644
--- a/pdfmanagement-firstaid.dtx
+++ b/pdfmanagement-firstaid.dtx
@@ -62,7 +62,7 @@
   {experimental pdf-resource management / firstaid}
 
 %<@@=pdfmanagement>
-\clist_map_inline:nn {pgf,transparent,hyperxmp}
+\clist_map_inline:nn {pgf,transparent,hyperxmp,pdflscape}
   {
     \bool_new:c       { g_@@_firstaid_#1_bool }
     \bool_gset_true:c { g_@@_firstaid_#1_bool }
@@ -189,6 +189,14 @@
    \declare at file@substitution{transparent.sty}{transparent-ltx.sty}
  }
 %    \end{macrocode}
+% \subsection{\pkg{pdflscape}}
+% We simply replace by the new version.
+%    \begin{macrocode}
+\bool_if:NT \g_@@_firstaid_pdflscape_bool
+ {
+   \declare at file@substitution{pdflscape.sty}{pdflscape-ltx.sty}
+ }
+%    \end{macrocode}
 % \subsection{hyperxmp}
 % We add some code at the end of hyperxmp.sty.
 %    \begin{macrocode}
diff --git a/resave.bat b/resave.bat
index a2f825a..ff9449e 100644
--- a/resave.bat
+++ b/resave.bat
@@ -3,10 +3,3 @@ rem l3build save -e\2 \1
 rem l3build save -cconfig-dvips \1
 rem l3build save -cconfig-luatex -e\2 \1
 rem l3build save -cconfig-noxetex -e\2 \1
-
-REM   - ./build/test-config-noxetex/metadata.luatex.pdf.fc
-REM   - ./build/test-config-noxetex/metadata.pdftex.pdf.fc
-
-l3build save -eluatex annot
-l3build save -epdftex annot
-l3build save -exetex annot
diff --git a/testfiles-dvips/pdflscape.pvt b/testfiles-dvips/pdflscape.pvt
new file mode 100644
index 0000000..1a2f594
--- /dev/null
+++ b/testfiles-dvips/pdflscape.pvt
@@ -0,0 +1,18 @@
+\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\RequirePackage{pdfmanagement}
+\DeclareDocumentMetadata {pdfversion=1.7  }
+\RequirePackage{pdfmanagement-regressiontest}
+
+\documentclass{article}
+\usepackage{pdflscape}
+
+\begin{document}
+
+aaaa
+
+\begin{landscape}
+xxxx
+\end{landscape}
+
+bbbb
+\end{document}
\ No newline at end of file
diff --git a/testfiles-dvips/pdflscape.tpf b/testfiles-dvips/pdflscape.tpf
new file mode 100644
index 0000000..d7c4904
Binary files /dev/null and b/testfiles-dvips/pdflscape.tpf differ
diff --git a/testfiles-noxetex/transparent-tikz.tpf b/testfiles/pdflscape.luatex.tpf
similarity index 51%
copy from testfiles-noxetex/transparent-tikz.tpf
copy to testfiles/pdflscape.luatex.tpf
index 33ad43f..a1309ae 100644
--- a/testfiles-noxetex/transparent-tikz.tpf
+++ b/testfiles/pdflscape.luatex.tpf
@@ -1,20 +1,15 @@
-%PDF-1.5
+%PDF-1.7
 %ÌÕÁÔÅØÐÄÆ
 7 0 obj
-<< /Length 189 >>        
+<< /Length 148 >>        
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
-0 g 0 G
-0 g 0 G
-0 g 0 G
 BT
 /F23 9.96264 Tf
-1 0 0 1 148.712 657.235 Tm [<001C0023>-28<002B>]TJ
-0 g 0 G
+1 0 0 1 148.712 657.235 Tm [<001C001C001C001C>]TJ
 1 0 0 1 303.133 89.365 Tm [<0052>]TJ
-0 g 0 G
 ET
 endstream
 endobj
@@ -22,79 +17,50 @@ endobj
 << /Type /Page /Contents 7 0 R /Resources 5 0 R /MediaBox [ 0 0 612 792 ] /Parent 9 0 R >>
 endobj
 5 0 obj
-<< /ExtGState 1 0 R/ColorSpace 2 0 R /Font << /F23 8 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /ExtGState 1 0 R /Font << /F23 8 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
 12 0 obj
-<< /Length 379 >>        
+<< /Length 302 >>        
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
-0 g 0 G
-0 g 0 G
-1 0 0 1 148.712 638.852 cm
+1 0 0 1 477.479 119.253 cm
 q
-0 G 
-0 g 
-0.3985 w 
-q 
-q 
-1 0 0 rg 1 0 0 RG
-/pgf at CA0.5 gs 
-/pgf at ca0.5 gs 
-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 
+0 1 -1 0 0 0 cm
+1 0 0 1 -477.479 -119.253 cm
+BT
+/F23 9.96264 Tf
+1 0 0 1 492.423 453.001 Tm [<0074007400740074>]TJ
+ET
+1 0 0 1 477.479 119.253 cm
 Q
-0 g 0 G
-1 0 0 1 -148.712 -638.852 cm
+1 0 0 1 -477.479 -119.253 cm
 BT
 /F23 9.96264 Tf
 1 0 0 1 303.133 89.365 Tm [<006B>]TJ
-0 g 0 G
 ET
 endstream
 endobj
 11 0 obj
-<< /Type /Page /Contents 12 0 R /Resources 10 0 R /MediaBox [ 0 0 612 792 ] /Parent 9 0 R >>
+<< /Type /Page /Contents 12 0 R /Resources 10 0 R /MediaBox [ 0 0 612 792 ] /Rotate 90 /Parent 9 0 R >>
 endobj
 10 0 obj
-<< /ExtGState 1 0 R/ColorSpace 2 0 R /Font << /F23 8 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /ExtGState 1 0 R /Font << /F23 8 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
 1 0 obj
-<< /opacity1 <</ca 1/CA 1>> /pgf at CA0.5 << /CA 0.5 >> /pgf at ca0.5 << /ca 0.5 >> /opacity0.5 <</ca 0.5/CA 0.5>> /opacity0.3 <</ca 0.3/CA 0.3>>  >>
-endobj
-2 0 obj
-<< /pgfprgb [/Pattern /DeviceRGB]  >>
+<< /opacity1 <</ca 1/CA 1>>  >>
 endobj
 15 0 obj
-<< /Length 342 >>        
+<< /Length 148 >>        
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
-0 g 0 G
-0 g 0 G
-/opacity0.5 gs
 BT
 /F23 9.96264 Tf
-1 0 0 1 148.712 657.235 Tm [<00740074007400740074007400740074007400740074>]TJ
-/opacity1 gs
-/opacity0.3 gs
-1 0 0 1 209.893 657.235 Tm [<00740074007400740074007400740074007400740074>]TJ
-/opacity1 gs
-0 g 0 G
+1 0 0 1 148.712 657.235 Tm [<0023002300230023>]TJ
 1 0 0 1 303.133 89.365 Tm [<006A>]TJ
-0 g 0 G
 ET
 endstream
 endobj
@@ -102,30 +68,30 @@ endobj
 << /Type /Page /Contents 15 0 R /Resources 13 0 R /MediaBox [ 0 0 612 792 ] /Parent 9 0 R >>
 endobj
 13 0 obj
-<< /ExtGState 1 0 R/ColorSpace 2 0 R /Font << /F23 8 0 R >> /ProcSet [ /PDF /Text ] >>
+<< /ExtGState 1 0 R /Font << /F23 8 0 R >> /ProcSet [ /PDF /Text ] >>
 endobj
 16 0 obj
-[ 28 [ 500 ] 35 [ 556 ] 43 [ 444 ] 82 [ 500 ] 106 [ 500 500 ] 116 [ 528 ] ]
+[ 28 [ 500 ] 35 [ 556 ] 82 [ 500 ] 106 [ 500 500 ] 116 [ 528 ] ]
 endobj
 18 0 obj
 << /Length 15 >>         
 [BINARY STREAM]
 endobj
 19 0 obj
-<< /Subtype /CIDFontType0C /Length 1423 >>       
+<< /Subtype /CIDFontType0C /Length 1327 >>       
 [BINARY STREAM]
 endobj
 17 0 obj
-<< /Type /FontDescriptor /FontName /BXGANP+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 19 0 R /CIDSet 18 0 R >>
+<< /Type /FontDescriptor /FontName /ZIGJOC+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 19 0 R /CIDSet 18 0 R >>
 endobj
 20 0 obj
-<< /Length 776 >>        
+<< /Length 762 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
 %%DocumentNeededResources: ProcSet (CIDInit)
 %%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-BXGANP-LMRoman10-Regular-0)
-%%Title: (TeX-BXGANP-LMRoman10-Regular-0 TeX BXGANP-LMRoman10-Regular 0)
+%%BeginResource: CMap (TeX-ZIGJOC-LMRoman10-Regular-0)
+%%Title: (TeX-ZIGJOC-LMRoman10-Regular-0 TeX ZIGJOC-LMRoman10-Regular 0)
 %%Version: 1.000
 %%EndComments
 /CIDInit /ProcSet findresource begin
@@ -133,20 +99,19 @@ stream
 begincmap
 /CIDSystemInfo
 << /Registry (TeX)
-/Ordering (BXGANP-LMRoman10-Regular)
+/Ordering (ZIGJOC-LMRoman10-Regular)
 /Supplement 0
 >> def
-/CMapName /TeX-Identity-BXGANP-LMRoman10-Regular def
+/CMapName /TeX-Identity-ZIGJOC-LMRoman10-Regular def
 /CMapType 2 def
 1 begincodespacerange
 <0000> <FFFF>
 endcodespacerange
 0 beginbfrange
 endbfrange
-7 beginbfchar
+6 beginbfchar
 <001C> <0061>
 <0023> <0062>
-<002B> <0063>
 <0052> <0031>
 <006A> <0033>
 <006B> <0032>
@@ -161,10 +126,10 @@ end
 endstream
 endobj
 8 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /BXGANP+LMRoman10-Regular /DescendantFonts [ 21 0 R ] /ToUnicode 20 0 R >>
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /ZIGJOC+LMRoman10-Regular /DescendantFonts [ 21 0 R ] /ToUnicode 20 0 R >>
 endobj
 21 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /BXGANP+LMRoman10-Regular /FontDescriptor 17 0 R /W 16 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /ZIGJOC+LMRoman10-Regular /FontDescriptor 17 0 R /W 16 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
 endobj
 9 0 obj
 << /Type /Pages  /Count 3 /Kids [ 6 0 R 11 0 R 14 0 R ] >>
@@ -177,32 +142,32 @@ endobj
 endobj
 xref
 0 24
-0000000003 65535 f 
-0000001127 00000 n 
-0000001286 00000 n 
+0000000002 65535 f 
+0000000986 00000 n 
+0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000000374 00000 n 
-0000000268 00000 n 
+0000000333 00000 n 
+0000000227 00000 n 
 0000000020 00000 n 
-0000004699 00000 n 
-0000005052 00000 n 
-0000001024 00000 n 
-0000000915 00000 n 
-0000000476 00000 n 
-0000001850 00000 n 
-0000001741 00000 n 
-0000001339 00000 n 
-0000001953 00000 n 
-0000003627 00000 n 
-0000002045 00000 n 
-0000002120 00000 n 
-0000003863 00000 n 
-0000004852 00000 n 
-0000005126 00000 n 
-0000005176 00000 n 
+0000004061 00000 n 
+0000004414 00000 n 
+0000000900 00000 n 
+0000000780 00000 n 
+0000000418 00000 n 
+0000001350 00000 n 
+0000001241 00000 n 
+0000001033 00000 n 
+0000001436 00000 n 
+0000003003 00000 n 
+0000001517 00000 n 
+0000001592 00000 n 
+0000003239 00000 n 
+0000004214 00000 n 
+0000004488 00000 n 
+0000004538 00000 n 
 trailer
 << /Size 24 /Root 22 0 R /Info 23 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
 startxref
-5320
+4682
 %%EOF
diff --git a/testfiles/pdflscape.pvt b/testfiles/pdflscape.pvt
new file mode 100644
index 0000000..1a2f594
--- /dev/null
+++ b/testfiles/pdflscape.pvt
@@ -0,0 +1,18 @@
+\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\RequirePackage{pdfmanagement}
+\DeclareDocumentMetadata {pdfversion=1.7  }
+\RequirePackage{pdfmanagement-regressiontest}
+
+\documentclass{article}
+\usepackage{pdflscape}
+
+\begin{document}
+
+aaaa
+
+\begin{landscape}
+xxxx
+\end{landscape}
+
+bbbb
+\end{document}
\ No newline at end of file
diff --git a/testfiles-noxetex/transparent-tikz.pdftex.tpf b/testfiles/pdflscape.tpf
similarity index 58%
copy from testfiles-noxetex/transparent-tikz.pdftex.tpf
copy to testfiles/pdflscape.tpf
index 44a1414..22baa86 100644
--- a/testfiles-noxetex/transparent-tikz.pdftex.tpf
+++ b/testfiles/pdflscape.tpf
@@ -1,21 +1,15 @@
-%PDF-1.5
+%PDF-1.7
 %ÐÔÅØ
 7 0 obj
 <<
-/Length 162       
+/Length 117       
 >>
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
-0 g 0 G
-0 g 0 G
-0 g 0 G
 BT
-/F19 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
+/F19 9.9626 Tf 148.712 657.235 Td [(aaaa)]TJ 154.421 -567.87 Td [(1)]TJ
 ET
 endstream
 endobj
@@ -30,49 +24,31 @@ endobj
 endobj
 5 0 obj
 <<
-/ExtGState 1 0 R /ColorSpace 2 0 R 
+/ExtGState 1 0 R 
 /Font << /F19 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
 12 0 obj
 <<
-/Length 367       
+/Length 269       
 >>
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
-0 g 0 G
-0 g 0 G
-1 0 0 1 148.712 638.852 cm
+1 0 0 1 477.479 119.253 cm
 q
-0 G 
-0 g 
-0.3985 w 
-q 
-q 
-1 0 0 rg 1 0 0 RG
-/pgf at CA0.5 gs 
-/pgf at ca0.5 gs 
-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 
+0 1 -1 0 0 0 cm
+1 0 0 1 -477.479 -119.253 cm
+BT
+/F19 9.9626 Tf 492.423 453.001 Td [(xxxx)]TJ
+ET
+1 0 0 1 477.479 119.253 cm
 Q
-0 g 0 G
-1 0 0 1 -148.712 -638.852 cm
+1 0 0 1 -477.479 -119.253 cm
 BT
 /F19 9.9626 Tf 303.133 89.365 Td [(2)]TJ
-0 g 0 G
 ET
 endstream
 endobj
@@ -82,42 +58,30 @@ endobj
 /Contents 12 0 R
 /Resources 10 0 R
 /MediaBox [0 0 612 792]
+/Rotate 90 
 /Parent 9 0 R
 >>
 endobj
 10 0 obj
 <<
-/ExtGState 1 0 R /ColorSpace 2 0 R 
+/ExtGState 1 0 R 
 /Font << /F19 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
 1 0 obj
-<< /opacity1 <</ca 1/CA 1>> /pgf at CA0.5 << /CA 0.5 >> /pgf at ca0.5 << /ca 0.5 >> /opacity0.5 <</ca 0.5/CA 0.5>> /opacity0.3 <</ca 0.3/CA 0.3>>  >>
-endobj
-2 0 obj
-<< /pgfprgb [/Pattern /DeviceRGB]  >>
+<< /opacity1 <</ca 1/CA 1>>  >>
 endobj
 15 0 obj
 <<
-/Length 236       
+/Length 117       
 >>
 stream
 /opacity1 gs
 /opacity1 gs
 /opacity1 gs
-0 g 0 G
-0 g 0 G
-/opacity0.5 gs
 BT
-/F19 9.9626 Tf 148.712 657.235 Td [(xxxxxxxxxxx)]TJ
-/opacity1 gs
-/opacity0.3 gs
- [-333(xxxxxxxxxxx)]TJ
-/opacity1 gs
-0 g 0 G
- 154.421 -567.87 Td [(3)]TJ
-0 g 0 G
+/F19 9.9626 Tf 148.712 657.235 Td [(bbbb)]TJ 154.421 -567.87 Td [(3)]TJ
 ET
 endstream
 endobj
@@ -132,7 +96,7 @@ endobj
 endobj
 13 0 obj
 <<
-/ExtGState 1 0 R /ColorSpace 2 0 R 
+/ExtGState 1 0 R 
 /Font << /F19 8 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
@@ -142,17 +106,17 @@ endobj
 endobj
 17 0 obj
 <<
-/Length1 1456
-/Length2 8544
+/Length1 1442
+/Length2 8345
 /Length3 0
-/Length 10000     
+/Length 9787      
 >>
 [BINARY STREAM]
 endobj
 18 0 obj
 <<
 /Type /FontDescriptor
-/FontName /OCJAFC+CMR10
+/FontName /GEULDG+CMR10
 /Flags 4
 /FontBBox [-40 -250 1009 750]
 /Ascent 694
@@ -161,7 +125,7 @@ endobj
 /ItalicAngle 0
 /StemV 69
 /XHeight 431
-/CharSet (/a/b/c/one/three/two/x)
+/CharSet (/a/b/one/three/two/x)
 /FontFile 17 0 R
 >>
 endobj
@@ -169,7 +133,7 @@ endobj
 <<
 /Type /Font
 /Subtype /Type1
-/BaseFont /OCJAFC+CMR10
+/BaseFont /GEULDG+CMR10
 /FontDescriptor 18 0 R
 /FirstChar 49
 /LastChar 120
@@ -197,32 +161,32 @@ endobj
 endobj
 xref
 0 21
-0000000003 65535 f 
-0000001081 00000 n 
-0000001240 00000 n 
+0000000002 65535 f 
+0000000914 00000 n 
+0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000000339 00000 n 
-0000000235 00000 n 
+0000000294 00000 n 
+0000000190 00000 n 
 0000000015 00000 n 
-0000012542 00000 n 
-0000012681 00000 n 
-0000000976 00000 n 
-0000000869 00000 n 
-0000000443 00000 n 
-0000001695 00000 n 
-0000001588 00000 n 
-0000001293 00000 n 
-0000001800 00000 n 
-0000002207 00000 n 
-0000012305 00000 n 
-0000012752 00000 n 
-0000012802 00000 n 
+0000011858 00000 n 
+0000011997 00000 n 
+0000000827 00000 n 
+0000000708 00000 n 
+0000000380 00000 n 
+0000001244 00000 n 
+0000001137 00000 n 
+0000000961 00000 n 
+0000001331 00000 n 
+0000001738 00000 n 
+0000011623 00000 n 
+0000012068 00000 n 
+0000012118 00000 n 
 trailer
 << /Size 21
 /Root 19 0 R
 /Info 20 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-12946
+12262
 %%EOF
diff --git a/testfiles/pdflscape.xetex.tpf b/testfiles/pdflscape.xetex.tpf
new file mode 100644
index 0000000..502f14f
--- /dev/null
+++ b/testfiles/pdflscape.xetex.tpf
@@ -0,0 +1,133 @@
+%PDF-1.7
+%äðíø
+7 0 obj
+<</Length 136>>
+stream
+ q 1 0 0 1 72 720 cm 0 G 0 g 0 g 0 G 0 g 0 G BT /F1 9.9626 Tf 76.712 -62.765 Td[<001c001c001c001c>]TJ 154.421 -567.87 Td[<0052>]TJ ET Q
+endstream
+endobj
+8 0 obj
+<</ExtGState 4 0 R/Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+10 0 obj
+<</Length 202>>
+stream
+ q 1 0 0 1 72 720 cm 0 G 0 g 0 g 0 G 0 g 0 G q 0 1 -1 0 -195.268 -1006.227 cm BT /F1 9.9626 Tf 420.423 -266.999 Td[<0074007400740074>]TJ ET Q 0 G 0 g BT /F1 9.9626 Tf 231.133 -630.635 Td[<006b>]TJ ET Q
+endstream
+endobj
+11 0 obj
+<</ExtGState 4 0 R/Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+13 0 obj
+<</Length 136>>
+stream
+ q 1 0 0 1 72 720 cm 0 G 0 g 0 g 0 G 0 g 0 G BT /F1 9.9626 Tf 76.712 -62.765 Td[<0023002300230023>]TJ 154.421 -567.87 Td[<006a>]TJ ET Q
+endstream
+endobj
+14 0 obj
+<</ExtGState 4 0 R/Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+4 0 obj
+<</opacity1<</ca 1/CA 1>>>>
+endobj
+3 0 obj
+<</Resources 8 0 R/Type/Page/Parent 15 0 R/Contents[7 0 R]>>
+endobj
+9 0 obj
+<</Rotate 90/Resources 11 0 R/Type/Page/Parent 15 0 R/Contents[10 0 R]>>
+endobj
+12 0 obj
+<</Resources 14 0 R/Type/Page/Parent 15 0 R/Contents[13 0 R]>>
+endobj
+15 0 obj
+<</Type/Pages/Count 3/Kids[3 0 R 9 0 R 12 0 R]/MediaBox[0 0 612 792]>>
+endobj
+2 0 obj
+<</Creator(TeX)/Producer(xetex)/CreationDate(D:20010101194934+01'00')/ModDate(D:20010101205959-00'00')>>
+endobj
+1 0 obj
+<</Pages 15 0 R/Type/Catalog>>
+endobj
+16 0 obj
+<</Length 426>>
+stream
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CMapName /EXQIVM+LMRoman10-Regular-UTF16 def
+/CMapType 2 def
+/CIDSystemInfo <<
+  /Registry (Adobe)
+  /Ordering (UCS)
+  /Supplement 0
+>> def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+6 beginbfchar
+<001C> <0061>
+<0023> <0062>
+<0052> <0031>
+<006A> <0033>
+<006B> <0032>
+<0074> <0078>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+endstream
+endobj
+18 0 obj
+<</Subtype/CIDFontType0C/Length 1306>>
+[BINARY STREAM]
+endobj
+19 0 obj
+[28[500]35[556]82[500]106[500 500]116[528]]
+endobj
+20 0 obj
+<</Length 15>>
+[BINARY STREAM]
+endobj
+6 0 obj
+<</Type/Font/Subtype/CIDFontType0/BaseFont/EXQIVM+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
+0>>/FontDescriptor 17 0 R/DW 280/W 19 0 R>>
+endobj
+17 0 obj
+<</Type/FontDescriptor/Ascent 806/Descent -194/StemV 69/CapHeight 806/AvgWidth 549/FontBBox[-430
+-290 1417 1127]/ItalicAngle 0/Flags 6/Style<</Panose<000000000500000000000000>>>/FontName/EXQIVM+LMRoman10-Regular/FontFile3
+18 0 R/CIDSet 20 0 R>>
+endobj
+5 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/EXQIVM+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[6 0 R]/ToUnicode
+16 0 R>>
+endobj
+xref
+0 21
+0000000000 65535 f 
+0000001415 00000 n 
+0000001295 00000 n 
+0000000965 00000 n 
+0000000922 00000 n 
+0000003890 00000 n 
+0000003440 00000 n 
+0000000015 00000 n 
+0000000200 00000 n 
+0000001041 00000 n 
+0000000294 00000 n 
+0000000546 00000 n 
+0000001129 00000 n 
+0000000641 00000 n 
+0000000827 00000 n 
+0000001208 00000 n 
+0000001461 00000 n 
+0000003629 00000 n 
+0000001937 00000 n 
+0000003316 00000 n 
+0000003376 00000 n 
+trailer
+<</ID[<ID-STRING><ID-STRING>]/Root
+1 0 R/Info 2 0 R/Size 21>>
+startxref
+4039
+%%EOF





More information about the latex3-commits mailing list.