Version: v6

Using the Font Manager to Install Fonts for Gravity PDF

Font Manager

Use the Font Manager to add, update, search, select, and delete custom fonts that can be used in your Gravity PDF documents. While Gravity PDF ships with a variety of fonts that support most languages, installing and using custom fonts allow you to match your branding, and enhance the overall look and feel of your PDFs.

info

Looking for open-source fonts to use with Gravity PDF? Google Fonts has a large directory of free fonts available for commercial use.

note

The Font Manager will only display custom fonts you've installed, and doesn't list or display the Core PDF fonts.

If you enjoy learning through video, you can watch this 9-minute video with Gravity PDF's lead developer showing you the ropes:

Open the Font Manager

Manage Font via Global PDF Settings page

You can access the Font Manager from the Global PDF Settings page via the Default Font setting, or on the Tools tab. You'll also find it when configuring a PDF on a form; just look for the Manage button that will appear next to the font dropdown box.

The manager is split into two panes. On the left is the list of installed custom fonts, and on the right is where you add a new font, or update an existing font.

Font List

Font List

The left pane shows all the installed custom fonts, and whether a file has been associated with each of the four font variants, denoted by a โœ… or โŒ.

Searching

Search Font

At the top of the left pane is a search bar that will show you live results in the list below. The search will match both the name you've given to the font, and any of the uploaded font file names.

Selecting

Select Font

If the Font Manager is accessed via the Default Font or Font setting setting, you'll have the option to select a font using the radio button found to the left of each name in the list. This will automatically update the associated font dropdown setting (don't forget to save afterwards).

Editing

Edit Font

Clicking on the font name in the list will open a new pane on the right where you can modify any of the font settings. Refer to the Add/Update Font documentation for details about the available settings and actions.

Deleting

Delete Font

On the right side of the list is a trash icon for each font. This action allows you to delete the font and its associated files. An alert prompt will be displayed, asking you to confirm, before the deletion occurs.

caution

If you delete a font that has been assigned to a PDF, any newly-generated documents will use the fallback font DejaVu Sans Condensed instead.

Add Font

Add Font Interface

The right pane is where you add or update the font settings. By default the add pane is shown, allowing you to quickly install new fonts.

note

The update pane will be displayed if you click on an installed fonts in the Font List. Clicking on the โ† Cancel button will close the update pane and reopen the add pane.

When adding a new font (or updating an existing one), the following options are available:

Font Name (required)

  • This is the name that gets displayed through all Gravity PDF's interfaces. It doesn't have to be the same name as your font, but it's a good idea to keep them similar.
  • Only alphanumeric characters and spaces are allowed in the font name (A-Z / 0-9).
  • The font name doesn't have to be unique and multiple fonts can share the same name (although it isn't recommended).

Regular (required)

  • This field references the main font file for your typeface. Drag and drop your font to this box, or click the box and select your font from the dialog box that appears.

Bold (optional)

  • If your typeface includes a bold version of your font, you can add it here. Drag and drop your font to this box, or click the box and select your font from the dialog box that appears.
  • This field is optional and if not provided the PDF software will mimic bold when referenced. However, you will get a better result if a bold font file is installed.

Italics (optional)

  • If your typeface includes an italics version of your font, you can add it here. Drag and drop your font to this box, or click the box and select your font from the dialog box that appears.
  • This field is optional and if not provided the PDF software will mimic italics when referenced. However, you will get a better result if an italics font file is installed.

Bold Italics (optional)

  • If your typeface includes a bold-italics version of your font, you can add it here. Drag and drop your font to this box, or click the box and select your font from the dialog box that appears.
  • This field is optional and if not provided the PDF software will mimic bold-italics when referenced. However, you will get a better result if a bold-italics font file is installed.
tip

Bold, Italics, and Bold Italics are usually different variants of the same font, but they don't have to be. You can use a mix of unrelated fonts to get the results you're after.

Custom Template Usage

Use font in custom PDF templates

  • This is a read-only field which displays a simple CSS example for use in custom PDF templates. Use this if you would like to utilise multiple fonts in a single PDF. If you only need the entire PDF to use your custom font then change the Font setting when you setup your PDF.

Edit Font

Edit Font Interface

Once you've installed a custom font or two, you'll see a list of fonts in the left pane when you open the Font Manager. You can edit the font by selecting the font name in the list, updating the details in the right pane and clicking the Update Font โ†’ button when done. Simple!

Selecting

Select Font Interface

If the Font Manager is accessed via the Default Font or Font setting, you'll have the option to select a font using the โœ… button found to the right of the Update Font โ†’ button in the update pane. This will automatically select this font in the associated font dropdown setting (don't forget to save afterwards).

The font is deselected when the โœ… button is grey and selected when it is green.

Deleting

Delete Font Interface

You can delete the currently-edited font by selecting the red trash can icon to the right of the โœ… button in the update pane. When you hover over the icon, it will turn red and after being clicked a warning box will pop up asking you to confirm before a font is deleted.

caution

If you delete a font that has been assigned to a PDF, any newly-generated documents will use the fallback font DejaVu Sans Condensed instead.

Last updated on