snibgo wrote: ↑2018-08-27T00:13:09-07:00
What version of IM?
7.0.8-11, as stated in my post.
snibgo wrote: ↑2018-08-27T00:13:09-07:00It works fine for me, with the default font Arial, IM v7.0.7-28. I don't have the Helvetica font.
As I said, this is not limited to just Helvetica (which by the way is available in the
gsfonts package if you're using Ubuntu). Not all fonts are affected, but it's certainly a widespread problem. This short little snippet creates an image using every font on your system, and many of the resulting texts do get cut off:
Code: Select all
for font in $(magick -list font | grep "Font:" | awk '{print $2;}'); do magick -background black -fill white -pointsize 90 -density 90 -size 460x -interline-spacing 20 -font $font caption:'Å Ö Å Ö Å Ö Å Ö Å Ö Å Ö Å Ö Å' ~/${font}.png; done
snibgo wrote: ↑2018-08-27T00:13:09-07:00If your string starts with \n you will get blank space at the top, which you can then "-trim" off.
That's a great workaround, actually. Thanks!