Using the imagettftext
function from the PHP GD library, one can only draw text that is left-aligned onto an image. At least so it would seem, perhaps I'm missing something.
How can I control the alignment of the text drawn onto an image? i.e. left / center / right (/ justified - not necessary, but useful)
I should mention that the alignment is visible when the drawn text contains multiple lines (e.g. "bla bla bla/nAnd another line of bla.").