[latex3-commits] [git/LaTeX3-latex3-pdfresources] verify: adapt to new glyphtounicode (2cf3b5b)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Feb 17 21:52:37 CET 2021
Repository : https://github.com/latex3/pdfresources
On branch : verify
Link : https://github.com/latex3/pdfresources/commit/2cf3b5b7f62a0e92b91d7651075c900a708b378d
>---------------------------------------------------------------
commit 2cf3b5b7f62a0e92b91d7651075c900a708b378d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Feb 17 21:52:37 2021 +0100
adapt to new glyphtounicode
>---------------------------------------------------------------
2cf3b5b7f62a0e92b91d7651075c900a708b378d
testfiles-dvips/bdc-properties.pvt | 2 +-
testfiles/annot.tpf | 146 ++++++++++++++++--
testfiles/embedfile.tpf | 294 ++++++++++++++++++++++++++++++++++---
3 files changed, 407 insertions(+), 35 deletions(-)
diff --git a/testfiles-dvips/bdc-properties.pvt b/testfiles-dvips/bdc-properties.pvt
index 910c7eb..6e9a2e3 100644
--- a/testfiles-dvips/bdc-properties.pvt
+++ b/testfiles-dvips/bdc-properties.pvt
@@ -23,7 +23,7 @@
\pdf_bdcobject:nn {Span}{objB}xxx
\pdf_emc:
-\pdf_object_now:nn {dict}{/ActualText~(xyz)}
+\pdf_object_unnamed_write:nn {dict}{/ActualText~(xyz)}
\pdf_bdcobject:n {Span}xx3
\pdf_emc:
diff --git a/testfiles/annot.tpf b/testfiles/annot.tpf
index 36e1751..887440c 100644
--- a/testfiles/annot.tpf
+++ b/testfiles/annot.tpf
@@ -68,6 +68,128 @@ endobj
/FontFile 12 0 R
>>
endobj
+14 0 obj
+<<
+/Length 1724
+>>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-cmr10-builtin-0)
+%%Title: (TeX-cmr10-builtin-0 TeX cmr10-builtin 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (cmr10-builtin)
+/Supplement 0
+>> def
+/CMapName /TeX-cmr10-builtin-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <FF>
+endcodespacerange
+7 beginbfrange
+<07> <08> <03A5>
+<23> <26> <0023>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+<A8> <A9> <03A5>
+endbfrange
+78 beginbfchar
+<00> <0393>
+<01> <2206>
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<09> <03A8>
+<0A> <2126>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5D> <005D>
+<5E> <02C6>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <02DC>
+<7F> <00A8>
+<A0> <0020>
+<A1> <0393>
+<A2> <2206>
+<A3> <0398>
+<A4> <039B>
+<A5> <039E>
+<A6> <03A0>
+<A7> <03A3>
+<AA> <03A8>
+<AB> <00AD>
+<AC> <00A0>
+<AD> <2126>
+<AE> <00660066>
+<AF> <00660069>
+<B0> <0066006C>
+<B1> <006600660069>
+<B2> <00660066006C>
+<B3> <0131>
+<B4> <0237>
+<B5> <0060>
+<B6> <00B4>
+<B7> <02C7>
+<B8> <02D8>
+<B9> <00AF>
+<BA> <02DA>
+<BB> <00B8>
+<BC> <00DF>
+<BD> <00E6>
+<BE> <0153>
+<BF> <00F8>
+<C0> <00C6>
+<C1> <0152>
+<C2> <00D8>
+<C4> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
9 0 obj
<<
/Type /Font
@@ -77,6 +199,7 @@ endobj
/FirstChar 49
/LastChar 122
/Widths 11 0 R
+/ToUnicode 14 0 R
>>
endobj
10 0 obj
@@ -86,21 +209,21 @@ endobj
/Kids [7 0 R]
>>
endobj
-14 0 obj
+15 0 obj
<<
/Type /Catalog
/Pages 10 0 R
/Lang (en-US)
>>
endobj
-15 0 obj
+16 0 obj
<<
/Creator (TeX)/Producer (pdfTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')
/Trapped /False
>>
endobj
xref
-0 16
+0 17
0000000002 65535 f
0000000015 00000 n
0000000003 00000 f
@@ -110,18 +233,19 @@ xref
0000000562 00000 n
0000000243 00000 n
0000000062 00000 n
-0000009762 00000 n
-0000009901 00000 n
+0000011545 00000 n
+0000011702 00000 n
0000000648 00000 n
0000001067 00000 n
0000009535 00000 n
-0000009959 00000 n
-0000010024 00000 n
+0000009762 00000 n
+0000011760 00000 n
+0000011825 00000 n
trailer
-<< /Size 16
-/Root 14 0 R
-/Info 15 0 R
+<< /Size 17
+/Root 15 0 R
+/Info 16 0 R
/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
startxref
-10168
+11969
%%EOF
diff --git a/testfiles/embedfile.tpf b/testfiles/embedfile.tpf
index 0c1f8af..a086de5 100644
--- a/testfiles/embedfile.tpf
+++ b/testfiles/embedfile.tpf
@@ -164,6 +164,128 @@ endobj
/FontFile 30 0 R
>>
endobj
+32 0 obj
+<<
+/Length 1729
+>>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-cmbx12-builtin-0)
+%%Title: (TeX-cmbx12-builtin-0 TeX cmbx12-builtin 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (cmbx12-builtin)
+/Supplement 0
+>> def
+/CMapName /TeX-cmbx12-builtin-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <FF>
+endcodespacerange
+7 beginbfrange
+<07> <08> <03A5>
+<23> <26> <0023>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+<A8> <A9> <03A5>
+endbfrange
+78 beginbfchar
+<00> <0393>
+<01> <2206>
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<09> <03A8>
+<0A> <2126>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5D> <005D>
+<5E> <02C6>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <02DC>
+<7F> <00A8>
+<A0> <0020>
+<A1> <0393>
+<A2> <2206>
+<A3> <0398>
+<A4> <039B>
+<A5> <039E>
+<A6> <03A0>
+<A7> <03A3>
+<AA> <03A8>
+<AB> <00AD>
+<AC> <00A0>
+<AD> <2126>
+<AE> <00660066>
+<AF> <00660069>
+<B0> <0066006C>
+<B1> <006600660069>
+<B2> <00660066006C>
+<B3> <0131>
+<B4> <0237>
+<B5> <0060>
+<B6> <00B4>
+<B7> <02C7>
+<B8> <02D8>
+<B9> <00AF>
+<BA> <02DA>
+<BB> <00B8>
+<BC> <00DF>
+<BD> <00E6>
+<BE> <0153>
+<BF> <00F8>
+<C0> <00C6>
+<C1> <0152>
+<C2> <00D8>
+<C4> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
19 0 obj
<<
/Type /Font
@@ -173,7 +295,130 @@ endobj
/FirstChar 12
/LastChar 116
/Widths 27 0 R
+/ToUnicode 32 0 R
+>>
+endobj
+33 0 obj
+<<
+/Length 1724
>>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-cmr10-builtin-0)
+%%Title: (TeX-cmr10-builtin-0 TeX cmr10-builtin 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (cmr10-builtin)
+/Supplement 0
+>> def
+/CMapName /TeX-cmr10-builtin-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <FF>
+endcodespacerange
+7 beginbfrange
+<07> <08> <03A5>
+<23> <26> <0023>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+<A8> <A9> <03A5>
+endbfrange
+78 beginbfchar
+<00> <0393>
+<01> <2206>
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<09> <03A8>
+<0A> <2126>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5D> <005D>
+<5E> <02C6>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <02DC>
+<7F> <00A8>
+<A0> <0020>
+<A1> <0393>
+<A2> <2206>
+<A3> <0398>
+<A4> <039B>
+<A5> <039E>
+<A6> <03A0>
+<A7> <03A3>
+<AA> <03A8>
+<AB> <00AD>
+<AC> <00A0>
+<AD> <2126>
+<AE> <00660066>
+<AF> <00660069>
+<B0> <0066006C>
+<B1> <006600660069>
+<B2> <00660066006C>
+<B3> <0131>
+<B4> <0237>
+<B5> <0060>
+<B6> <00B4>
+<B7> <02C7>
+<B8> <02D8>
+<B9> <00AF>
+<BA> <02DA>
+<BB> <00B8>
+<BC> <00DF>
+<BD> <00E6>
+<BE> <0153>
+<BF> <00F8>
+<C0> <00C6>
+<C1> <0152>
+<C2> <00D8>
+<C4> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
endobj
20 0 obj
<<
@@ -184,6 +429,7 @@ endobj
/FirstChar 49
/LastChar 49
/Widths 26 0 R
+/ToUnicode 33 0 R
>>
endobj
21 0 obj
@@ -193,7 +439,7 @@ endobj
/Kids [5 0 R]
>>
endobj
-32 0 obj
+34 0 obj
<<
/Type /Outlines
/First 24 0 R
@@ -205,38 +451,38 @@ endobj
<<
/Title 25 0 R
/A 23 0 R
-/Parent 32 0 R
+/Parent 34 0 R
>>
endobj
-33 0 obj
+35 0 obj
<<
/Names [(Doc-Start) 17 0 R (page.1) 16 0 R (section.1) 18 0 R]
/Limits [(Doc-Start) (section.1)]
>>
endobj
-34 0 obj
+36 0 obj
<<
-/Dests 33 0 R
+/Dests 35 0 R
/EmbeddedFiles 22 0 R
>>
endobj
-35 0 obj
+37 0 obj
<<
/Type /Catalog
/Pages 21 0 R
-/Outlines 32 0 R
-/Names 34 0 R
+/Outlines 34 0 R
+/Names 36 0 R
/Lang (en-US)/PageMode /UseAttachments/OpenAction [5 0 R /Fit]/PageLabels <</Nums[0<</S/D>>]>>
>>
endobj
-36 0 obj
+38 0 obj
<<
/Creator <FEFF004C006100540065005800200077006900740068002000680079007000650072007200650066>/Producer (pdfTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')
/Trapped /False
>>
endobj
xref
-0 37
+0 39
0000000002 65535 f
0000002103 00000 n
0000000003 00000 f
@@ -256,12 +502,12 @@ xref
0000002535 00000 n
0000002593 00000 n
0000002652 00000 n
-0000021882 00000 n
-0000022023 00000 n
-0000022162 00000 n
+0000023670 00000 n
+0000025612 00000 n
+0000025769 00000 n
0000002811 00000 n
0000002911 00000 n
-0000022294 00000 n
+0000025901 00000 n
0000002957 00000 n
0000003181 00000 n
0000003203 00000 n
@@ -269,16 +515,18 @@ xref
0000014005 00000 n
0000014257 00000 n
0000021663 00000 n
-0000022220 00000 n
-0000022355 00000 n
-0000022474 00000 n
-0000022532 00000 n
-0000022709 00000 n
+0000021882 00000 n
+0000023829 00000 n
+0000025827 00000 n
+0000025962 00000 n
+0000026081 00000 n
+0000026139 00000 n
+0000026316 00000 n
trailer
-<< /Size 37
-/Root 35 0 R
-/Info 36 0 R
+<< /Size 39
+/Root 37 0 R
+/Info 38 0 R
/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
startxref
-22930
+26537
%%EOF
More information about the latex3-commits
mailing list.