You are here: imagettftext problem with angle « PHP Programming Language « IT news, forums, messages
imagettftext problem with angle

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация