|
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/ |
|---------------------------------------------------|
Navigation:
[Reply to this message]
|