Hi,
I have a problem with rendering of Arabic script in RichTextBox on 'Windows Embedded' platform. Consider the few lines of C#, appending the arabic letter '?'.
richTextBox1.Text = "";
richTextBox1.AppendText("?");
richTextBox1.AppendText("?");
If I run this code on windows xp the following text is rendered '??' which is correct.
However, if I run the same on windows xp embedded (service pack 2) the letter '?', will be rendered twice without combining them correctly.
I have looked all round in the rich text box properties, and global properties for something to fix this but cannot find anything. I don't believe the fault is font based, as the arabic '?' is rendered ok. I have also found that the characters are rendered correctly on a PC with all possible fonts deleted.
I am aware of language packs available here for windows embedded
http://www.microsoft.com/en-us/download/details.aspx?id=26215 (Saudi Arabia) which I believe I have not got installed on the embedded platform. However I am not sure if this is the cause of the problem or not. Also, I would prefer to find a solution that does not involve installing this language pack, if this is the source of the problem. If anyone can provide me with some insight into this problem I would greatly appreciate it.