开发者

problems with Indic fonts rending in C# .NET Application

I'm trying to display Telugu font string in a C# application. When the text is displayed using a rich textbox or textbox with font set to "Gautami" (one of the fonts that support Telugu language) the characters are broken.

A single letter that is supposed to be displayed on screen is br开发者_高级运维oken in to two characters. What could be the problem?

When the same text is pasted to GMail compose editor or Visual Studio.NET editor, it renders properly. But not on a RichTextBox control of our .NET application. Please see the embedded image that shows the wrong display and expected(correct) display of the text.

alt text http://img682.imageshack.us/img682/1167/imagena.png


Try using a font that supports unicode (i.e. Arial Unicode MS).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜