If the last letter of the last word is the only thing overflowing, but there is a wrap point somewhere available, then it should be used to wrap
if (status == MagickFalse)
break;
width=(size_t) floor(metrics->width+draw_info->stroke_width+0.5);
- if ((width <= image->columns) || (strcmp(text,draw_info->text) == 0))
+ if ((width <= image->columns) || (s == (char *) NULL))
continue;
(void) strcpy(text,draw_info->text);
if ((s != (char *) NULL) && (GetUTFOctets(s) == 1))