Reply to Arabic Text & ImageTtfText

Your name:

Reply:


Posted by Edward Locke on 06/29/05 07:12

I am currently looking for a way to display foreign alphabets with ImageTtxText.

For example:

ImagettfText ($im, 24, 0, 10, 68, $blue, "../fonts/mssong.ttf",
"中国邮政");

This works well with most alphabets. Chinese, Hebrew, Cyrillic... no problem.

But Arabic is throwing me for a loop.

The text needs to read right-to-left. Arabic text is also connected, like cursive handwriting. I
can generate single Arabic characters, but I can't get ImageTtfText to connect the letters.
Wordpad, however, formats text with the same font correctly - connected and right-to-left.

There are modifiers in the Unicode standard (around x2000) that claim to reverse text direction and
to enable form-shaping. But I can't seem to make them work with ImageTtfText.

Any guidance appreciated.

|---------------------------------------------------|
| Edward A. Locke |
| huygens1962@yahoo.com |
| http://spacestamps.amhosting.com/ |
|---------------------------------------------------|

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация