Text stroke cut off
Posted: 2019-10-01T15:01:47-07:00
Hi,
In an old IM version (6) this was working properly, however with 7 the stroke gets cut of at the top and left side of the image and I get a smutchy edge. Does anybody know how to do this correct in IM7 (without changing the label text by adding extra spaces or \n)?
In IM 6.8.7-9
In IM 7.0.8-66
I am on Ubuntu 18.04
Version: ImageMagick 7.0.8-66 Q16 x86_64 2019-09-29 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
Regards,
Marcel
In an old IM version (6) this was working properly, however with 7 the stroke gets cut of at the top and left side of the image and I get a smutchy edge. Does anybody know how to do this correct in IM7 (without changing the label text by adding extra spaces or \n)?
Code: Select all
convert -background none -fill "#ffff00" -font Arial-Bold -pointsize 60 -interline-spacing 0 -stroke "#ffff00" -strokewidth 32 label:"Fred\nis\ngood" -stroke none label:"Fred\nis\ngood" -compose DstOut -composite +repage out.png
In IM 7.0.8-66
I am on Ubuntu 18.04
Version: ImageMagick 7.0.8-66 Q16 x86_64 2019-09-29 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
Regards,
Marcel