Embed a font

Expression Studio 2.0
This page applies to WPF projects only

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.

To follow this procedure, you need a font file. Download a free font file from one of the free type foundry websites listed at Microsoft Typography website. It is your responsibility to make sure that you have the required license rights for any font embedded in your application.

  1. On the Project menu, click Add Existing Item, browse to your font file, and then click Open to add it to your project.

  2. From the Toolbox, select the TextBox Cc296385.343296b4-5c7d-4145-84cc-91b08ba67a1b(en-us,Expression.10).png control. Draw a textbox on the artboard in your main document (Window1.xaml). Expression Blend automatically enters text-editing mode (F2).

  3. Under Text in the Properties panel, select the Font tab, and then select your new font from the FontFamily drop-down list.

    New fonts are always displayed at the top of the list.

  4. Under Text in the Properties panel, select the Embed checkbox.

  5. In the Subset drop-down list, select Dynamic so that all the characters in the font will be embedded in your application.


    You can view and modify all embedded fonts by clicking Font Manager on the Tools menu. Font embedding ensures that your users will see the font that you select.


Next steps

Community Additions