|
Problem with Font |
Posted by Mohammad on Oct-23-2009 15:16 |
|
Hello
Please help me that how the Persian font I used in Report
For example,
Correct : سلام
But Show me : م ل ا س
thanks |
Re: Problem with Font |
Posted by Peter Kwan on Oct-24-2009 01:29 |
|
Hi Mohammad,
Currently, only ChartDirector for .NET can render and layout or shape Arabic text correctly. Other editions of ChartDirector can render Arabic text, but not layout and shape the text. So the Arabic text will flow from left to right (instead of the correct right to left order) and will look disconnected.
If you are using a non .NET programming language, you may layout and shape the text first, before passing the text to ChartDirector. (Layout means to rearrange the characters in memory, while shaping means to replace the isolated characters with the connected characters.)
In PHP, you may layout and shape the text using fagd.php before passing the text to ChartDirector. ("fagd.php" is used in some google software to layout and shape Arabic text - see:
http://code.google.com/p/gjdesktop/source/diff?r=2&format=side&path=/trunk/src/fagd.php
)
Hope this can help.
Regards
Peter Kwan |
|