diff options
Diffstat (limited to 'cmd/label-tool/main.go')
-rw-r--r-- | cmd/label-tool/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/label-tool/main.go b/cmd/label-tool/main.go index d2ac4f9..893aa13 100644 --- a/cmd/label-tool/main.go +++ b/cmd/label-tool/main.go @@ -4,6 +4,7 @@ import ( "errors" "html/template" "image" + "image/color" "image/draw" "image/png" "log" @@ -260,7 +261,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) fonts = append(fonts, &fontItem{Path: path, Font: font, Preview: img}) } |