|
arabic support |
Posted by hussein on Oct-21-2008 00:25 |
|
Dear
doest chartdirector can display the aliasses in arabic?? |
Re: arabic support |
Posted by Peter Kwan on Oct-21-2008 01:50 |
|
Hi hussein,
By "aliasses", I assume you refer to any text on the chart.
Currently, only ChartDirector for .NET can render and layout Arabic text correctly. Other editions of ChartDirector can render Arabic text, but not layout the text. That means if you are using a non .NET programming framework, you would need to layout the text first, before passing the text to ChartDirector.
For example, for PHP, you may layout the text using fagd.php before passing the text to ChartDirector. ("fagd.php" is used in some google software to layout 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 |
Re: arabic support |
Posted by Peter Kwan on Jan-03-2016 16:02 |
|
Hi Ali Youssef,
ChartDirector has supported Arabic in C++ since ChartDirector 5.1. You just need to
ensure your text are encoded properly and use a font that supports Arabic character. For
C++, the text should be represented in UTF8 encoding, which supports for all unicode
characters, including Arabic. On Windows, most common fonts (such as Arial) supports
Arabic. If you are using Linux, please note that by default there is no Arial font (which is a
Microsoft font) in Linux. Please refer to the following link on how to obtain the Microsoft
fonts:
http://www.advsofteng.com/doc/cdcpp.htm#fontspec.htm
Hope this can help.
Regards
Peter Kwan |
|