New Beta Bug
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
New Beta Bug
Using the latest beta to date:
Version: ImageMagick 6.7.7-1 2012-05-22 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Font from:
http://www.forgottenbooks.org/smallcaps.otf
A single word is split over 2 lines with any mid-long single word:
convert -limit thread 1 -background yellow -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Anthropology" -trim -write test1.jpg -format "%wx%h" info:-
convert -limit thread 1 -background yellow -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Jerningham" -trim -write test2.jpg -format "%wx%h" info:-
convert -limit thread 1 -background yellow -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Buddhism" -trim -write test3.jpg -format "%wx%h" info:-
Version: ImageMagick 6.7.7-1 2012-05-22 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Font from:
http://www.forgottenbooks.org/smallcaps.otf
A single word is split over 2 lines with any mid-long single word:
convert -limit thread 1 -background yellow -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Anthropology" -trim -write test1.jpg -format "%wx%h" info:-
convert -limit thread 1 -background yellow -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Jerningham" -trim -write test2.jpg -format "%wx%h" info:-
convert -limit thread 1 -background yellow -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Buddhism" -trim -write test3.jpg -format "%wx%h" info:-
Last edited by alasdairdf on 2012-05-23T03:33:27-07:00, edited 2 times in total.
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
This is even worse:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Buddhism" -trim -write test4.jpg -format "%wx%h" info:-
It totally messed up the trim, cuts into the text on the top and bottom.
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Buddhism" -trim -write test4.jpg -format "%wx%h" info:-
It totally messed up the trim, cuts into the text on the top and bottom.
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
This one comes out considerably shorter in height that is specified:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"The Practical Gas and Oil Engine Handbook a Manual of Useful Information on the Care, Maintenance and Repair of Gas and Oil Engines, With Special Reference to the Diesel Oil Engine" -trim -write test5.jpg -format "%wx%h" info:-
Returns 1331x237, when I specified up to 806 height.
This too:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"A Manual of General History" -trim -write test6.jpg -format "%wx%h" info:-
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"The Practical Gas and Oil Engine Handbook a Manual of Useful Information on the Care, Maintenance and Repair of Gas and Oil Engines, With Special Reference to the Diesel Oil Engine" -trim -write test5.jpg -format "%wx%h" info:-
Returns 1331x237, when I specified up to 806 height.
This too:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"A Manual of General History" -trim -write test6.jpg -format "%wx%h" info:-
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
Get's worse and worse. For this one only the letter "e" is left, and everything else is cut off.
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Pinafore Palace" -trim -write test7.jpg -format "%wx%h" info:-
It's not a trim problem, because it's still only "e" even without the -trim.
Same here:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Original Plays" -write test8.jpg -format "%wx%h" info:-
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Pinafore Palace" -trim -write test7.jpg -format "%wx%h" info:-
It's not a trim problem, because it's still only "e" even without the -trim.
Same here:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Original Plays" -write test8.jpg -format "%wx%h" info:-
Re: New Beta Bug
A new beta will be available in an hour. Let is know if that fixes the problems you reported.
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
Thanks magick. It fixes all the major issues, there are still some minor issues. E.g.
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"A Manual of General History" -trim -write test6.jpg -format "%wx%h" info:-
# 1325x71
The one has not been split over 2 lines. It still looks sort-of OK, but any longer sentences would look bad if not split.
Still, this is a great improvement to the last beta!
I will stress-test it and see if any other bugs come up.
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"A Manual of General History" -trim -write test6.jpg -format "%wx%h" info:-
# 1325x71
The one has not been split over 2 lines. It still looks sort-of OK, but any longer sentences would look bad if not split.
Still, this is a great improvement to the last beta!
I will stress-test it and see if any other bugs come up.
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
Version: ImageMagick 6.7.7-1 2012-05-23 Q16
There is still a serious bug with certain long sentences:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Petrifactions and Right Honourable and Honourable, the to of the British Museum, His Grace John Bird Lord Archbishop of Canterbury, Thomas Lord Truro Lord High Chancellor, Right Hon" -trim -write test10.jpg -format "%wx%h" info:-
# 1322x49
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"The Cat a Guide to the Classification and Varieties of Cats, and a Short Treatise Upon Their, Care, Diseases, and Treatment" -trim -write test11.jpg -format "%wx%h" info:-
# 1291x21
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Recent Economic Changes and Their Effect on the Production and Distribution of Wealth, and the Well-Being of Society" -trim -write test12.jpg -format "%wx%h" info:-
# 1292x21
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Notes on the Scientific and Religious Mysteries of Antiquity" -trim -write test13.jpg -format "%wx%h" info:-
# 1318x42
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Were You Born Under a Lucky A Complete Exposition of the Science of Astrology Adapted from the Four Books of Ptolemy" -trim -write test8.jpg -format "%wx%h" info:-
# 1303x17
There is still a serious bug with certain long sentences:
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Petrifactions and Right Honourable and Honourable, the to of the British Museum, His Grace John Bird Lord Archbishop of Canterbury, Thomas Lord Truro Lord High Chancellor, Right Hon" -trim -write test10.jpg -format "%wx%h" info:-
# 1322x49
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"The Cat a Guide to the Classification and Varieties of Cats, and a Short Treatise Upon Their, Care, Diseases, and Treatment" -trim -write test11.jpg -format "%wx%h" info:-
# 1291x21
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Recent Economic Changes and Their Effect on the Production and Distribution of Wealth, and the Well-Being of Society" -trim -write test12.jpg -format "%wx%h" info:-
# 1292x21
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Notes on the Scientific and Religious Mysteries of Antiquity" -trim -write test13.jpg -format "%wx%h" info:-
# 1318x42
convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Were You Born Under a Lucky A Complete Exposition of the Science of Astrology Adapted from the Four Books of Ptolemy" -trim -write test8.jpg -format "%wx%h" info:-
# 1303x17
Re: New Beta Bug
We have a patch that works reliably but its quite slow. We'll look for a way to speed up the process sometime tomorrow.
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
OK, thanks. A couple of seconds per image doesn't make much difference to me. Perhaps there could be a command to choose a more reliable but slower method for the caption, vs. a quicker but slightly less reliable method?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: New Beta Bug
alasdairdf wrote:OK, thanks. A couple of seconds per image doesn't make much difference to me. Perhaps there could be a command to choose a more reliable but slower method for the caption, vs. a quicker but slightly less reliable method?
Out of curiosity do you get the same problems from using PANGO: rather than CAPTION:
see
http://www.imagemagick.org/Usage/text/#pango
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
I think that in PANGO you have to specify the font size, it won't just match the font size to the canvas size, like caption does. Correct me if I'm wrong.Out of curiosity do you get the same problems from using PANGO: rather than CAPTION:
magick, I see a new beta is out. Is there anything in this on the caption?
Re: New Beta Bug
The new beta should resolve the problems you've reported. Let us know if you have any more problems.
-
- Posts: 53
- Joined: 2012-05-15T04:56:50-07:00
- Authentication code: 13
Re: New Beta Bug
Thanks! I'll be sure to let you know if there are any more little bugs hiding in there!