Search code examples
xamlfontswindows-phone-8textblockwindows-phone-8-emulator

How to use another fonts on windows phone 8?


I used "Algerian" for one textblock control at design time.

But when i ran it on emulator of windows phone 8 textblock appears with the default font Segoe UI. how can i change the font to algerian so that textblock appears with algerian font on emulator as well as device


Solution

  • you can follow this post for detailed steps.

    example,

    <TextBlock Text="12:02 AM" FontFamily="fonts/DigitalDream.ttf#Digital Dream" FontSize="60"/>