in this function, you can pass a farsi or arabic text to "toipt" function and get a correct text that you can write it to image by "imageTTFText".
but you should use my font for your php code or create your own font by "font creator" software or another softwares.
for this reason (creating new font) in "font creator", after opening your font, get peropety of all characters and set "map" to correct integer. you can find correct integers map in my font.
|