diff options
Diffstat (limited to 'cmd/bdf-preview')
| -rw-r--r-- | cmd/bdf-preview/main.go | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/bdf-preview/main.go b/cmd/bdf-preview/main.go index c2edf5c..3632264 100644 --- a/cmd/bdf-preview/main.go +++ b/cmd/bdf-preview/main.go @@ -3,6 +3,7 @@ package main  import (  	"html/template"  	"image" +	"image/color"  	"image/draw"  	"image/png"  	"log" @@ -82,7 +83,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[filename] = fontItem{Font: font, Preview: img}  	}  | 
