From 6b11f11e40757afb5fde0f18d44a15b39398adde Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Mon, 31 Dec 2018 15:23:05 -0800 Subject: [PATCH] delete obsolete options --- pitfall/ptest/test12.rkt | 3 +-- pitfall/ptest/test13.rkt | 2 +- pitfall/ptest/test14.rkt | 2 +- pitfall/ptest/test15.rkt | 2 +- pitfall/ptest/test16.rkt | 2 +- pitfall/ptest/test17.rkt | 2 +- pitfall/ptest/test18.rkt | 10 +++++----- pitfall/ptest/test19.rkt | 4 ++-- pitfall/ptest/test20.rkt | 2 +- pitfall/ptest/test5.rkt | 2 +- pitfall/ptest/test7.rkt | 2 +- pitfall/ptest/test8.rkt | 2 +- 12 files changed, 17 insertions(+), 18 deletions(-) diff --git a/pitfall/ptest/test12.rkt b/pitfall/ptest/test12.rkt index a154372e..8a022bbd 100644 --- a/pitfall/ptest/test12.rkt +++ b/pitfall/ptest/test12.rkt @@ -10,8 +10,7 @@ ;; Set the font, draw some text [font doc "Charter"] [font-size doc 25] - [text doc "Some text with an embedded font" 100 100 (hash - 'width #f)]) + [text doc "Some text with an embedded font" 100 100]) ;; test against non-subsetted font version (define-runtime-path this "test12rkt.pdf") diff --git a/pitfall/ptest/test13.rkt b/pitfall/ptest/test13.rkt index b9cc690f..cc0a5185 100644 --- a/pitfall/ptest/test13.rkt +++ b/pitfall/ptest/test13.rkt @@ -10,7 +10,7 @@ ;; Set the font, draw some text [font doc "Charter"] [font-size doc 25] - [text doc "Åcçénts äre în" 100 100 (hash 'width #f)]) + [text doc "Åcçénts äre în" 100 100]) ;; test against non-subsetted font version (define-runtime-path this "test13rkt.pdf") diff --git a/pitfall/ptest/test14.rkt b/pitfall/ptest/test14.rkt index 313a4051..1be55bcc 100644 --- a/pitfall/ptest/test14.rkt +++ b/pitfall/ptest/test14.rkt @@ -11,7 +11,7 @@ ;; Set the font, draw some text [font doc "the-font"] [font-size doc 25] - [text doc "Hola Hola" 100 100 (hash 'width #f)]) + [text doc "Hola Hola" 100 100]) ;; test against non-subsetted font version (define-runtime-path this "test14rkt.pdf") diff --git a/pitfall/ptest/test15.rkt b/pitfall/ptest/test15.rkt index 9fb4755f..4b255b90 100644 --- a/pitfall/ptest/test15.rkt +++ b/pitfall/ptest/test15.rkt @@ -12,7 +12,7 @@ ;; Set the font, draw some text [font doc "the-font"] [font-size doc 25] - [text doc "HTAVATH" 100 100 (hash 'width #f)]) + [text doc "HTAVATH" 100 100]) (define-runtime-path this "test15rkt.pdf") diff --git a/pitfall/ptest/test16.rkt b/pitfall/ptest/test16.rkt index fc7bd000..f35ea2f3 100644 --- a/pitfall/ptest/test16.rkt +++ b/pitfall/ptest/test16.rkt @@ -12,7 +12,7 @@ ;; Set the font, draw some text [font doc "the-font"] [font-size doc 100] - [text doc "Wofine" 100 100 (hash 'width #f)]) + [text doc "Wofine" 100 100]) (define-runtime-path this "test16rkt.pdf") diff --git a/pitfall/ptest/test17.rkt b/pitfall/ptest/test17.rkt index 1578bea9..41f973b7 100644 --- a/pitfall/ptest/test17.rkt +++ b/pitfall/ptest/test17.rkt @@ -12,7 +12,7 @@ ;; Set the font, draw some text [font doc "the-font"] [font-size doc 50] - [text doc "The fifth rifle" 100 100 (hash 'width #f)]) + [text doc "The fifth rifle" 100 100]) (define-runtime-path this "test17rkt.pdf") diff --git a/pitfall/ptest/test18.rkt b/pitfall/ptest/test18.rkt index 07c44c50..1d39c900 100644 --- a/pitfall/ptest/test18.rkt +++ b/pitfall/ptest/test18.rkt @@ -12,11 +12,11 @@ ;; Set the font, draw some text [font doc "the-font"] [font-size doc 25] - [text doc "In Xanadu did Kubla Khan" 100 100 (hash 'width #f)] - [text doc "A stately pleasure dome decree:" 100 140 (hash 'width #f)] - [text doc "Where Alph, the sacred river, ran" 100 180 (hash 'width #f)] - [text doc "Through caverns measureless to man" 100 220 (hash 'width #f)] - [text doc "Down to a sunless sea." 100 260 (hash 'width #f)]) + [text doc "In Xanadu did Kubla Khan" 100 100] + [text doc "A stately pleasure dome decree:" 100 140] + [text doc "Where Alph, the sacred river, ran" 100 180] + [text doc "Through caverns measureless to man" 100 220] + [text doc "Down to a sunless sea." 100 260]) (define-runtime-path this "test18rkt.pdf") diff --git a/pitfall/ptest/test19.rkt b/pitfall/ptest/test19.rkt index 64a02e8d..11da518c 100644 --- a/pitfall/ptest/test19.rkt +++ b/pitfall/ptest/test19.rkt @@ -13,8 +13,8 @@ ;; Set the font, draw some text [font doc "the-font"] [font-size doc 100] - [text doc "A&B" 100 100 (hash 'width #f)] - [text doc "X&Y" 100 200 (hash 'width #f 'features (list (cons #"ss03" 1)))]) + [text doc "A&B" 100 100] + [text doc "X&Y" 100 200 (hash 'features (list (cons #"ss03" 1)))]) ;; test against non-subsetted font version (define-runtime-path this "test19rkt.pdf") diff --git a/pitfall/ptest/test20.rkt b/pitfall/ptest/test20.rkt index 34064f5a..2d8e83f9 100644 --- a/pitfall/ptest/test20.rkt +++ b/pitfall/ptest/test20.rkt @@ -14,7 +14,7 @@ (send* doc [font "the-font"] [font-size 40] - [text "Embedded OTF" 100 100 (hash 'width #f)])) + [text "Embedded OTF" 100 100])) ;; test against non-subsetted font version (define-runtime-path this "test20rkt.pdf") diff --git a/pitfall/ptest/test5.rkt b/pitfall/ptest/test5.rkt index cd4e8e2e..53c44613 100644 --- a/pitfall/ptest/test5.rkt +++ b/pitfall/ptest/test5.rkt @@ -6,7 +6,7 @@ (define (proc doc) [font doc "Times-Italic"] [font-size doc 25] - [text doc "Some fantastic text!" 100 100 (hash 'lineBreak #f)] + [text doc "Some fantastic text!" 100 100] [image doc death 100 160 (hash 'width 412)]) (define-runtime-path this "test5rkt.pdf") diff --git a/pitfall/ptest/test7.rkt b/pitfall/ptest/test7.rkt index 8775fedd..4be2ef30 100644 --- a/pitfall/ptest/test7.rkt +++ b/pitfall/ptest/test7.rkt @@ -6,7 +6,7 @@ (define (proc doc) [font doc "Times-Italic"] [font-size doc 25] - [text doc "Here comes a JPEG!" 100 100 (hash 'lineBreak #f)] + [text doc "Here comes a JPEG!" 100 100] [image doc test-jpeg 100 160 (hash 'width 412)]) (define-runtime-path this "test7rkt.pdf") diff --git a/pitfall/ptest/test8.rkt b/pitfall/ptest/test8.rkt index e4b5e135..cf1180ea 100644 --- a/pitfall/ptest/test8.rkt +++ b/pitfall/ptest/test8.rkt @@ -6,7 +6,7 @@ (define (proc doc) [font doc "Helvetica-Bold"] [font-size doc 25] - [text doc "Another fantastic pic" 100 100 (hash 'lineBreak #f)] + [text doc "Another fantastic pic" 100 100] [image doc pic 100 160 (hash 'width 412)]) ; node's zlib.deflate makes smaller files, for some reason