diff --git a/examples/fontmetrics/main.go b/examples/fontmetrics/main.go index f9641fb..818ea56 100644 --- a/examples/fontmetrics/main.go +++ b/examples/fontmetrics/main.go @@ -21,11 +21,11 @@ func draw_setfont(mw *imagick.MagickWand, dw *imagick.DrawingWand, font string, pw.SetColor(colour) dw.SetFillColor(pw) pw.Destroy() - sflag = true } if size > 0 { dw.SetFontSize(size) + sflag = true } // If either the font or the fontsize (or both) have changed