Skip to content

Commit

Permalink
fix(examples): Get the size of a space again when the fontsize have c…
Browse files Browse the repository at this point in the history
…hanged (#171)
  • Loading branch information
yyoshiki41 authored and justinfx committed Sep 19, 2018
1 parent 3298527 commit 7689b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fontmetrics/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7689b77

Please sign in to comment.