selvam
selvam

Reputation: 1197

How to change the font in windows phone 8?

I use the "Lucida Handwriting" for one textblock control at design time.

But i run it on emulator it is take someone font like

At Design Time

enter image description here

At Run on Emulator

enter image description here

How is Possible. How can i solve this difference. Please Help Me.

Thanks in advance.

Upvotes: 3

Views: 10067

Answers (1)

ZombieSheep
ZombieSheep

Reputation: 29953

Are you including the font file in your app package?

1) Add the font file that you wish to use to your project, and set the Build Action to Embedded Resource. Also ensure you are copying the file to the assembly in the "Copy to output directory" property. 2) Select your textblock, and pull down the font selection dropdown in properties.

You should see your font there, and it will be compiled into the assembly and available for use in the app.

Upvotes: 1

Related Questions