next: return to number precision in test1

main
Matthew Butterick 6 years ago
parent dfe916721b
commit 2637c90b7e

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

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

@ -8,38 +8,36 @@
endobj
5 0 obj
<<
/Parent 1 0 R
/Resources 4 0 R
/Contents 3 0 R
/MediaBox [0 0 612 792]
/Type /Page
/Parent 1 0 R
>>
endobj
4 0 obj
<<
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/ExtGState <<
/Gs1 6 0 R
>>
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
>>
endobj
3 0 obj
<<
/Length 151
/Filter /FlateDecode
/Length 165
>>
stream
xœ]<5D>]
ƒ0„ß÷¹@ãî¬ûZ
¾÷
Áþ@-”@Ïï&• C2ó #ŽíœÄ®p†3}I˜<49>tìæ¢`êM¨ª¹N¿WœnãÅÅDô°pŠjÆ$îèNPss&d%^‡.ôjˆ*sS$åà{i¡¡<è>¦+Ï|Y¡z71¬<Þ¦¨|ìc¨¼çaûÖÖÈaÏ´E=
xœm<EFBFBD>K
Ã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
endstream
endobj
7 0 obj
<<
/CreationDate (D:19700101000000Z)
/Creator (PITKIT)
/Producer (PITKIT)
/Creator (PITKIT)
>>
endobj
2 0 obj
@ -51,26 +49,26 @@ endobj
1 0 obj
<<
/Kids [5 0 R]
/Count 1
/Type /Pages
/Count 1
>>
endobj
xref
0 8
0000000000 65535 f
0000000622 00000 n
0000000573 00000 n
0000000636 00000 n
0000000587 00000 n
0000000258 00000 n
0000000163 00000 n
0000000059 00000 n
0000000015 00000 n
0000000481 00000 n
0000000495 00000 n
trailer
<<
/Info 7 0 R
/Root 2 0 R
/Size 8
/Root 2 0 R
/Info 7 0 R
>>
startxref
679
693
%%EOF

@ -26,13 +26,11 @@ endobj
3 0 obj
<<
/Filter /FlateDecode
/Length 151
/Length 165
>>
stream
xњ]Џ]
ѓ0„Яч№@го¬ыZ
ѕч
Бю@-”@Пп&• C2у #ЋнњД®p†3}I<>ќtмжў`кMЁЄ№NїWњnгЕЕDф°pЉjЖ$оиNPss&d%^‡.фj€*sS$еа{iЎЎ<и>¦+П|YЎz71¬<Ю¦Ё|мcЁјзaыЦЦИaПґE=
xœm<EFBFBD>K
Ã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
endstream
endobj
7 0 obj
@ -58,13 +56,13 @@ endobj
xref
0 8
0000000000 65535 f
0000000622 00000 n
0000000573 00000 n
0000000636 00000 n
0000000587 00000 n
0000000258 00000 n
0000000163 00000 n
0000000059 00000 n
0000000015 00000 n
0000000481 00000 n
0000000495 00000 n
trailer
<<
/Size 8
@ -72,5 +70,5 @@ trailer
/Info 7 0 R
>>
startxref
679
693
%%EOF

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

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

Binary file not shown.

Binary file not shown.

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

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

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save