PHP Classes

ArGlyphs: Convert Arabic text to Unicode for rendering

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 2,048 All time: 1,916 This week: 673Up
Version License PHP version Categories
arglyphs 1.0.0GNU General Publi...4.0Text processing
Description 

Author

This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .

This class can be used to convert Arabic text to Unicode for rendering purposes.

The class takes as input Arabic text encoded using Windows-1256 character set and performs Arabic glyph joining to output a string encoded using UTF-8.

The output string is no longer logically arranged, but laid out in a visual order to be read properly when formatted with a simple Unicode rendering methods used by the GD or UFPDF libraries. Such libraries do not handle basic connecting glyphs of Arabic language yet, but rather output all standalone glyphs in left to right direction.

This class is part of Khaled Al-Shamaa project for PHP and Arabic language:
http://www.al-shamaa.com/php/arabic/

Picture of Khaled Al-Shamaa
  Performance   Level  
Name: Khaled Al-Shamaa <contact>
Classes: 22 packages by
Country: Egypt Egypt
Age: 49
All time rank: 481 in Egypt Egypt
Week rank: 214 Down2 in Egypt Egypt Down
Innovation award
Innovation award
Nominee: 10x

Winner: 4x

  Files folder image Files (11)  
File Role Description
Files folder imagepdf_example (6 files)
Files folder imagegd_example (2 files, 1 directory)
Files folder imagephp5 (1 file)
Plain text file ArGlyphs.class.php Class Class file

  Files folder image Files (11)  /  pdf_example  
File Role Description
  Accessible without login Plain text file ajax.txt Data Example data
  Plain text file ArGlyphs.class.php Class Class file
  Plain text file fpdf.php Class Class file
  Accessible without login Plain text file pdf_example.php Example Example script
  Accessible without login Plain text file pdf_multiline_example.php Example Example script
  Plain text file ufpdf.php Class Class file

  Files folder image Files (11)  /  gd_example  
File Role Description
Files folder imageimages (1 file)
  Plain text file ArGlyphs.class.php Class Class file
  Accessible without login Plain text file gd_example.php Example Example script

  Files folder image Files (11)  /  gd_example  /  images  
File Role Description
  Accessible without login Image file bg.gif Icon Image

  Files folder image Files (11)  /  php5  
File Role Description
  Plain text file ArGlyphs.class.php Class Class file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,048
This week:0
All time:1,916
This week:673Up
User Ratings User Comments (4)
 All time
Utility:91%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:939
 
Thanks a lot, this classes help me lot
14 years ago (supriyatno)
70%StarStarStarStar
you are prof.
15 years ago (tariq momani)
70%StarStarStarStar
it is good for writing arabic with DG library but only for php4
16 years ago (sam lee)
62%StarStarStarStar
its a good class ,,, thanks for allah ,,, thanks for u
16 years ago (ZERIAB NABIL)
70%StarStarStarStar