Sherantha
Sherantha

Reputation: 482

Sinhala font is not shown properly

In a wpf application I have entered some text in sinhala to few labels. In the design time sinhala font is shown properly as in the below image.

enter image description here

but when I start debugging, arrangement of characters is changed. see below image.

enter image description here

Font of the labels is Segoe UI. I have checked changing it to the default Sinhala font in Windows 7 (Iskoola Pota) but the problem exists.

How can I fix this? I'm using VS 2010 on Windows7, Target framework is .Net Framework 3.5

Upvotes: 1

Views: 1645

Answers (1)

LocEngineer
LocEngineer

Reputation: 2917

According to msdn.microsoft.com/en-us/library/ms745650(v=vs.110).aspx Sinhala script is not supported in WPF. No problem in WinForms, so better go with that.

Upvotes: 1

Related Questions