Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
I'm currently using ImageMagick with Pango and the image consists in a background with three texts.
A main text on the top and two others in the footer. I want them align on the right side, but I can't find a pango command to do so. I also tried "justify", just to see the effect and it didn't work. Am I doing anything wrong? My command is:
1. Am I doing anything wrong?
2. Is there a Pango+IM command to align footer #1 and footer #2 to the right?
3. Is there a Pango+IM command to vertical align the main text to the bottom?
Thanks a lot for your attention!
Last edited by rafaelt on 2013-12-12T11:52:24-07:00, edited 1 time in total.
For 3), when I use -gravity south, the text goes to the bottom but it also flips. I thought it was the normal behavior of -gravity south.
For -define pango:gravity=east, it does not change anything in the text alignment. Weird, huh?
I did not know about -define pango:gravity=east, I was trying -gravity from IM, but it does not seem to be the solution to my problems since when I try to generate images in Japanese or Chinese, for instance, the text goes to the right but each character rotates 90º to east, so they look like they were lying.
rafaelt wrote:For 3), when I use -gravity south, the text goes to the bottom but it also flips. I thought it was the normal behavior of -gravity south.
For -define pango:gravity=east, it does not change anything in the text alignment. Weird, huh?
I did not know about -define pango:gravity=east, I was trying -gravity from IM, but it does not seem to be the solution to my problems since when I try to generate images in Japanese or Chinese, for instance, the text goes to the right but each character rotates 90º to east, so they look like they were lying.
-define pango:gravity=east was just a guess on my part. I suppose it does not exist.
-gravity south in the IM command should not flip the text, only move it to the bottom.