Using Third-Party Fonts via Font Embedding
Font embedding allows you to place a third-party font into your application. Numerous websites offer fonts for purchase, and some even offer free fonts.
Note
Like all media sourced from external sources, be sure that you are legally entitled to redistribute fonts that have been embedded in your application. Be aware that the licensing restrictions of some fonts allow you to create graphics with the font but not to redistribute the font itself.
To embed a font, include it in your Visual Studio project. Set the Build Action in the Visual Studio Properties pane to Content (see Figure 6.5). This causes the font file to be placed in the XAP file when the project is built.
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.