문제

I would like to display Arabic text on an image on drupal! in the PHP code I use an Arabic font! the text is displayed but with letters parts! do you have any solutions for me! thank you very much

도움이 되었습니까?

해결책

Drupal has nothing to do here. What you want is to write Arabic text on/in an image in PHP.

The simplest and the most standard way is to use PHP's imagettftext(). However, imagettftext() does not fully support right-to-left languages like Arabic. You need to correctly reverse Arabic chars and pass them to imagettftext(). See a duplicate : Error while writting Arabic to image

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top