问题
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
At Run on Emulator
How is Possible. How can i solve this difference. Please Help Me.
Thanks in advance.
回答1:
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.
回答2:
You may like to try out this link
http://www.jeffblankenburg.com/2010/10/24/31-days-of-windows-phone-day-24-embedding-fonts/
来源:https://stackoverflow.com/questions/16215535/how-to-change-the-font-in-windows-phone-8