Page 1 of 1

problem with imagettftext function

Posted: Wed Sep 10, 2008 2:09 am
by persiangulf
hi all
i have problem with writing persian with imagettftext. as you know persian is a right to left language and the words are connected to each other.
but when i want to write persian with imagettftext , i get a left to right and seperated text in image file.(the right to left feature is not as important as connected words ofcourse!)
i don't know if php team is going to fix this or are there any solution for it?
thanks

Re: problem with imagettftext function

Posted: Wed Sep 10, 2008 3:06 am
by onion2k
Moved to the GD forum.

I doubt there's any chance of it being 'fixed'. It's not really a bug, it's just a feature that isn't very high priority for the people who maintain GD. Have you considered any workarounds? Maybe drawing one letter at a time with very specific placement? Maybe there are fonts designed for this that have the kerning set displaying on systems that aren't set up for Persian text?