Share via


Embed a font or a subset of a font in your application

After you have added a custom font to your application, you must embed the whole font or a subset of the font so that the users of your application will be able to see the font.

For information about adding fonts, see Add a custom font to your application.

Typically, users will already have most of the fonts that you can select in Microsoft Expression Blend, and therefore you do not have to embed them. However, you must embed a custom font so that your users will see it. If the user does not have your font, a default system font will be used to format your text.

Important

If you decide to embed a font, use a subset of a font, 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 embed a font using the Font Manager

  1. Open the Font Manager.

    For more information, see Open the Font Manager.

    Cc294629.69eb8d5f-797b-495e-b8ba-77261d0061a0(en-us,Expression.30).png

  2. Under Choose fonts to embed in the application, select the check box next to the font that you want to embed, and then, under Choose subsets of the selected font to embed, do one of the following:

    • To embed the whole font, select the All glyphs check box.

    • To embed only those characters that you use in your application, select the Auto fill check box.

    • To embed a static subset of the font, select one or more of the remaining character sets under Choose subsets of the selected font to embed. You can also enter individual characters in the Include glyphs text box to embed those characters.

To embed a font while modifying a text control

  1. Select the object that contains the text that you want to format, by using either the Selection tool Cc294629.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.30).png or the Direct Selection tool Cc294629.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.30).png.

  2. If your text object supports rich text, press F2 to enter text-editing mode for the object, and then select the text that you want to format.

  3. In the Properties panel, under Text, click the Font tab Cc294629.17db489b-22e6-4b99-9a19-fa1ed9d51e7e(en-us,Expression.30).png, and then select your custom font from the FontFamily drop-down menu. (Custom fonts are displayed at the top of the list.)

  4. Select the Embed check box to embed the font in your application.

    Cc294629.fc5b9ec5-be55-4bdf-8871-ffbd193ef50a(en-us,Expression.30).png

  5. To embed only a subset of the font, click Font Manager, and then select one or more of the character sets under Choose subsets of the selected font to embed.

See also

Tasks

Add a custom font to your application

Format text

Open the Font Manager