There seems to be a problem with the "-interword-spacing" operator in my current version of IM7 under Windows 7 Pro 64. Below are some commands to compare. (Note: I have it set up so when I run the "convert" command on my system it uses my IM6, and when I run "magick" it uses my IM7.)
Using this "convert" command with version "ImageMagick 6.9.2-8 Q16 x64 2015-12-05"...
Code: Select all
convert ^
-pointsize 36 ^
label:"THIS IS A TEST OF THE INTERWORD SPACING" ^
-interword-spacing 20 ^
label:"THIS IS A TEST OF THE INTERWORD SPACING" ^
-append ^
testIM6.png
The second line of text, as expected, has wider spaces between words than the first line. But, using the same command with "magick" and version "ImageMagick 7.0.0-0 Q16 x64 2016-01-09"...
Code: Select all
magick ^
-pointsize 36 ^
label:"THIS IS A TEST OF THE INTERWORD SPACING" ^
-interword-spacing 20 ^
label:"THIS IS A TEST OF THE INTERWORD SPACING" ^
-append ^
testIM7.png
The second line of text is exactly the same width as the first. Apparently the "-interword-spacing" operator is not acting as expected here. I have tried it with different fonts, different point sizes, and with "caption:", "label:", and "-annotate". For example, the following command should make two lines of text, the second being wider than the first. With my IM6 it produces the expected result. If I change only the command "convert" from IM6 to "magick" from IM7, the spaces in the two lines of text are the same width.
Code: Select all
convert ^
-size 1000x100 ^
canvas:white ^
-fill black ^
-gravity center ^
-pointsize 36 ^
-annotate +0-20 "THIS IS A TEST OF THE INTERWORD SPACING" ^
-interword-spacing 20 ^
-annotate +0+20 "THIS IS A TEST OF THE INTERWORD SPACING" ^
testing.png
If there's anything else you need to know about my set-up or other testing commands, I'll be glad to help.