Imagemagick caption/label decapitates Å (A-ring)
Posted: 2016-07-14T21:12:13-07:00
Hello,
I'm trying to fill a certain area with variable text that will generate line breaks / word wrap. So I need captions. The variable text can contain all kinds of international names and titles.
Unfortunately, for example in "Å", the circle gets cut off.
I'm including label for curiosity.
Is this because Imagemagick doesn't automatically check the size needs of the used characters (can this be controlled)? Or is it the font's fault? Or just an Imagemagick bug?
I think I have read in the past, that it is recommended to render in a bigger area and then scale down but I can't remember where. Is there something in the documentation?
ImageMagick 6.9.5-2 Q16 x86_64 on Arch Linux
I'm trying to fill a certain area with variable text that will generate line breaks / word wrap. So I need captions. The variable text can contain all kinds of international names and titles.
Unfortunately, for example in "Å", the circle gets cut off.
Code: Select all
convert -background black -fill white -size 200x50 -gravity center label:"Åker" label.png
convert -background black -fill white -size 200x50 -gravity center caption:"Åker" caption.png
montage -label '%f' label.png caption.png -geometry +0+0 both.png
I'm including label for curiosity.
Is this because Imagemagick doesn't automatically check the size needs of the used characters (can this be controlled)? Or is it the font's fault? Or just an Imagemagick bug?
I think I have read in the past, that it is recommended to render in a bigger area and then scale down but I can't remember where. Is there something in the documentation?
ImageMagick 6.9.5-2 Q16 x86_64 on Arch Linux