diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-09-30 23:25:46 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-10-03 22:02:26 -0400 |
commit | 1560e460223f89ea61537e13b499d70792d3f3b1 (patch) | |
tree | 17265cdbcb8f8d0083f9b47591d1df5da8f733a3 /examples/text.scm | |
parent | 6d7ccaff8777345dfc7387c36c575548f1e44658 (diff) |
Add OTF/TTF font support via freetype.
Diffstat (limited to 'examples/text.scm')
-rw-r--r-- | examples/text.scm | 3 |
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) |