views:

44

answers:

1

I'm using php gd lib 5.2.13 and tried to make a picture with imagettftext ($image, $color and $font are defined of course).

imagettftext($image, 12, 90, 10, 20, $black, $font, "This.is_a test 123");
//image, font size, angle, x value, y value, color, font, text

As you can see I want the angle to be 90°. The problem is that the text is not beeing rotated properly, e.g. the dots are at the top (and not at the bottom) of the text. I read that this is a common issue and has been fixed in php gdlib 5.3, But since I have 5.2.13 running on a webhost (...) is there a solution to rotate it properly with using gdlib 5.2.13? Thanks!

A: 

anyone has a solution? :)

creativz