imagettftext and arabic language: how can I write in RTL mode?
问题 I need to write in RTL mode to imagettftext, 'caus arabic language is in this way: and I don't mean to revert the letters, I mean a css-like RTL (direction:rtl), so aligned-flag on the right... how can I? My easy code: require('static/I18N/Arabic.php'); $Arabic = new I18N_Arabic('Glyphs'); $font="static/ArabicModern-Light.ttf"; $testo=$Arabic->utf8Glyphs($testo); imagettftext($im, 26, 0, 560, 345, $textcolor, $font, "\"".$testo."\""); Thanks! 回答1: After eventually finding and downloading Ar