ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  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 Ali Youssef on Jan-02-2016 00:13
Attachments:
Hi Peter

In this link http://codeproject.cachefly.net/Articles/3529/Arabic-Support-for-Windows-CE you can find a code for arabic in C++. Can someone traslate it to php.
It should be better then fagd.php for phpChartdirector.

Reguards
Ali Youssef
CString Arabize .doc
CString Arabize .doc

40.50 Kb

  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