Arabic Text & ImageTtfText
- From: Edward Locke <huygens1962@xxxxxxxxx>
- Date: Wed, 29 Jun 2005 04:12:25 GMT
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@xxxxxxxxx |
| http://spacestamps.amhosting.com/ |
|---------------------------------------------------|
.
- Prev by Date: Re: Version
- Next by Date: Re: Dumb Question of the day (maybe year)
- Previous by thread: PHP My Admin Password Problem
- Next by thread: php and openss functions
- Index(es):