Skip to content

Commit

Permalink
remove a debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Dec 3, 2023
1 parent 27c8243 commit 31f7701
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion text/font.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 31f7701

Please sign in to comment.