I want to write a text string from right to left instead of from left to right with the imagettftext (); function
I read in teh manual that the angle variable controls this, it says that 0 angle means left to right, so I tried 180, 360 but nothing happens
What angle do I need to put it to get it to write it right to left
I am writing a hebrew text string with a font.ttf that supports hebrew characters
<?php
$white = imagecolorallocate($background, 255, 255, 255);
$fontfile = "davidtr.ttf";
$string = "מחלדגכ";
imagettftext($background, 12, 360, 3, 17, $white, $fontfile, $string);
?>