Auto size caption cuts off when all UPPERCASE

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
visualcondition
Posts: 2
Joined: 2016-09-12T20:19:16-07:00
Authentication code: 1151

Auto size caption cuts off when all UPPERCASE

Post by visualcondition »

Hi, I'm using the latest 6.9.5-9 release on Linux. I have text that when lowercase, always renders fine. However, when it's all caps, often (but not always) it will cut off on the top or bottom, depending on the dimensions, font, and text length.

Code: Select all

convert -size 1100x700 -background transparent -font "Helvetica_LT_Std_Roman.otf" -gravity center caption:"“I LOVE YOU THE MORE IN THAT I BELIEVE YOU HAD LIKED ME FOR MY OWN SAKE AND FOR NOTHING ELSE.”"  tmp-img-0.png
Image

Image
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Auto size caption cuts off when all UPPERCASE

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
visualcondition
Posts: 2
Joined: 2016-09-12T20:19:16-07:00
Authentication code: 1151

Re: Auto size caption cuts off when all UPPERCASE

Post by visualcondition »

Wonderful thank you!
Post Reply