Caption word wrapping fails with punctuation
Posted: 2015-04-03T02:00:52-07:00
Hello,
I am trying to word-wrap some text to a specific width:
but it looks like imagemagick ignores the comma and render in only one line instead of wrapping after the "b," (the text "b c" renders in less than 60px on only one line) ; if I try to render "b, c ", since "b c " renders in more than 60px, "b, c " renders on two separate lines as expected.
The pango method renders correctly, but I also need to use a custom ttf font without changing some system files is this possible ?
Thank you for your help,
Arthur
I am trying to word-wrap some text to a specific width:
Code: Select all
convert -size 60x -pointsize 40 caption:'b, c' a.png
The pango method renders correctly, but I also need to use a custom ttf font without changing some system files is this possible ?
Thank you for your help,
Arthur