PHP Classes
Icontem

File: ToIpt


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alireza Abedini  >  Write Farsi to Image  >  ToIpt  
File: ToIpt
Role: Documentation
Content type: text/plain
Description: get a unicode or utf-8 text in farsi or arabic and return a text to send to imagettftext
Class: Write Farsi to Image
Convert Farsi text to render with ImageTTFText
 

Contents

Class file image Download
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products