1. Home
  2. Jetpack CRM
  3. Translation
  4. Using Custom Fonts in CRM PDFs (e.g. Invoice Templates)
  1. Home
  2. Jetpack CRM
  3. Core Modules
  4. Invoices
  5. Using Custom Fonts in CRM PDFs (e.g. Invoice Templates)

Using Custom Fonts in CRM PDFs (e.g. Invoice Templates)

As of v4.10 of Jetpack CRM we’ve improved international font usage throughout our PDF system. Using Noto Sans Jetpack CRM PDFs now support 855 languages and 236 regions out of the box. We have also built in support for the addition of other font families to support languages which are not covered by the master Noto Sans font family.

This guide explains how you can use custom fonts by modifying your template files. This should only be necessary if the default fonts installed by v4.10~ don’t cover your desired language or character set usage.

Installing fonts for PDF generation in Jetpack CRM:

First, install the font:

1. To get started you’ll need to head to Jetpack CRM > CRM Settings, then select ‘Locale’ from the settings menu.

2. From your locale settings you’ll see a section titled ‘Fonts for PDF generation’:

Installing fonts in Jetpack CRM

3. You can select a font to install from the left hand drop-down menu and then click the green ‘Install font’ button. This should install the font selected, which should now show on the right hand pane under ‘Installed Fonts’.

After you’ve got the font installed, you’ll need to make a change to the PDF template you want to use this font with.

Using a specific font with your PDF template:

Now you’ll need to add some CSS to your template to force specific areas of the HTML to use your new font. This will require basic CSS and HTML knowledge, but below we’ll give you a snippet which will work to use the custom font Noto Sans Arabic in Invoice line item description elements:

<style>
.item-description {
    font-family: NotoSansArabic, NotoSansGlobal, sans-serif;
    font-style: normal;
    font-weight: normal;
}
</style>

(You may need to modify this snippet to fit your particular template usage.)

Read more on editing templates here.

Updated on August 16, 2022

Was this article helpful?

Related Articles

Still not found an answer?
If you've searched the knowledge base and still can't find a solution, please submit a ticket.
CONTACT SUPPORT