ToIpt is a PHP class for writing Farsi and Arabic text on images. It contains a function that inputs the text to be written in the Unicode/UTF-8 encoding, and converts that text into a form that is suitable for passing to the ImageTTFText function of the PHP GD extension. To work correctly with the output of this class, the ImageTTFText function must be called with a font that has a very particular kind of font map.
| Implementation | PHP |
|---|