Skip to main content
Participant
May 17, 2024
Answered

Custom Fonts in document generation

  • May 17, 2024
  • 1 reply
  • 915 views

Is it possible to apply custom fonts into a generated document? We have templates that are using Montserrat and Riforma, but getting returned in Calibri after JSON merge operations.

 

Alternatively, is there a list of supported fonts please?

    This topic has been closed for replies.
    Correct answer Joel Geraci

    Save the fonts into the Word file. That should prevent font substitution. But because you are merging in variable data, be sure to uncheck the second box.

     

    1 reply

    Joel Geraci
    Community Expert
    Joel GeraciCommunity ExpertCorrect answer
    Community Expert
    May 17, 2024

    Save the fonts into the Word file. That should prevent font substitution. But because you are merging in variable data, be sure to uncheck the second box.

     

    Participant
    May 18, 2024

    Thanks Joel. That works. Unfortunately it explodes the template size out to about 2MB, and slows down the docgen process via the API. We'll probably stick with standard fonts for now for the sake of speed. Good to know and thanks for your response.