For a Windows 8 app I’m building, I wanted to use a custom font. It took me some time to figure out how to get this working.
So here are the steps:
- Add the font file to your project.
- Change the Build Action to Content.
- Specify the FontFamily using the format:
/<path to font file>/<font file>#<font name>
If you don’t know the font name, double click on the font file: