|
Posted by Doraj on 02/01/07 12:52
Hello !
Here is my problem :
I had some php scripts which worked well with php 4.0.5 (GD 1.6.2
according to phpinfo() ) and i put them on a new server with php 4.4.2
(and GD 2.0.28). Now, they don't do what they should :
i'm generating an image with text written with an angle : imagettftext
used
on the new server, the text has the good angle, but letters inside the
text are rotated with double this angle : for instance, with an angle
of 90 degrees, the text is written bottom to top (like it should), but
letters are rotated with a 180° angle
i'm sorry if it's something known / corrected already, but I haven't
found anything about this yet
In the worst case, i'll probably do my own function to write the text
letter by letter, but i prefered posting here before
Thanks
PS : btw, it seems imagettfbbox gives the rectangle that would be used
on a rotated text without this problem, so it may come from
imagettftext
[Back to original message]
|