commit | 3b98cf032f277e94a4d6bc7d3ad3e8fec198692c | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Sun Nov 25 22:58:45 2012 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Sun Nov 25 22:58:45 2012 +0000 |
tree | f02df7c39c32f92cd71d91297d71be639e1e1b5b | |
parent | f5d7c9e755135dea13caf281644e81d7e8a76d39 [diff] [blame] |
M coders/caption.c M coders/label.c
diff --git a/coders/label.c b/coders/label.c index f077956..c4f6860 100644 --- a/coders/label.c +++ b/coders/label.c
@@ -171,7 +171,7 @@ else high=draw_info->pointsize-1.0; } - for (draw_info->pointsize=(low+high)/2.0; ; ) + for (draw_info->pointsize=(low+high)/2.0; (high-low) > 1.0; ) { (void) FormatLocaleString(geometry,MaxTextExtent,"%+g%+g", -metrics.bounds.x1,metrics.ascent);