[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: changed dvipdfmx configuration (c954e04)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Aug 31 20:15:23 CEST 2019


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

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

commit c954e04a582df0068fced9d6d9c0c487f9829c14
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Aug 31 20:15:23 2019 +0200

    changed dvipdfmx configuration


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

c954e04a582df0068fced9d6d9c0c487f9829c14
 pdfresources.dtx                    |   7 ++
 testfiles/linkbordercolor.xetex.tpf | 168 +++++++++++++++++++-----------------
 2 files changed, 97 insertions(+), 78 deletions(-)

diff --git a/pdfresources.dtx b/pdfresources.dtx
index a3b0ba9..863ab7f 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -2529,6 +2529,13 @@
    }
  }
 \cs_generate_variant:Nn\pdf_destination:nn {no,nf}
+%avoid that destinations names are optimized.
+%see https://tug.org/pipermail/dvipdfmx/2019-May/000002.html
+\sys_if_engine_xetex:T
+  {
+    \__kernel_backend_literal:x { dvipdfmx:config~C~ 0x10 }
+  }
+
 %    \end{macrocode}
 % \section{Document metadata}
 % We plan a \cs{DeclareDocumentMetaData} so let's start with it.
diff --git a/testfiles/linkbordercolor.xetex.tpf b/testfiles/linkbordercolor.xetex.tpf
index 4b78d96..b177b20 100644
--- a/testfiles/linkbordercolor.xetex.tpf
+++ b/testfiles/linkbordercolor.xetex.tpf
@@ -1,7 +1,7 @@
 %PDF-1.5
 %äðíø
 10 0 obj
-<</Type/Annot/Border[1 1 1]/C[0 1 0]/Subtype/Link/A<</S/GoTo/D(0)>>/Rect[156.304
+<</Type/Annot/Border[1 1 1]/C[0 1 0]/Subtype/Link/A<</S/GoTo/D(section.1)>>/Rect[156.304
 641.395 163.278 657.504]>>
 endobj
 13 0 obj
@@ -48,34 +48,43 @@ endobj
 7 0 obj
 <<>>
 endobj
-24 0 obj
-<</Names[(0)23 0 R]>>
+27 0 obj
+<</Names[(Doc-Start)23 0 R(page.1)24 0 R(page.2)25 0 R(section.1)26 0 R]>>
 endobj
 23 0 obj
-[18 0 R/XYZ 133.77 667.2 null]
+[3 0 R/XYZ 133.77 667.2 null]
+endobj
+24 0 obj
+[3 0 R/XYZ 132.77 705.06 null]
 endobj
 25 0 obj
-<</Dests 24 0 R>>
+[18 0 R/XYZ 132.77 705.06 null]
 endobj
-27 0 obj
+26 0 obj
+[18 0 R/XYZ 133.77 667.2 null]
+endobj
+28 0 obj
+<</Dests 27 0 R>>
+endobj
+30 0 obj
 [10 0 R 13 0 R 14 0 R 15 0 R]
 endobj
 3 0 obj
-<</Resources 17 0 R/Type/Page/Parent 26 0 R/Contents[16 0 R]/Annots 27 0 R>>
+<</Resources 17 0 R/Type/Page/Parent 29 0 R/Contents[16 0 R]/Annots 30 0 R>>
 endobj
 18 0 obj
-<</Resources 22 0 R/Type/Page/Parent 26 0 R/Contents[21 0 R]>>
+<</Resources 22 0 R/Type/Page/Parent 29 0 R/Contents[21 0 R]>>
 endobj
-26 0 obj
+29 0 obj
 <</Type/Pages/Count 2/Kids[3 0 R 18 0 R]/MediaBox[0 0 612 792]>>
 endobj
 2 0 obj
 <</Creator(LaTeX with hyperref)/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
 endobj
 1 0 obj
-<</PageMode/UseOutlines/OpenAction[3 0 R/Fit]/Names 25 0 R/Pages 26 0 R/Type/Catalog>>
+<</PageMode/UseOutlines/OpenAction[3 0 R/Fit]/Names 28 0 R/Pages 29 0 R/Type/Catalog>>
 endobj
-28 0 obj
+31 0 obj
 <</Length 613>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -118,7 +127,7 @@ end
 end
 endstream
 endobj
-29 0 obj
+32 0 obj
 <</Length 439>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -149,7 +158,7 @@ end
 end
 endstream
 endobj
-30 0 obj
+33 0 obj
 <</Length 367>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -175,126 +184,129 @@ end
 end
 endstream
 endobj
-32 0 obj
+35 0 obj
 <</Subtype/CIDFontType0C/Length 2714>>
 [BINARY STREAM]
 endobj
-33 0 obj
+36 0 obj
 [28[500]35[556]43[444 278]47[556]50[444]54[653]66[278]70[528]72[278]75[833]77[556]82[500]96[392]98[394]105[389]107[500]109[556]125[556]]
 endobj
-34 0 obj
+37 0 obj
 <</Length 16>>
 [BINARY STREAM]
 endobj
 8 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/APWWDF+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 31 0 R/DW 280/W 33 0 R>>
+0>>/FontDescriptor 34 0 R/DW 280/W 36 0 R>>
 endobj
-31 0 obj
+34 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
-32 0 R/CIDSet 34 0 R>>
+35 0 R/CIDSet 37 0 R>>
 endobj
-36 0 obj
+39 0 obj
 <</Subtype/CIDFontType0C/Length 1188>>
 [BINARY STREAM]
 endobj
-37 0 obj
+40 0 obj
 [35[525]47[525]50[525]72[525]88[525]109[525]114[525]]
 endobj
-38 0 obj
+41 0 obj
 <</Length 15>>
 [BINARY STREAM]
 endobj
 11 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/YPRAXL+LMMono10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 35 0 R/DW 280/W 37 0 R>>
+0>>/FontDescriptor 38 0 R/DW 280/W 40 0 R>>
 endobj
-35 0 obj
+38 0 obj
 <</Type/FontDescriptor/Ascent 778/Descent -222/StemV 69/CapHeight 778/AvgWidth 500/FontBBox[-451
 -316 731 1016]/ItalicAngle 0/Flags 7/Style<</Panose<000000000509000000000000>>>/FontName/YPRAXL+LMMono10-Regular/FontFile3
-36 0 R/CIDSet 38 0 R>>
+39 0 R/CIDSet 41 0 R>>
 endobj
-40 0 obj
+43 0 obj
 <</Subtype/CIDFontType0C/Length 649>>
 [BINARY STREAM]
 endobj
-41 0 obj
+44 0 obj
 [28[547]82[563]]
 endobj
-42 0 obj
+45 0 obj
 <</Length 11>>
 [BINARY STREAM]
 endobj
 19 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/JRSQDI+LMRoman12-Bold/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 39 0 R/DW 280/W 41 0 R>>
+0>>/FontDescriptor 42 0 R/DW 280/W 44 0 R>>
 endobj
-39 0 obj
+42 0 obj
 <</Type/FontDescriptor/Ascent 806/Descent -194/StemV 109/CapHeight 806/AvgWidth 618/FontBBox[-476
 -289 1577 1137]/ItalicAngle 0/Flags 262150/Style<</Panose<000000000800000000000000>>>/FontName/JRSQDI+LMRoman12-Bold/FontFile3
-40 0 R/CIDSet 42 0 R>>
+43 0 R/CIDSet 45 0 R>>
 endobj
 9 0 obj
 <</Type/Font/Subtype/Type0/BaseFont/APWWDF+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[8 0 R]/ToUnicode
-28 0 R>>
+31 0 R>>
 endobj
 12 0 obj
 <</Type/Font/Subtype/Type0/BaseFont/YPRAXL+LMMono10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[11 0 R]/ToUnicode
-29 0 R>>
+32 0 R>>
 endobj
 20 0 obj
 <</Type/Font/Subtype/Type0/BaseFont/JRSQDI+LMRoman12-Bold-Identity-H/Encoding/Identity-H/DescendantFonts[19 0 R]/ToUnicode
-30 0 R>>
+33 0 R>>
 endobj
 xref
-0 43
+0 46
 0000000000 65535 f 
-0000002347 00000 n 
-0000002240 00000 n 
-0000001988 00000 n 
-0000001743 00000 n 
-0000001763 00000 n 
-0000001783 00000 n 
-0000001803 00000 n 
-0000007023 00000 n 
-0000010581 00000 n 
+0000002549 00000 n 
+0000002442 00000 n 
+0000002190 00000 n 
+0000001751 00000 n 
+0000001771 00000 n 
+0000001791 00000 n 
+0000001811 00000 n 
+0000007225 00000 n 
+0000010783 00000 n 
 0000000015 00000 n 
-0000008868 00000 n 
-0000010730 00000 n 
-0000000139 00000 n 
-0000000286 00000 n 
-0000000440 00000 n 
-0000000572 00000 n 
-0000001260 00000 n 
-0000002080 00000 n 
-0000010130 00000 n 
-0000010880 00000 n 
-0000001410 00000 n 
-0000001593 00000 n 
-0000001861 00000 n 
-0000001823 00000 n 
-0000001908 00000 n 
-0000002159 00000 n 
-0000001942 00000 n 
-0000002449 00000 n 
-0000003112 00000 n 
-0000003601 00000 n 
-0000007212 00000 n 
-0000004018 00000 n 
-0000006805 00000 n 
-0000006958 00000 n 
-0000009057 00000 n 
-0000007473 00000 n 
-0000008734 00000 n 
-0000008804 00000 n 
-0000010317 00000 n 
-0000009316 00000 n 
-0000010037 00000 n 
-0000010070 00000 n 
+0000009070 00000 n 
+0000010932 00000 n 
+0000000147 00000 n 
+0000000294 00000 n 
+0000000448 00000 n 
+0000000580 00000 n 
+0000001268 00000 n 
+0000002282 00000 n 
+0000010332 00000 n 
+0000011082 00000 n 
+0000001418 00000 n 
+0000001601 00000 n 
+0000001922 00000 n 
+0000001968 00000 n 
+0000002015 00000 n 
+0000002063 00000 n 
+0000001831 00000 n 
+0000002110 00000 n 
+0000002361 00000 n 
+0000002144 00000 n 
+0000002651 00000 n 
+0000003314 00000 n 
+0000003803 00000 n 
+0000007414 00000 n 
+0000004220 00000 n 
+0000007007 00000 n 
+0000007160 00000 n 
+0000009259 00000 n 
+0000007675 00000 n 
+0000008936 00000 n 
+0000009006 00000 n 
+0000010519 00000 n 
+0000009518 00000 n 
+0000010239 00000 n 
+0000010272 00000 n 
 trailer
 <</Root 1 0 R/Info 2 0 R/ID[<61e19e89c1bc717b4cd08933329b523e><61e19e89c1bc717b4cd08933329b523e>]/Size
-43>>
+46>>
 startxref
-11028
+11230
 %%EOF





More information about the latex3-commits mailing list