next: return to number precision in test1

main
Matthew Butterick 6 years ago
parent dfe916721b
commit 2637c90b7e

@ -1,23 +1,23 @@
#lang racket #lang racket
(module+ test (module+ test
#;(require pitfall/test/test0 (require ptest/test0
pitfall/test/test1 ptest/test1
pitfall/test/test2 ptest/test2
pitfall/test/test3 ptest/test3
pitfall/test/test4 ptest/test4
pitfall/test/test5 ptest/test5
pitfall/test/test6 ptest/test6
pitfall/test/test7 ptest/test7
pitfall/test/test8 ptest/test8
pitfall/test/test09 ptest/test9
pitfall/test/test10 ptest/test10
pitfall/test/test11 ptest/test11
pitfall/test/test12 ; ttf subset ptest/test12 ; ttf subset
pitfall/test/test13 ; subset with composites ptest/test13 ; subset with composites
pitfall/test/test14 ; Fira ttf with GPOS (no kerning) ptest/test14 ; Fira ttf with GPOS (no kerning)
pitfall/test/test15 ; Fira ttf with GPOS kerning ptest/test15 ; Fira ttf with GPOS kerning
pitfall/test/test16 ; lig (GSUB) ptest/test16 ; lig (GSUB)
pitfall/test/test17 ; multiple ligs & kerns (GSUB and GPOS) ptest/test17 ; multiple ligs & kerns (GSUB and GPOS)
pitfall/test/test18 ; paragraph ptest/test18 ; paragraph
pitfall/page-test pitfall/page-test
(submod pitfall/zlib test))) (submod pitfall/zlib test)))

@ -2,7 +2,7 @@
(require pitfall/pdftest) (require pitfall/pdftest)
(define-runtime-path pdf "test0rkt.pdf") (define-runtime-path pdf "test0rkt.pdf")
(make-doc pdf) (make-doc pdf #f)
(define-runtime-path pdfc "test0crkt.pdf") (define-runtime-path pdfc "test0crkt.pdf")
(make-doc pdfc 'compress) (make-doc pdfc #t)

@ -8,38 +8,36 @@
endobj endobj
5 0 obj 5 0 obj
<< <<
/Parent 1 0 R
/Resources 4 0 R /Resources 4 0 R
/Contents 3 0 R /Contents 3 0 R
/MediaBox [0 0 612 792] /MediaBox [0 0 612 792]
/Type /Page /Type /Page
/Parent 1 0 R
>> >>
endobj endobj
4 0 obj 4 0 obj
<< <<
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/ExtGState << /ExtGState <<
/Gs1 6 0 R /Gs1 6 0 R
>> >>
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
>> >>
endobj endobj
3 0 obj 3 0 obj
<< <<
/Length 151
/Filter /FlateDecode /Filter /FlateDecode
/Length 165
>> >>
stream stream
xœ]<5D>] xœm<EFBFBD>K
ƒ0„ß÷¹@ãî¬ûZ Ã0 D÷:…/PGÿ²-…ì{“~ )Ù Y¤Æ`YóÆ Ôs"½âÈ&/ðB4äÑ,M±ªð®†Ëü}æù:<3A>M. FËj.ù ÃTÈÜ Ü€E·±ª¢ÈV<56>AÉVÔߨ&rú%gŒ6<C592>c‰n$/cðíAú8ÙòÔW¼Étp¼åqËë|¨-ôq¼ç=} úXfJ
¾÷
Áþ@-”@Ïï&• C2ó #ŽíœÄ®p†3}I˜<49>tìæ¢`êM¨ª¹N¿WœnãÅÅDô°pŠjÆ$îèNPss&d%^‡.ôjˆ*sS$åà{i¡¡<è>¦+Ï|Y¡z71¬<Þ¦¨|ìc¨¼çaûÖÖÈaÏ´E=
endstream endstream
endobj endobj
7 0 obj 7 0 obj
<< <<
/CreationDate (D:19700101000000Z) /CreationDate (D:19700101000000Z)
/Creator (PITKIT)
/Producer (PITKIT) /Producer (PITKIT)
/Creator (PITKIT)
>> >>
endobj endobj
2 0 obj 2 0 obj
@ -51,26 +49,26 @@ endobj
1 0 obj 1 0 obj
<< <<
/Kids [5 0 R] /Kids [5 0 R]
/Count 1
/Type /Pages /Type /Pages
/Count 1
>> >>
endobj endobj
xref xref
0 8 0 8
0000000000 65535 f 0000000000 65535 f
0000000622 00000 n 0000000636 00000 n
0000000573 00000 n 0000000587 00000 n
0000000258 00000 n 0000000258 00000 n
0000000163 00000 n 0000000163 00000 n
0000000059 00000 n 0000000059 00000 n
0000000015 00000 n 0000000015 00000 n
0000000481 00000 n 0000000495 00000 n
trailer trailer
<< <<
/Info 7 0 R
/Root 2 0 R
/Size 8 /Size 8
/Root 2 0 R
/Info 7 0 R
>> >>
startxref startxref
679 693
%%EOF %%EOF

@ -26,13 +26,11 @@ endobj
3 0 obj 3 0 obj
<< <<
/Filter /FlateDecode /Filter /FlateDecode
/Length 151 /Length 165
>> >>
stream stream
xњ]Џ] xœm<EFBFBD>K
ѓ0„Яч№@го¬ыZ Ã0 D÷:…/PGÿ²-…ì{“~ )Ù Y¤Æ`YóÆ Ôs"½âÈ&/ðB4äÑ,M±ªð®†Ëü}æù:<3A>M. FËj.ù ÃTÈÜ Ü€E·±ª¢ÈV<56>AÉVÔߨ&rú%gŒ6<C592>c‰n$/cðíAú8ÙòÔW¼Étp¼åqËë|¨-ôq¼ç=} úXfJ
ѕч
Бю@-”@Пп&• C2у #ЋнњД®p†3}I<>ќtмжў`кMЁЄ№NїWњnгЕЕDф°pЉjЖ$оиNPss&d%^‡.фj€*sS$еа{iЎЎ<и>¦+П|YЎz71¬<Ю¦Ё|мcЁјзaыЦЦИaПґE=
endstream endstream
endobj endobj
7 0 obj 7 0 obj
@ -58,13 +56,13 @@ endobj
xref xref
0 8 0 8
0000000000 65535 f 0000000000 65535 f
0000000622 00000 n 0000000636 00000 n
0000000573 00000 n 0000000587 00000 n
0000000258 00000 n 0000000258 00000 n
0000000163 00000 n 0000000163 00000 n
0000000059 00000 n 0000000059 00000 n
0000000015 00000 n 0000000015 00000 n
0000000481 00000 n 0000000495 00000 n
trailer trailer
<< <<
/Size 8 /Size 8
@ -72,5 +70,5 @@ trailer
/Info 7 0 R /Info 7 0 R
>> >>
startxref startxref
679 693
%%EOF %%EOF

@ -8,24 +8,24 @@
endobj endobj
5 0 obj 5 0 obj
<< <<
/Parent 1 0 R
/Resources 4 0 R /Resources 4 0 R
/Contents 3 0 R /Contents 3 0 R
/MediaBox [0 0 612 792] /MediaBox [0 0 612 792]
/Type /Page /Type /Page
/Parent 1 0 R
>> >>
endobj endobj
4 0 obj 4 0 obj
<< <<
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/ExtGState << /ExtGState <<
/Gs1 6 0 R /Gs1 6 0 R
>> >>
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
>> >>
endobj endobj
3 0 obj 3 0 obj
<< <<
/Length 294 /Length 358
>> >>
stream stream
1 0 0 -1 0 792 cm 1 0 0 -1 0 792 cm
@ -38,10 +38,10 @@ q
/Gs1 gs /Gs1 gs
f f
230 200 m 230 200 m
230 172.385763 252.385763 150 280 150 c 230 172.38576250846032 252.38576250846032 150 280 150 c
307.614237 150 330 172.385763 330 200 c 307.61423749153965 150 330 172.38576250846032 330 200 c
330 227.614237 307.614237 250 280 250 c 330 227.61423749153968 307.61423749153965 250 280 250 c
252.385763 250 230 227.614237 230 200 c 252.38576250846032 250 230 227.61423749153968 230 200 c
h h
/DeviceRGB cs /DeviceRGB cs
0.4 0 1 scn 0.4 0 1 scn
@ -53,8 +53,8 @@ endobj
7 0 obj 7 0 obj
<< <<
/CreationDate (D:19700101000000Z) /CreationDate (D:19700101000000Z)
/Creator (PITKIT)
/Producer (PITKIT) /Producer (PITKIT)
/Creator (PITKIT)
>> >>
endobj endobj
2 0 obj 2 0 obj
@ -66,26 +66,26 @@ endobj
1 0 obj 1 0 obj
<< <<
/Kids [5 0 R] /Kids [5 0 R]
/Count 1
/Type /Pages /Type /Pages
/Count 1
>> >>
endobj endobj
xref xref
0 8 0 8
0000000000 65535 f 0000000000 65535 f
0000000744 00000 n 0000000808 00000 n
0000000695 00000 n 0000000759 00000 n
0000000258 00000 n 0000000258 00000 n
0000000163 00000 n 0000000163 00000 n
0000000059 00000 n 0000000059 00000 n
0000000015 00000 n 0000000015 00000 n
0000000603 00000 n 0000000667 00000 n
trailer trailer
<< <<
/Info 7 0 R
/Root 2 0 R
/Size 8 /Size 8
/Root 2 0 R
/Info 7 0 R
>> >>
startxref startxref
801 865
%%EOF %%EOF

@ -25,7 +25,7 @@ endobj
endobj endobj
3 0 obj 3 0 obj
<< <<
/Length 294 /Length 358
>> >>
stream stream
1 0 0 -1 0 792 cm 1 0 0 -1 0 792 cm
@ -38,10 +38,10 @@ q
/Gs1 gs /Gs1 gs
f f
230 200 m 230 200 m
230 172.385763 252.385763 150 280 150 c 230 172.38576250846032 252.38576250846032 150 280 150 c
307.614237 150 330 172.385763 330 200 c 307.61423749153965 150 330 172.38576250846032 330 200 c
330 227.614237 307.614237 250 280 250 c 330 227.61423749153968 307.61423749153965 250 280 250 c
252.385763 250 230 227.614237 230 200 c 252.38576250846032 250 230 227.61423749153968 230 200 c
h h
/DeviceRGB cs /DeviceRGB cs
0.4 0 1 scn 0.4 0 1 scn
@ -73,13 +73,13 @@ endobj
xref xref
0 8 0 8
0000000000 65535 f 0000000000 65535 f
0000000744 00000 n 0000000808 00000 n
0000000695 00000 n 0000000759 00000 n
0000000258 00000 n 0000000258 00000 n
0000000163 00000 n 0000000163 00000 n
0000000059 00000 n 0000000059 00000 n
0000000015 00000 n 0000000015 00000 n
0000000603 00000 n 0000000667 00000 n
trailer trailer
<< <<
/Size 8 /Size 8
@ -87,5 +87,5 @@ trailer
/Info 7 0 R /Info 7 0 R
>> >>
startxref startxref
801 865
%%EOF %%EOF

Binary file not shown.

Binary file not shown.

@ -20,26 +20,26 @@ endobj
endobj endobj
5 0 obj 5 0 obj
<< <<
/Parent 1 0 R
/Resources 4 0 R /Resources 4 0 R
/Contents 3 0 R /Contents 3 0 R
/MediaBox [0 0 612 792] /MediaBox [0 0 612 792]
/Type /Page /Type /Page
/Parent 1 0 R
>> >>
endobj endobj
4 0 obj 4 0 obj
<< <<
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/ExtGState << /ExtGState <<
/Gs3 8 0 R
/Gs2 7 0 R /Gs2 7 0 R
/Gs1 6 0 R /Gs1 6 0 R
/Gs3 8 0 R
>> >>
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
>> >>
endobj endobj
3 0 obj 3 0 obj
<< <<
/Length 890 /Length 1078
>> >>
stream stream
1 0 0 -1 0 792 cm 1 0 0 -1 0 792 cm
@ -58,10 +58,10 @@ S
q q
1 0 0 1 200 0 cm 1 0 0 1 200 0 cm
50 50 m 50 50 m
50 22.385763 72.385763 0 100 0 c 50 22.38576250846032 72.38576250846032 0 100 0 c
127.614237 0 150 22.385763 150 50 c 127.61423749153968 0 150 22.38576250846032 150 50 c
150 77.614237 127.614237 100 100 100 c 150 77.61423749153968 127.61423749153968 100 100 100 c
72.385763 100 50 77.614237 50 50 c 72.38576250846032 100 50 77.61423749153968 50 50 c
h h
[5 10] 0 d [5 10] 0 d
S S
@ -69,10 +69,10 @@ Q
q q
1 0 0 1 400 0 cm 1 0 0 1 400 0 cm
50 50 m 50 50 m
50 22.385763 72.385763 0 100 0 c 50 22.38576250846032 72.38576250846032 0 100 0 c
127.614237 0 150 22.385763 150 50 c 127.61423749153968 0 150 22.38576250846032 150 50 c
150 77.614237 127.614237 100 100 100 c 150 77.61423749153968 127.61423749153968 100 100 100 c
72.385763 100 50 77.614237 50 50 c 72.38576250846032 100 50 77.61423749153968 50 50 c
h h
3 w 3 w
/Gs1 gs /Gs1 gs
@ -97,10 +97,10 @@ S
2 J 2 J
250 20 m 250 20 m
260 30 m 260 30 m
260 21.715729 266.715729 15 275 15 c 260 21.715728752538098 266.7157287525381 15 275 15 c
283.284271 15 290 21.715729 290 30 c 283.2842712474619 15 290 21.715728752538098 290 30 c
290 38.284271 283.284271 45 275 45 c 290 38.2842712474619 283.2842712474619 45 275 45 c
266.715729 45 260 38.284271 260 30 c 266.7157287525381 45 260 38.2842712474619 260 30 c
h h
S S
0 j 0 j
@ -118,8 +118,8 @@ endobj
9 0 obj 9 0 obj
<< <<
/CreationDate (D:19700101000000Z) /CreationDate (D:19700101000000Z)
/Creator (PITKIT)
/Producer (PITKIT) /Producer (PITKIT)
/Creator (PITKIT)
>> >>
endobj endobj
2 0 obj 2 0 obj
@ -131,28 +131,28 @@ endobj
1 0 obj 1 0 obj
<< <<
/Kids [5 0 R] /Kids [5 0 R]
/Count 1
/Type /Pages /Type /Pages
/Count 1
>> >>
endobj endobj
xref xref
0 10 0 10
0000000000 65535 f 0000000000 65535 f
0000001452 00000 n 0000001641 00000 n
0000001403 00000 n 0000001592 00000 n
0000000370 00000 n 0000000370 00000 n
0000000253 00000 n 0000000253 00000 n
0000000149 00000 n 0000000149 00000 n
0000000015 00000 n 0000000015 00000 n
0000000061 00000 n 0000000061 00000 n
0000000105 00000 n 0000000105 00000 n
0000001311 00000 n 0000001500 00000 n
trailer trailer
<< <<
/Info 9 0 R
/Root 2 0 R
/Size 10 /Size 10
/Root 2 0 R
/Info 9 0 R
>> >>
startxref startxref
1509 1698
%%EOF %%EOF

@ -39,7 +39,7 @@ endobj
endobj endobj
3 0 obj 3 0 obj
<< <<
/Length 890 /Length 1078
>> >>
stream stream
1 0 0 -1 0 792 cm 1 0 0 -1 0 792 cm
@ -58,10 +58,10 @@ S
q q
1 0 0 1 200 0 cm 1 0 0 1 200 0 cm
50 50 m 50 50 m
50 22.385763 72.385763 0 100 0 c 50 22.38576250846032 72.38576250846032 0 100 0 c
127.614237 0 150 22.385763 150 50 c 127.61423749153968 0 150 22.38576250846032 150 50 c
150 77.614237 127.614237 100 100 100 c 150 77.61423749153968 127.61423749153968 100 100 100 c
72.385763 100 50 77.614237 50 50 c 72.38576250846032 100 50 77.61423749153968 50 50 c
h h
[5 10] 0 d [5 10] 0 d
S S
@ -69,10 +69,10 @@ Q
q q
1 0 0 1 400 0 cm 1 0 0 1 400 0 cm
50 50 m 50 50 m
50 22.385763 72.385763 0 100 0 c 50 22.38576250846032 72.38576250846032 0 100 0 c
127.614237 0 150 22.385763 150 50 c 127.61423749153968 0 150 22.38576250846032 150 50 c
150 77.614237 127.614237 100 100 100 c 150 77.61423749153968 127.61423749153968 100 100 100 c
72.385763 100 50 77.614237 50 50 c 72.38576250846032 100 50 77.61423749153968 50 50 c
h h
3 w 3 w
/Gs1 gs /Gs1 gs
@ -97,10 +97,10 @@ S
2 J 2 J
250 20 m 250 20 m
260 30 m 260 30 m
260 21.715729 266.715729 15 275 15 c 260 21.715728752538098 266.7157287525381 15 275 15 c
283.284271 15 290 21.715729 290 30 c 283.2842712474619 15 290 21.715728752538098 290 30 c
290 38.284271 283.284271 45 275 45 c 290 38.2842712474619 283.2842712474619 45 275 45 c
266.715729 45 260 38.284271 260 30 c 266.7157287525381 45 260 38.2842712474619 260 30 c
h h
S S
0 j 0 j
@ -138,15 +138,15 @@ endobj
xref xref
0 10 0 10
0000000000 65535 f 0000000000 65535 f
0000001452 00000 n 0000001641 00000 n
0000001403 00000 n 0000001592 00000 n
0000000370 00000 n 0000000370 00000 n
0000000253 00000 n 0000000253 00000 n
0000000149 00000 n 0000000149 00000 n
0000000015 00000 n 0000000015 00000 n
0000000061 00000 n 0000000061 00000 n
0000000105 00000 n 0000000105 00000 n
0000001311 00000 n 0000001500 00000 n
trailer trailer
<< <<
/Size 10 /Size 10
@ -154,5 +154,5 @@ trailer
/Info 9 0 R /Info 9 0 R
>> >>
startxref startxref
1509 1698
%%EOF %%EOF

Binary file not shown.

@ -2,11 +2,11 @@
%ÿÿÿÿ %ÿÿÿÿ
5 0 obj 5 0 obj
<< <<
/Parent 1 0 R
/Resources 4 0 R /Resources 4 0 R
/Contents 3 0 R /Contents 3 0 R
/MediaBox [0 0 612 792] /MediaBox [0 0 612 792]
/Type /Page /Type /Page
/Parent 1 0 R
>> >>
endobj endobj
4 0 obj 4 0 obj
@ -37,15 +37,15 @@ endobj
7 0 obj 7 0 obj
<< <<
/CreationDate (D:19700101000000Z) /CreationDate (D:19700101000000Z)
/Creator (PITKIT)
/Producer (PITKIT) /Producer (PITKIT)
/Creator (PITKIT)
>> >>
endobj endobj
6 0 obj 6 0 obj
<< <<
/BaseFont /Helvetica
/Encoding /WinAnsiEncoding
/Subtype /Type1 /Subtype /Type1
/Encoding /WinAnsiEncoding
/BaseFont /Helvetica
/Type /Font /Type /Font
>> >>
endobj endobj
@ -58,8 +58,8 @@ endobj
1 0 obj 1 0 obj
<< <<
/Kids [5 0 R] /Kids [5 0 R]
/Count 1
/Type /Pages /Type /Pages
/Count 1
>> >>
endobj endobj
xref xref
@ -74,9 +74,9 @@ xref
0000000382 00000 n 0000000382 00000 n
trailer trailer
<< <<
/Info 7 0 R
/Root 2 0 R
/Size 8 /Size 8
/Root 2 0 R
/Info 7 0 R
>> >>
startxref startxref
677 677

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save