Forum Moderators: coopster

Message Too Old, No Replies

imagettftext rotation problem

text uneven when rotated

         

ccarlson

7:12 pm on Aug 5, 2007 (gmt 0)

10+ Year Member



I'm using imagettftext() function to place text on photos. It's working fine, except if I use rotated text. I'm trying to use an arial bold font with text rotated 90 degrees(should be perfectly vertical) and am running into two problems...

1) 90 degrees seems to just over rotate the text past vertical... I have to take it to 89 degrees which seems strange.

2) Bigger problem is that the text is not quite aligned evenly when vertical. The letters seem to shift right and left making it look sloppy. What is the best way to prevent this from happening? should I place each character one at a time instead of using a string? What's the best way to do that? Kerning is not a problem, but the uneven bottom edge of the text is.

dreamcatcher

9:17 am on Aug 13, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi ccarlson,

Did you have any luck sorting this issue out?

dc