Enabling custom fonts

You can have custom fonts enabled within your organization. This allows you to ensure that the fonts you use within your title will properly display in your users' browsers regardless of whether they have the font locally installed.

The custom fonts you want to enable must be installed on your system. You will also need the font file for each font you want to enable.

For the custom fonts to appear in the font lists within the Publisher, your organization administrator must specify the fonts in the User Fonts field in the organization property settings. For details about specifying custom fonts in this field, see Modifying your organization settings.

The custom fonts you enable are defined based on the @font-face CSS at-rule that you provide in a HTML Extension object in your title. The rule allows for linking to fonts that are fetched and activated when needed. Provide multiple @font-face rules to construct font families with a variety of faces.

You can create a sharable library object for enabling custom fonts within a title. For details about creating and inserting library objects into titles, see Working with library objects.

To define a custom font for use within your title:

  1. Insert a HTML Extension object at the title level. For details about inserting HTML objects, see Working with external HTML objects.

  2. In the Properties tab for the HTML Extension, specify the Type as Meta tags.

  3. To associate the corresponding font file, click Additional Files. Click Add File and browse to add the font file resource to the title.

  4. Next specify the definition for the font. This defines the font to the browser for users that may not have the font currently installed. To specify the definition, click Edit. In the Edit the code associated with the HTML extension window, specify the following and click OK:

    <style>
    @font-face {
      font-family: fontfamily;
      src: local(fontfamily),
      url('fontname.ext')
    format('opentype');
    }
    </style>

    where fontfamily is the name of the font family and fontname.ext is the font file.

  5. Save the title.

The font is enabled within the title.

Support | Om Trivantis
© Copyright Trivantis 2017