summaryrefslogtreecommitdiff
path: root/sly/render/font.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sly/render/font.scm')
-rw-r--r--sly/render/font.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sly/render/font.scm b/sly/render/font.scm
index dace505..433e4bc 100644
--- a/sly/render/font.scm
+++ b/sly/render/font.scm
@@ -64,7 +64,7 @@
(define* (load-default-font #:optional (point-size 12))
"Load the Sly default TTF font. POINT-SIZE is an optional
argument with a default value of 12."
- (load-font (string-append %pkgdatadir "/fonts/DejaVuSans.ttf") point-size))
+ (load-font (string-append %datadir "/fonts/DejaVuSans.ttf") point-size))
(define (flip-pixels-vertically pixels width height)
"Create a new bytevector that reverses the rows in PIXELS, a WIDTH x