I am building a WPF application, and displaying odia/oriya language in labels and textbox. Some Unicode words are not not rendering properly in .NET Framework 3.5 +
Words are rendering correctly in .NET Framework 3.5, but as version is increased, words are splitting. Word is: ବିଷ୍ଣୁ
Word is rendered correctly (.NET Framework 3.5):
Word splits (.NET Framework > 3.5):
Why different behaviour? Same application, different framework.
Environment: Win7SP1, VS2013, C#WPF
UPDATE: Adding WPF code
<Window x:Class="DeleteThisWPF.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<TextBox x:Name="txtBox" Text="ବିଷ୍ଣୁ" HorizontalAlignment="Left" Height="151"
FontSize="72" Margin="31,10,0,0" TextWrapping="Wrap"
VerticalAlignment="Top" Width="264"/>
<Label Content="ବିଷ୍ଣୁ" HorizontalAlignment="Left" Margin="197,197,0,0"
FontSize="60" VerticalAlignment="Top" Width="310" />
</Grid>
</Window>