diff options
Diffstat (limited to 'chickadee/graphics/text.scm')
-rw-r--r-- | chickadee/graphics/text.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chickadee/graphics/text.scm b/chickadee/graphics/text.scm index ca33cb7..f1d4359 100644 --- a/chickadee/graphics/text.scm +++ b/chickadee/graphics/text.scm @@ -39,6 +39,7 @@ #:use-module (chickadee math matrix) #:use-module (chickadee math rect) #:use-module (chickadee math vector) + #:use-module (chickadee pixbuf) #:use-module (chickadee graphics blend) #:use-module (chickadee graphics color) #:use-module (chickadee graphics engine) @@ -198,7 +199,7 @@ non-smooth scaling will be used." char-set)) (texture-filter (if smooth? 'linear 'nearest)) ;; TODO: Use multiple textures if needed. - (texture (make-texture pixels texture-size texture-size + (texture (make-texture (bytevector->pixbuf pixels texture-size texture-size) #:min-filter texture-filter #:mag-filter texture-filter))) ;; Process kernings. |