summaryrefslogtreecommitdiff
path: root/examples/text.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-09-30 23:25:46 -0400
committerDavid Thompson <dthompson2@worcester.edu>2020-10-03 22:02:26 -0400
commit1560e460223f89ea61537e13b499d70792d3f3b1 (patch)
tree17265cdbcb8f8d0083f9b47591d1df5da8f733a3 /examples/text.scm
parent6d7ccaff8777345dfc7387c36c575548f1e44658 (diff)
Add OTF/TTF font support via freetype.
Diffstat (limited to 'examples/text.scm')
-rw-r--r--examples/text.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/text.scm b/examples/text.scm
index 4758782..df0a2ed 100644
--- a/examples/text.scm
+++ b/examples/text.scm
@@ -3,6 +3,7 @@
(chickadee render font))
(define (draw alpha)
- (draw-text "Hello, world!" #v(260.0 240.0)))
+ (draw-text "The quick brown fox jumps over the lazy dog.\nFive hexing wizard bots jump quickly."
+ #v(140.0 240.0)))
(run-game #:draw draw)