diff --git a/text/font.go b/text/font.go index fa051f1d..7c186255 100644 --- a/text/font.go +++ b/text/font.go @@ -214,7 +214,6 @@ func (f *Font) Metrics() font.Metrics { func (f *Font) DrawText(text string) *image.RGBA { width, height := f.MeasureText(text) - println(width, height) img := image.NewRGBA(image.Rect(0, 0, width, height)) draw.Draw(img, img.Bounds(), f.bg, image.ZP, draw.Src) f.DrawTextOnImage(text, 0, 0, img)