Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2018-02-14T12:35:24-07:00
IM 6.9.9.34 Q16 and 7.0.7.22 Q16 HDRI Mac OSX Sierra
-direction right-to-left only shows one character.
No -direction:
Code: Select all
convert -size 500x -background white \
-fill black \
-gravity center \
-font Ubuntu-Bold \
label:"ABCD" \
test2.png
-direction left-to-right:
Code: Select all
convert -size 500x -background white \
-fill black \
-gravity center \
-direction left-to-right \
-font Ubuntu-Bold \
label:"ABCD" \
test2_ltr.png
-direction right-to-left:
Code: Select all
convert -size 500x -background white \
-fill black \
-gravity center \
-direction right-to-left \
-font Ubuntu-Bold \
label:"ABCD" \
test2_rtl.png
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2018-02-14T13:02:12-07:00
1. You created two images, from "xc:" and "label:". As you didn't specify a height, IM used "500x1" for the "xc:" image. Is that an issue?
2. I've never understood what "-direction right-to-left" does or is supposed to do. Sorry.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2018-02-14T13:27:12-07:00
Thanks snibgo. Careless mistake. I was thinking -background but wrote xc:. I will update my post.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2018-02-14T15:48:09-07:00
Thanks for the update. Can you add that to the comments for -direction on the options page?