Thursday, February 23, 2012

Indic langauge display in WP7

Hi,

I investigated on the how to display any language in WP7:
I used the following steps to display any language by using Unicode support: Source=http://informationmadness.com/technology/tech-tips/4127-how-to-read-hindi-gujarati-indian-languages-on-hp-touchpad.html
 1) Now we need to look for the arialuni.ttf under "C:\Windows\Fonts" folder. Most probably you will have this font. Copy that "arialuni.ttf" (keep the file name to all lowercase . remember its .ttf and not .TTF) on your desktop  and rename the file to "Unicode.ttf".
2)  Paste that file in your project , open the project in expression blend.
3) In the Textblock properties Select FontFamily Aerial Unicode MS and check emebed. Now the textblock xaml looks like this
<TextBlock TextWrapping="Wrap" FontSize="40"
         Name="textBlock1" Text="ಅನ೦ದ"
        VerticalAlignment="Top" FontFamily="/FontTest;component/fonts/Fonts.zip#Arial Unicode MS"  />

 Regards
Mahantesh

Hope this may helps to viewers.
 

5 comments: