Hi,
I'm using PHP 4.4.4. I have GD and freetype libraries. How do I
center text within an image if that text contains new lines?
According to the imagettftext docs, the x and y specified represent
the coordinates of where the first character begins. But if there are
new lines under it, I need to adjust that x and y by a certain
amount.
What to do? - Dave
I'm using PHP 4.4.4. I have GD and freetype libraries. How do I
center text within an image if that text contains new lines?
According to the imagettftext docs, the x and y specified represent
the coordinates of where the first character begins. But if there are
new lines under it, I need to adjust that x and y by a certain
amount.
What to do? - Dave