[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: testfiles (790e4d3)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Jul 23 12:03:58 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/790e4d39cbc0362624ac1c88ede174a6f5548fc4

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

commit 790e4d39cbc0362624ac1c88ede174a6f5548fc4
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jul 23 12:03:58 2021 +0200

    testfiles


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

790e4d39cbc0362624ac1c88ede174a6f5548fc4
 testfiles-dvips/ap-names.pvt                       |  18 ++
 testfiles-dvips/ap-names.tpf                       | Bin 0 -> 6676 bytes
 testfiles/ap-names.luatex.tpf                      | 242 ++++++++++++++++
 testfiles/ap-names.pvt                             |  17 ++
 testfiles/{tag-checkbox.tpf => ap-names.tpf}       | 312 +++++++++++----------
 .../{tag-checkbox.xetex.tpf => ap-names.xetex.tpf} | 202 +++++++------
 6 files changed, 536 insertions(+), 255 deletions(-)

diff --git a/testfiles-dvips/ap-names.pvt b/testfiles-dvips/ap-names.pvt
new file mode 100644
index 0000000..d26198e
--- /dev/null
+++ b/testfiles-dvips/ap-names.pvt
@@ -0,0 +1,18 @@
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{}
+\RequirePackage{pdfmanagement-regressiontest}
+\documentclass{article}
+\usepackage{l3pdffield-testphase}
+%THIS DOESN'T ADD TO AP WITH DVIPS!
+\begin{document}
+\START
+\ExplSyntaxOn
+\pdffield_appearance:nn{test/Yes}{XX}
+\pdffield_appearance:nn{test/Off}{YX}
+\pdfmanagement_add:nxx{Catalog/Names/AP}{girl}{\pdfxform_ref:n{test/Yes}}
+\pdfmanagement_add:nxx{Catalog/Names/AP}{boy}{\pdfxform_ref:n{test/Off}}
+
+\pdffield_checkbox:n{name=test,width=3ex,height=1em,appearance=test,checked}
+\ExplSyntaxOff
+
+\end{document}
\ No newline at end of file
diff --git a/testfiles-dvips/ap-names.tpf b/testfiles-dvips/ap-names.tpf
new file mode 100644
index 0000000..9dd9c27
Binary files /dev/null and b/testfiles-dvips/ap-names.tpf differ
diff --git a/testfiles/ap-names.luatex.tpf b/testfiles/ap-names.luatex.tpf
new file mode 100644
index 0000000..406ef90
--- /dev/null
+++ b/testfiles/ap-names.luatex.tpf
@@ -0,0 +1,242 @@
+%PDF-1.5
+%ÌÕÁÔÅØÐÄÆ
+5 0 obj
+<< /Type /XObject /Subtype /Form /FormType 1 /BBox [ 0 0 14.944 6.804 ] /Matrix [ 1 0 0 1 0 0 ] /Resources 6 0 R /Length 52 >>         
+stream
+BT
+/F23 9.96264 Tf
+1 0 0 1 0 0 Tm [<00730073>]TJ
+ET
+endstream
+endobj
+6 0 obj
+<< /ExtGState 1 0 R /Font << /F23 7 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+8 0 obj
+<< /Type /XObject /Subtype /Form /FormType 1 /BBox [ 0 0 14.944 6.804 ] /Matrix [ 1 0 0 1 0 0 ] /Resources 9 0 R /Length 52 >>         
+stream
+BT
+/F23 9.96264 Tf
+1 0 0 1 0 0 Tm [<00750073>]TJ
+ET
+endstream
+endobj
+9 0 obj
+<< /ExtGState 1 0 R /Font << /F23 7 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+10 0 obj
+<< /Type /XObject /Subtype /Form /FormType 1 /BBox [ 0 0 11.955 12.752 ] /Matrix [ 1 0 0 1 0 0 ] /Resources 11 0 R /Length 310 >>        
+stream
+q
+1 0 0 1 0 12.553 cm
+[] 0 d 0 J 0.398 w 0 0 m 11.955 0 l S
+Q
+q
+1 0 0 1 0.199 0.398 cm
+[] 0 d 0 J 0.398 w 0 0 m 0 11.955 l S
+Q
+BT
+/F23 9.96264 Tf
+1 0 0 1 2.102 3.985 Tm [<0193>]TJ
+ET
+q
+1 0 0 1 11.756 0.398 cm
+[] 0 d 0 J 0.398 w 0 0 m 0 11.955 l S
+Q
+q
+1 0 0 1 0 0.199 cm
+[] 0 d 0 J 0.398 w 0 0 m 11.955 0 l S
+Q
+endstream
+endobj
+11 0 obj
+<< /ExtGState 1 0 R /Font << /F23 7 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+12 0 obj
+<< /Type /XObject /Subtype /Form /FormType 1 /BBox [ 0 0 11.955 12.752 ] /Matrix [ 1 0 0 1 0 0 ] /Resources 13 0 R /Length 254 >>        
+stream
+q
+1 0 0 1 0 12.553 cm
+[] 0 d 0 J 0.398 w 0 0 m 11.955 0 l S
+Q
+q
+1 0 0 1 0.199 0.398 cm
+[] 0 d 0 J 0.398 w 0 0 m 0 11.955 l S
+Q
+q
+1 0 0 1 11.756 0.398 cm
+[] 0 d 0 J 0.398 w 0 0 m 0 11.955 l S
+Q
+q
+1 0 0 1 0 0.199 cm
+[] 0 d 0 J 0.398 w 0 0 m 11.955 0 l S
+Q
+endstream
+endobj
+13 0 obj
+<< /ExtGState 1 0 R /ProcSet [ /PDF ] >>
+endobj
+14 0 obj
+<< /Yes 10 0 R/Off 12 0 R >>
+endobj
+15 0 obj
+<< /Yes 5 0 R/Off 8 0 R >>
+endobj
+16 0 obj
+<< /T (test) /V /Yes /DV /Yes /FT /Btn /Kids 17 0 R /Ff 0  >>
+endobj
+18 0 obj
+<< /N 15 0 R  >>
+endobj
+17 0 obj
+[ 19 0 R ]
+endobj
+22 0 obj
+<< /Length 73 >>         
+stream
+/opacity1 gs
+BT
+/F23 9.96264 Tf
+1 0 0 1 303.133 139.255 Tm [<0052>]TJ
+ET
+endstream
+endobj
+21 0 obj
+<< /Type /Page /Contents 22 0 R /Resources 20 0 R /MediaBox [ 0 0 595.276 841.89 ] /Parent 23 0 R /Annots 24 0 R >>
+endobj
+24 0 obj
+[ 19 0 R ]
+endobj
+19 0 obj
+<< /Type /Annot /Subtype /Widget /AS /Yes /F 0 /Parent 16 0 R /AP 18 0 R  /Rect [ 148.712 707.125 161.594 717.088 ] >>
+endobj
+20 0 obj
+<< /ExtGState 1 0 R /Font << /F23 7 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+1 0 obj
+<< /opacity1 <</ca 1/CA 1>>  >>
+endobj
+25 0 obj
+[ 16 0 R ]
+endobj
+26 0 obj
+<< /Fields 25 0 R  >>
+endobj
+27 0 obj
+<< /Names[(boy) 8 0 R (girl) 5 0 R] >>
+endobj
+28 0 obj
+[ 82 [ 500 ] 115 [ 750 ] 117 [ 750 ] 403 [ 778 ] ]
+endobj
+30 0 obj
+<< /Length 51 >>         
+[BINARY STREAM]
+endobj
+31 0 obj
+<< /Subtype /CIDFontType0C /Length 996 >>        
+[BINARY STREAM]
+endobj
+29 0 obj
+<< /Type /FontDescriptor /FontName /HHLYGM+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 31 0 R /CIDSet 30 0 R >>
+endobj
+32 0 obj
+<< /Length 734 >>        
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-HHLYGM-LMRoman10-Regular-0)
+%%Title: (TeX-HHLYGM-LMRoman10-Regular-0 TeX HHLYGM-LMRoman10-Regular 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (HHLYGM-LMRoman10-Regular)
+/Supplement 0
+>> def
+/CMapName /TeX-Identity-HHLYGM-LMRoman10-Regular def
+/CMapType 2 def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+4 beginbfchar
+<0052> <0031>
+<0073> <0058>
+<0075> <0059>
+<0193> <00D7>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+7 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /HHLYGM+LMRoman10-Regular /DescendantFonts [ 33 0 R ] /ToUnicode 32 0 R >>
+endobj
+33 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /HHLYGM+LMRoman10-Regular /FontDescriptor 29 0 R /W 28 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
+23 0 obj
+<< /Type /Pages  /Count 1 /Kids [ 21 0 R ] >>
+endobj
+34 0 obj
+<< /AP 27 0 R >>
+endobj
+35 0 obj
+<< /Type /Catalog /Pages 23 0 R /Names 34 0 R /Lang (en-US)/AcroForm 26 0 R >>
+endobj
+36 0 obj
+<< /Creator (TeX)/Producer (LuaTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00') /Trapped /False >>
+endobj
+xref
+0 37
+0000000002 65535 f 
+0000002422 00000 n 
+0000000003 00000 f 
+0000000004 00000 f 
+0000000000 00000 f 
+0000000020 00000 n 
+0000000241 00000 n 
+0000004877 00000 n 
+0000000326 00000 n 
+0000000547 00000 n 
+0000000632 00000 n 
+0000001114 00000 n 
+0000001200 00000 n 
+0000001626 00000 n 
+0000001683 00000 n 
+0000001728 00000 n 
+0000001771 00000 n 
+0000001882 00000 n 
+0000001849 00000 n 
+0000002201 00000 n 
+0000002336 00000 n 
+0000002042 00000 n 
+0000001909 00000 n 
+0000005230 00000 n 
+0000002174 00000 n 
+0000002469 00000 n 
+0000002496 00000 n 
+0000002534 00000 n 
+0000002589 00000 n 
+0000003847 00000 n 
+0000002656 00000 n 
+0000002767 00000 n 
+0000004083 00000 n 
+0000005030 00000 n 
+0000005292 00000 n 
+0000005325 00000 n 
+0000005420 00000 n 
+trailer
+<< /Size 37 /Root 35 0 R /Info 36 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
+startxref
+5564
+%%EOF
diff --git a/testfiles/ap-names.pvt b/testfiles/ap-names.pvt
new file mode 100644
index 0000000..cb5eea2
--- /dev/null
+++ b/testfiles/ap-names.pvt
@@ -0,0 +1,17 @@
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{}
+\RequirePackage{pdfmanagement-regressiontest}
+\documentclass{article}
+\usepackage{l3pdffield-testphase}
+\begin{document}
+\START
+\ExplSyntaxOn
+\pdffield_appearance:nn{test/Yes}{XX}
+\pdffield_appearance:nn{test/Off}{YX}
+\pdfmanagement_add:nxx{Catalog/Names/AP}{girl}{\pdfxform_ref:n{test/Yes}}
+\pdfmanagement_add:nxx{Catalog/Names/AP}{boy}{\pdfxform_ref:n{test/Off}}
+
+\pdffield_checkbox:n{name=test,width=3ex,height=1em,appearance=test,checked}
+\ExplSyntaxOff
+
+\end{document}
\ No newline at end of file
diff --git a/testfiles/tag-checkbox.tpf b/testfiles/ap-names.tpf
similarity index 71%
copy from testfiles/tag-checkbox.tpf
copy to testfiles/ap-names.tpf
index 4fc86e6..459f9c5 100644
--- a/testfiles/tag-checkbox.tpf
+++ b/testfiles/ap-names.tpf
@@ -1,16 +1,61 @@
 %PDF-1.5
 %ÐÔÅØ
-10 0 obj
-<< /MCID 0  >>
+5 0 obj
+<<
+/Type /XObject
+/Subtype /Form
+/BBox [0 0 14.944 6.808]
+/FormType 1
+/Matrix [1 0 0 1 0 0]
+/Resources 6 0 R
+/Length 61        
+>>
+stream
+1 0 0 1 0 6.808 cm
+BT
+/F19 9.9626 Tf 0 -6.808 Td [(XX)]TJ
+ET
+endstream
 endobj
-12 0 obj
+6 0 obj
+<<
+/ExtGState 1 0 R
+/Font << /F19 7 0 R >>
+/ProcSet [ /PDF /Text ]
+>>
+endobj
+8 0 obj
+<<
+/Type /XObject
+/Subtype /Form
+/BBox [0 0 14.944 6.808]
+/FormType 1
+/Matrix [1 0 0 1 0 0]
+/Resources 9 0 R
+/Length 61        
+>>
+stream
+1 0 0 1 0 6.808 cm
+BT
+/F19 9.9626 Tf 0 -6.808 Td [(YX)]TJ
+ET
+endstream
+endobj
+9 0 obj
+<<
+/ExtGState 1 0 R
+/Font << /F19 7 0 R >>
+/ProcSet [ /PDF /Text ]
+>>
+endobj
+10 0 obj
 <<
 /Type /XObject
 /Subtype /Form
 /BBox [0 0 11.955 12.752]
 /FormType 1
 /Matrix [1 0 0 1 0 0]
-/Resources 13 0 R
+/Resources 11 0 R
 /Length 322       
 >>
 stream
@@ -36,21 +81,21 @@ q
 Q
 endstream
 endobj
-13 0 obj
+11 0 obj
 <<
 /ExtGState 1 0 R
-/Font << /F28 14 0 R >>
+/Font << /F28 12 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
-15 0 obj
+13 0 obj
 <<
 /Type /XObject
 /Subtype /Form
 /BBox [0 0 11.955 12.752]
 /FormType 1
 /Matrix [1 0 0 1 0 0]
-/Resources 16 0 R
+/Resources 14 0 R
 /Length 250       
 >>
 stream
@@ -72,127 +117,93 @@ q
 Q
 endstream
 endobj
-16 0 obj
+14 0 obj
 <<
 /ExtGState 1 0 R
 /ProcSet [ /PDF ]
 >>
 endobj
-17 0 obj
-<< /Yes 12 0 R/Off 15 0 R >>
-endobj
-18 0 obj
-<< /T (a) /V /Off /DV /Off /FT /Btn /Kids 19 0 R /Ff 0  >>
-endobj
-21 0 obj
-<< /N 17 0 R  >>
+15 0 obj
+<< /Yes 10 0 R/Off 13 0 R >>
 endobj
-23 0 obj
-<< /Type/OBJR/Obj 22 0 R >>
+16 0 obj
+<< /Yes 5 0 R/Off 8 0 R >>
 endobj
-24 0 obj
-<< /MCID 1  >>
+17 0 obj
+<< /T (test) /V /Yes /DV /Yes /FT /Btn /Kids 18 0 R /Ff 0  >>
 endobj
 19 0 obj
-[ 22 0 R ]
+<< /N 16 0 R  >>
 endobj
-26 0 obj
+18 0 obj
+[ 20 0 R ]
+endobj
+23 0 obj
 <<
-/Length 201       
+/Length 61        
 >>
 stream
 /opacity1 gs
-/P /l3pdf1 BDC
-BT
-/F19 9.9626 Tf 148.712 705.133 Td [(aaaa)]TJ
-ET
-EMC
-/P /l3pdf2 BDC
-BT
-/F19 9.9626 Tf 183.914 705.133 Td [(bbbb)]TJ
-ET
-EMC
 BT
 /F19 9.9626 Tf 303.133 139.255 Td [(1)]TJ
 ET
 endstream
 endobj
-11 0 obj
+22 0 obj
 <<
 /Type /Page
-/Contents 26 0 R
-/Resources 25 0 R
+/Contents 23 0 R
+/Resources 21 0 R
 /MediaBox [0 0 595.276 841.89]
-/Tabs /S /StructParents 0 
-/Parent 28 0 R
-/Annots [ 22 0 R ]
+/Parent 24 0 R
+/Annots [ 20 0 R ]
 >>
 endobj
-22 0 obj
+20 0 obj
 <<
 /Type /Annot
-/Subtype /Widget /AS /Off /F 0 /StructParent 1 /Parent 18 0 R /AP 21 0 R 
-/Rect [171.959 705.133 183.914 717.088]
+/Subtype /Widget /AS /Yes /F 0 /Parent 17 0 R /AP 19 0 R 
+/Rect [148.712 707.125 161.581 717.088]
 >>
 endobj
-25 0 obj
+21 0 obj
 <<
-/Properties <</l3pdf1 10 0 R /l3pdf2 24 0 R >>/ExtGState 1 0 R 
-/Font << /F19 27 0 R >>
+/ExtGState 1 0 R 
+/Font << /F19 7 0 R >>
 /ProcSet [ /PDF /Text ]
 >>
 endobj
 1 0 obj
 << /opacity1 <</ca 1/CA 1>>  >>
 endobj
-29 0 obj
-[ 18 0 R ]
-endobj
-30 0 obj
-<< /Fields 29 0 R  >>
-endobj
-31 0 obj
-<< /Marked true  >>
-endobj
-6 0 obj
-<< /Nums [0 [ 9 0 R 9 0 R ]
-1 20 0 R
-] >>
-endobj
-7 0 obj
-<< /DocumentFragment /Art /Aside /Note /Title /H1 /Sub /Span /H7 /H6 /H8 /H6 /H9 /H6 /H10 /H6 /FENote /Note /Em /Span /Strong /Span  >>
-endobj
-8 0 obj
-[  ]
-endobj
-9 0 obj
-<<  /Type /StructElem /S /P /P 5 0 R /K [<</Type /MCR /Pg 11 0 R/MCID 0>> 20 0 R <</Type /MCR /Pg 11 0 R/MCID 1>>] >>
-endobj
-20 0 obj
-<<  /Type /StructElem /S /Form /P 9 0 R /K 23 0 R >>
+25 0 obj
+[ 17 0 R ]
 endobj
-5 0 obj
-<<  /Type /StructTreeRoot /K 9 0 R /ParentTree 6 0 R /RoleMap 7 0 R /Namespaces 8 0 R >>
+26 0 obj
+<< /Fields 25 0 R  >>
 endobj
-32 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]
+27 0 obj
+<< /Names[(boy) 8 0 R (girl) 5 0 R] >>
 endobj
-34 0 obj
+29 0 obj
 [777.6]
 endobj
-35 0 obj
+30 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]
+endobj
+31 0 obj
 <<
 /Length1 1393
-/Length2 7602
+/Length2 6562
 /Length3 0
-/Length 8995      
+/Length 7955      
 >>
 [BINARY STREAM]
 endobj
-36 0 obj
+32 0 obj
 <<
 /Type /FontDescriptor
-/FontName /XFWMEY+CMR10
+/FontName /JCGLOW+CMR10
 /Flags 4
 /FontBBox [-40 -250 1009 750]
 /Ascent 694
@@ -201,11 +212,11 @@ endobj
 /ItalicAngle 0
 /StemV 69
 /XHeight 431
-/CharSet (/a/b/one)
-/FontFile 35 0 R
+/CharSet (/X/Y/one)
+/FontFile 31 0 R
 >>
 endobj
-37 0 obj
+33 0 obj
 <<
 /Length1 721
 /Length2 1088
@@ -214,7 +225,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-38 0 obj
+34 0 obj
 <<
 /Type /FontDescriptor
 /FontName /LNEZCO+SFRM1000
@@ -227,16 +238,16 @@ endobj
 /StemV 50
 /XHeight 430
 /CharSet (/multiply)
-/FontFile 37 0 R
+/FontFile 33 0 R
 >>
 endobj
-33 0 obj
+28 0 obj
 <<
 /Type /Encoding
 /Differences [214/multiply]
 >>
 endobj
-39 0 obj
+35 0 obj
 <<
 /Length 1724      
 >>
@@ -358,19 +369,19 @@ end
 %%EOF
 endstream
 endobj
-27 0 obj
+7 0 obj
 <<
 /Type /Font
 /Subtype /Type1
-/BaseFont /XFWMEY+CMR10
-/FontDescriptor 36 0 R
+/BaseFont /JCGLOW+CMR10
+/FontDescriptor 32 0 R
 /FirstChar 49
-/LastChar 98
-/Widths 32 0 R
-/ToUnicode 39 0 R
+/LastChar 89
+/Widths 30 0 R
+/ToUnicode 35 0 R
 >>
 endobj
-40 0 obj
+36 0 obj
 <<
 /Length 1568      
 >>
@@ -480,89 +491,92 @@ end
 %%EOF
 endstream
 endobj
-14 0 obj
+12 0 obj
 <<
 /Type /Font
 /Subtype /Type1
 /BaseFont /LNEZCO+SFRM1000
-/FontDescriptor 38 0 R
+/FontDescriptor 34 0 R
 /FirstChar 214
 /LastChar 214
-/Widths 34 0 R
-/Encoding 33 0 R
-/ToUnicode 40 0 R
+/Widths 29 0 R
+/Encoding 28 0 R
+/ToUnicode 36 0 R
 >>
 endobj
-28 0 obj
+24 0 obj
 <<
 /Type /Pages
 /Count 1
-/Kids [11 0 R]
+/Kids [22 0 R]
 >>
 endobj
-41 0 obj
+37 0 obj
+<<
+/AP 27 0 R
+>>
+endobj
+38 0 obj
 <<
 /Type /Catalog
-/Pages 28 0 R
-/MarkInfo 31 0 R/Lang (en-US)/StructTreeRoot 5 0 R/AcroForm 30 0 R
+/Pages 24 0 R
+/Names 37 0 R
+/Lang (en-US)/AcroForm 26 0 R
 >>
 endobj
-42 0 obj
+39 0 obj
 <<
 /Creator (TeX)/Producer (pdfTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')
 /Trapped /False
 >>
 endobj
 xref
-0 43
+0 40
 0000000002 65535 f 
-0000002055 00000 n 
+0000002385 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000002633 00000 n 
-0000002203 00000 n 
-0000002260 00000 n 
-0000002411 00000 n 
-0000002431 00000 n 
 0000000015 00000 n 
-0000001611 00000 n 
-0000000046 00000 n 
-0000000535 00000 n 
-0000018116 00000 n 
-0000000622 00000 n 
-0000001039 00000 n 
-0000001096 00000 n 
-0000001141 00000 n 
-0000001324 00000 n 
-0000002564 00000 n 
-0000001216 00000 n 
-0000001772 00000 n 
-0000001249 00000 n 
-0000001293 00000 n 
-0000001921 00000 n 
-0000001351 00000 n 
-0000016332 00000 n 
-0000018295 00000 n 
-0000002102 00000 n 
-0000002129 00000 n 
-0000002167 00000 n 
-0000002737 00000 n 
-0000014483 00000 n 
-0000003016 00000 n 
-0000003040 00000 n 
-0000012133 00000 n 
-0000012356 00000 n 
-0000014262 00000 n 
-0000014549 00000 n 
-0000016489 00000 n 
-0000018354 00000 n 
-0000018472 00000 n 
+0000000240 00000 n 
+0000015059 00000 n 
+0000000325 00000 n 
+0000000550 00000 n 
+0000000635 00000 n 
+0000001124 00000 n 
+0000016842 00000 n 
+0000001211 00000 n 
+0000001628 00000 n 
+0000001685 00000 n 
+0000001730 00000 n 
+0000001773 00000 n 
+0000001884 00000 n 
+0000001851 00000 n 
+0000002165 00000 n 
+0000002298 00000 n 
+0000002031 00000 n 
+0000001911 00000 n 
+0000017021 00000 n 
+0000002432 00000 n 
+0000002459 00000 n 
+0000002497 00000 n 
+0000013210 00000 n 
+0000002552 00000 n 
+0000002576 00000 n 
+0000002807 00000 n 
+0000010860 00000 n 
+0000011083 00000 n 
+0000012989 00000 n 
+0000013276 00000 n 
+0000015215 00000 n 
+0000017080 00000 n 
+0000017113 00000 n 
+0000017208 00000 n 
 trailer
-<< /Size 43
-/Root 41 0 R
-/Info 42 0 R
+<< /Size 40
+/Root 38 0 R
+/Info 39 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-18616
+17352
 %%EOF
diff --git a/testfiles/tag-checkbox.xetex.tpf b/testfiles/ap-names.xetex.tpf
similarity index 54%
copy from testfiles/tag-checkbox.xetex.tpf
copy to testfiles/ap-names.xetex.tpf
index 577d8e5..ec11b04 100644
--- a/testfiles/tag-checkbox.xetex.tpf
+++ b/testfiles/ap-names.xetex.tpf
@@ -4,30 +4,50 @@
 <</Font<</F1 5 0 R>>/ExtGState 7 0 R/Pattern 8 0 R/Shading 9 0 R/ColorSpace 10 0 R/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
 4 0 obj
+<</Type/XObject/Subtype/Form/FormType 1/BBox[-72 72 -57.056 78.804]/Matrix[1 0 0
+1 72 -72]/Resources 11 0 R/Length 73>>
+stream
+ 0 G 0 g 0 g 0 G /opacity1 gs BT /F1 9.9626 Tf -72 72 Td[<00730073>]TJ ET
+endstream
+endobj
+13 0 obj
+<</Font<</F1 5 0 R>>/ExtGState 7 0 R/Pattern 8 0 R/Shading 9 0 R/ColorSpace 10 0 R/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+12 0 obj
+<</Type/XObject/Subtype/Form/FormType 1/BBox[-72 72 -57.056 78.804]/Matrix[1 0 0
+1 72 -72]/Resources 13 0 R/Length 73>>
+stream
+ 0 G 0 g 0 g 0 G /opacity1 gs BT /F1 9.9626 Tf -72 72 Td[<00750073>]TJ ET
+endstream
+endobj
+15 0 obj
+<</Font<</F1 5 0 R>>/ExtGState 7 0 R/Pattern 8 0 R/Shading 9 0 R/ColorSpace 10 0 R/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+14 0 obj
 <</Type/XObject/Subtype/Form/FormType 1/BBox[-72 68.015 -60.045 80.767]/Matrix[1
-0 0 1 72 -72]/Resources 11 0 R/Length 257>>
+0 0 1 72 -72]/Resources 15 0 R/Length 257>>
 stream
  0 G 0 g 0 g 0 G /opacity1 gs q .3985 w -72 80.568 m -60.045 80.568 l S Q q .3985 w -71.801 68.413 m -71.801 80.369 l S Q BT /F1 9.9626 Tf -69.898 72 Td[<0193>]TJ ET q .3985 w -60.244 68.413 m -60.244 80.369 l S Q q .3985 w -72 68.214 m -60.045 68.214 l S Q
 endstream
 endobj
-13 0 obj
+17 0 obj
 <</ExtGState 7 0 R/Pattern 8 0 R/Shading 9 0 R/ColorSpace 10 0 R/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
-12 0 obj
+16 0 obj
 <</Type/XObject/Subtype/Form/FormType 1/BBox[-60.045 68.015 -48.09 80.767]/Matrix[1
-0 0 1 60.045 -72]/Resources 13 0 R/Length 219>>
+0 0 1 60.045 -72]/Resources 17 0 R/Length 219>>
 stream
  0 G 0 g 0 g 0 G /opacity1 gs q .3985 w -60.045 80.568 m -48.09 80.568 l S Q q .3985 w -59.846 68.413 m -59.846 80.369 l S Q q .3985 w -48.289 68.413 m -48.289 80.369 l S Q q .3985 w -60.045 68.214 m -48.09 68.214 l S Q
 endstream
 endobj
-31 0 obj
-<</Length 319>>
+26 0 obj
+<</Length 221>>
 stream
- q 1 0 0 1 72 769.89 cm 0 G 0 g 0 g 0 G /opacity1 gs 0 G 0 g 0 g 0 G /opacity1 gs 0 G 0 g 0 g 0 G /opacity1 gs /P/l3pdf1 BDC BT /F1 9.9626 Tf 76.712 -64.757 Td[<001c001c001c001c>]TJ ET EMC /P/l3pdf2 BDC BT /F1 9.9626 Tf 111.91 -64.757 Td[<0023002300230023>]TJ ET EMC BT /F1 9.9626 Tf 231.133 -630.635 Td[<0052>]TJ ET Q
+ q 1 0 0 1 72 769.89 cm 0 G 0 g 0 g 0 G /opacity1 gs 0 G 0 g 0 g 0 G /opacity1 gs 0 G 0 g 0 g 0 G /opacity1 gs 0 G 0 g 0 g 0 G /opacity1 gs 0 G 0 g 0 g 0 G /opacity1 gs BT /F1 9.9626 Tf 231.133 -630.635 Td[<0052>]TJ ET Q
 endstream
 endobj
-32 0 obj
-<</ExtGState 7 0 R/Properties<</l3pdf1 14 0 R/l3pdf2 20 0 R>>/Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+27 0 obj
+<</ExtGState 7 0 R/Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
 endobj
 7 0 obj
 <</opacity1<</ca 1/CA 1>>>>
@@ -41,76 +61,50 @@ endobj
 9 0 obj
 <<>>
 endobj
-23 0 obj
-<</Type/StructTreeRoot/K 21 0 R/ParentTree 25 0 R/RoleMap 26 0 R/Namespaces 27 0 R>>
-endobj
-25 0 obj
-<</Nums[0[21 0 R 21 0 R]1 22 0 R]>>
+19 0 obj
+<</Yes 4 0 R/Off 12 0 R>>
 endobj
-26 0 obj
-<</DocumentFragment/Art/Aside/Note/Title/H1/Sub/Span/H7/H6/H8/H6/H9/H6/H10/H6/FENote/Note/Em/Span/Strong/Span>>
+20 0 obj
+<</T(test)/V/Yes/DV/Yes/FT/Btn/Kids 18 0 R/Ff 0>>
 endobj
-27 0 obj
-[]
+18 0 obj
+[22 0 R]
 endobj
 21 0 obj
-<</Type/StructElem/S/P/P 23 0 R/K[<</Type/MCR/Pg 3 0 R/MCID 0>>22 0 R<</Type/MCR/Pg
-3 0 R/MCID 1>>]>>
-endobj
-14 0 obj
-<</MCID 0>>
-endobj
-16 0 obj
-<</Yes 4 0 R/Off 12 0 R>>
-endobj
-17 0 obj
-<</T(a)/V/Off/DV/Off/FT/Btn/Kids 15 0 R/Ff 0>>
-endobj
-15 0 obj
-[19 0 R]
+<</N 19 0 R>>
 endobj
 22 0 obj
-<</Type/StructElem/S/Form/P 21 0 R/K 24 0 R>>
+<</Type/Annot/Subtype/Widget/AS/Yes/F 0/Parent 20 0 R/AP 21 0 R/Rect[148.712 707.125
+161.594 717.088]>>
 endobj
-18 0 obj
-<</N 16 0 R>>
-endobj
-19 0 obj
-<</Type/Annot/Subtype/Widget/AS/Off/F 0/StructParent 1/Parent 17 0 R/AP 18 0 R/Rect[171.955
-705.133 183.91 717.088]>>
+23 0 obj
+[20 0 R]
 endobj
 24 0 obj
-<</Type/OBJR/Obj 19 0 R>>
+<</Fields 23 0 R>>
 endobj
-20 0 obj
-<</MCID 1>>
+25 0 obj
+<</Names[(boy)12 0 R(girl)4 0 R]>>
 endobj
 28 0 obj
-[17 0 R]
+<</AP 25 0 R>>
 endobj
 30 0 obj
-<</Fields 28 0 R>>
-endobj
-29 0 obj
-<</Marked true>>
-endobj
-34 0 obj
-[19 0 R]
+[22 0 R]
 endobj
 3 0 obj
-<</Tabs/S/StructParents 0/Resources 32 0 R/Type/Page/Parent 33 0 R/Contents[31 0 R]/Annots
-34 0 R>>
+<</Resources 27 0 R/Type/Page/Parent 29 0 R/Contents[26 0 R]/Annots 30 0 R>>
 endobj
-33 0 obj
+29 0 obj
 <</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 595.28 841.89]>>
 endobj
 2 0 obj
 <</Creator(TeX)/Producer(xetex)/CreationDate(D:20010101194934+01'00')/ModDate(D:20010101205959-00'00')>>
 endobj
 1 0 obj
-<</MarkInfo 29 0 R/Lang(en-US)/StructTreeRoot 23 0 R/AcroForm 30 0 R/Pages 33 0 R/Type/Catalog>>
+<</Lang(en-US)/AcroForm 24 0 R/Names 28 0 R/Pages 29 0 R/Type/Catalog>>
 endobj
-35 0 obj
+31 0 obj
 <</Length 398>>
 stream
 /CIDInit /ProcSet findresource begin
@@ -127,9 +121,9 @@ begincmap
 <0000> <FFFF>
 endcodespacerange
 4 beginbfchar
-<001C> <0061>
-<0023> <0062>
 <0052> <0031>
+<0073> <0058>
+<0075> <0059>
 <0193> <00D7>
 endbfchar
 endcmap
@@ -138,75 +132,71 @@ end
 end
 endstream
 endobj
-37 0 obj
-<</Subtype/CIDFontType0C/Length 938>>
+33 0 obj
+<</Subtype/CIDFontType0C/Length 975>>
 [BINARY STREAM]
 endobj
-38 0 obj
-[28[500]35[556]82[500]403[778]]
+34 0 obj
+[82[500]115[750]117[750]403[778]]
 endobj
-39 0 obj
+35 0 obj
 <</Length 51>>
 [BINARY STREAM]
 endobj
 6 0 obj
 <</Type/Font/Subtype/CIDFontType0/BaseFont/EXQIVM+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
-0>>/FontDescriptor 36 0 R/DW 280/W 38 0 R>>
+0>>/FontDescriptor 32 0 R/DW 280/W 34 0 R>>
 endobj
-36 0 obj
+32 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
-37 0 R/CIDSet 39 0 R>>
+33 0 R/CIDSet 35 0 R>>
 endobj
 5 0 obj
 <</Type/Font/Subtype/Type0/BaseFont/EXQIVM+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[6 0 R]/ToUnicode
-35 0 R>>
+31 0 R>>
 endobj
 xref
-0 40
+0 36
 0000000000 65535 f 
-0000002995 00000 n 
-0000002875 00000 n 
-0000002680 00000 n 
+0000003027 00000 n 
+0000002907 00000 n 
+0000002735 00000 n 
 0000000156 00000 n 
-0000005163 00000 n 
-0000004713 00000 n 
-0000001586 00000 n 
-0000001650 00000 n 
-0000001670 00000 n 
-0000001629 00000 n 
+0000005209 00000 n 
+0000004759 00000 n 
+0000002181 00000 n 
+0000002245 00000 n 
+0000002265 00000 n 
+0000002224 00000 n 
 0000000015 00000 n 
-0000000694 00000 n 
-0000000571 00000 n 
-0000002108 00000 n 
-0000002241 00000 n 
-0000002136 00000 n 
-0000002178 00000 n 
-0000002328 00000 n 
-0000002358 00000 n 
-0000002534 00000 n 
-0000001990 00000 n 
-0000002266 00000 n 
-0000001690 00000 n 
-0000002492 00000 n 
-0000001791 00000 n 
-0000001843 00000 n 
-0000001971 00000 n 
-0000002562 00000 n 
-0000002622 00000 n 
-0000002587 00000 n 
-0000001079 00000 n 
-0000001448 00000 n 
-0000002795 00000 n 
-0000002655 00000 n 
-0000003107 00000 n 
-0000004902 00000 n 
-0000003555 00000 n 
-0000004565 00000 n 
-0000004613 00000 n 
+0000000523 00000 n 
+0000000382 00000 n 
+0000000891 00000 n 
+0000000750 00000 n 
+0000001430 00000 n 
+0000001307 00000 n 
+0000002393 00000 n 
+0000002285 00000 n 
+0000002327 00000 n 
+0000002418 00000 n 
+0000002448 00000 n 
+0000002568 00000 n 
+0000002593 00000 n 
+0000002628 00000 n 
+0000001815 00000 n 
+0000002086 00000 n 
+0000002679 00000 n 
+0000002827 00000 n 
+0000002710 00000 n 
+0000003114 00000 n 
+0000004948 00000 n 
+0000003562 00000 n 
+0000004609 00000 n 
+0000004659 00000 n 
 trailer
 <</ID[<ID-STRING><ID-STRING>]/Root
-1 0 R/Info 2 0 R/Size 40>>
+1 0 R/Info 2 0 R/Size 36>>
 startxref
-5312
+5358
 %%EOF





More information about the latex3-commits mailing list.