aboutsummaryrefslogtreecommitdiff
path: root/cmd/bdf-sample/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bdf-sample/main.go')
-rw-r--r--cmd/bdf-sample/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/bdf-sample/main.go b/cmd/bdf-sample/main.go
index 1850118..e8a2b94 100644
--- a/cmd/bdf-sample/main.go
+++ b/cmd/bdf-sample/main.go
@@ -2,6 +2,7 @@ package main
import (
"image"
+ "image/color"
"image/draw"
"image/png"
"log"
@@ -26,7 +27,7 @@ func main() {
img := image.NewRGBA(super)
draw.Draw(img, super, image.White, image.ZP, draw.Src)
- font.DrawString(img, image.ZP, font.Name)
+ font.DrawString(img, image.ZP, color.Black, font.Name)
fo, err := os.Create("out.png")
if err != nil {