[Bug 1074181] Re: Version 6.6.9 (the one in 12.04) has nasty bug in caption operator word-wrapping - truncates the text
Peter Levi
1074181 at bugs.launchpad.net
Thu Nov 1 22:54:59 UTC 2012
** Attachment added: "Same command with 6.8.0-4 produces the expected result"
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1074181/+attachment/3421164/+files/expected_result_6.8.0.jpg
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/1074181
Title:
Version 6.6.9 (the one in 12.04) has nasty bug in caption operator
word-wrapping - truncates the text
Status in “imagemagick” package in Ubuntu:
New
Bug description:
The version of ImageMagick in Ubuntu 12.04 LTS - 6.6.9-7 - has a very
nasty bug in the caption operator, which makes it practically unusable
in many cases. Most times it would fail to properly word-wrap the text
and would truncate it by drawing off the canvas.
Here is a command to reproduce it:
convert logo: -scale 1600x1000 \( -size 1100x -pointsize 50
-background transparent -fill '#FFFFFF' -font Ubuntu-Light -gravity
West caption:"\"I may be drunk, Miss, but in the morning I will be
sober and you will still be ugly.\" I will try to cause caption
wrapping to fail by adding some more text here. Some more text here. A
loooooooooooooooooooooooong word. END." -gravity East caption:'-
Winston Churchill' -bordercolor '#88888888' -border 50x10 -append \)
-gravity East -geometry +0-150 -composite result.jpg
It truncates differently depending on the font, pointsize, and size
parameters, and with some combinations it succeeds (rarely for long
texts). It fails more often than not.
I tried latest version 0.6.8-4 and it doesn't have the problem. I
don't know the exact version in which it has been fixed.
See the attached to see the buggy and the expected output.
Some upstream reports about the bug: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=18830
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=18704
I'm writing an application which depends on ImageMagick and this
problem blocks me on implementing some of the features (specifically
https://bugs.launchpad.net/variety/+bug/1036140).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1074181/+subscriptions
More information about the foundations-bugs
mailing list