main
Matthew Butterick 5 years ago
parent cd5a226a5e
commit 547034dd55

@ -11,7 +11,7 @@ make = (doc) ->
# Set the font, draw some text # Set the font, draw some text
doc.font('the-font') doc.font('the-font')
.fontSize(40) .fontSize(40)
.text('Fira OTF rifle fire', 100, 100, {width: false}) .text('o', 100, 100, {width: false})
doc.end() doc.end()

@ -13,7 +13,7 @@
;; Set the font, draw some text ;; Set the font, draw some text
[font doc "the-font"] [font doc "the-font"]
[font-size doc 40] [font-size doc 40]
[text doc "Fira OTF rifle fire" 100 100]) [text doc "o" 100 100])
;; test against non-subsetted font version ;; test against non-subsetted font version
(define-runtime-path this "test20rkt.pdf") (define-runtime-path this "test20rkt.pdf")

Loading…
Cancel
Save