Add a custom font to your application

This page applies to WPF and Silverlight 2

Typically, users will already have most of the fonts that you can select in Microsoft Expression Blend 2. However, you can add custom fonts to your project and then apply those fonts to text controls in your application. If you add a custom font to your application, you must embed it in your application for users to see the font.


If you decide to embed, subset, or otherwise redistribute fonts in your application, it is your responsibility to make sure that you have the required license rights for those fonts.

For the fonts that come with Expression Blend, see the Microsoft Software License Terms (EULA.language.rtf) file for full license terms. For other commercial fonts, see the Microsoft Typography website for information that can help you locate a particular font vendor or find a font vendor for custom work. Expression Blend 2 supports embedding fonts that are contained in .ttf, .ttc, .otf, and .tte files.


Custom fonts are not available when you open a Microsoft Silverlight 1.0 project.

  1. In an open project in Expression Blend, under Files in the Project panel, right-click your project name, and then click Add Existing Item.


    The Add Existing Item window appears.

  2. Browse to the custom font file (typically with a .ttf file name extension), select the custom font file so that it appears in the File text box, and then click Open.

    The custom font file is added to your application and appears under Files in the Project panel.

  3. You can now embed the complete font or a subset the font in your application, and apply the font to text controls in your application.

    For more information, see Embed a font or a subset of a font in your application, and Format text.

Community Additions