Fonts library

Fonts library

InterFormNG2 is delivered with a few, free fonts, but you probably want to use your own fonts.

 

The Library of InterFormNG2 has a special section/folder for fonts.

 

InterFormNG2 supports fonts in the True Type Font format (.ttf).

 

Please notice, that for PDF rendering you can only use true type fonts, that allow embedding.

 

To install a ttf file you select the Library Tab in the top of InterFormNG2 and then the Fonts folder either as a tile on the top right or the Fonts folder on the left.

 

Now you can install the font via the upload option on the top left:

 

NG2Fonts0001

 

In the pop up window you simply select the font files and click the open icon on the bottom right.

 

 

Does my True Type Font (ttf) allow embedding?

If you try to use a true type font (ttf), that does not allow embedding in InterFormNG2, then the rendering into PDF may stop with an error and you will see this in the job log:

 

 

NG2TTFEmbedding0001

(This font does not permit embedding)

 

One short term fix is to revert back to the old PDF render with the line pdfRenderUseOld=true in the application.properties configuration file and then replace the fonts with fonts, that include the required copyright. After that you should switch back to the new PDF renderer by removing this line again.

The application.properties file is normally found here depending on the platform on which you run InterFormNG2:

On Windows: C:\Program Files\InterFormNG2

On IBM i: /IFormNG2/InterFormNG-shell/Core

 

One way to verify if a font allows embedding is e.g. to install it on a Windows PC by copying it to the C:\Windows\Fonts directory.

Start the File explorer and view the contents of the C:\Windows\Fonts directory.

 

Now choose to see the details of the fonts on the upper right:

NG2TTFEmbedding0002

 

Then you can see the restrictions to the font on the Font embeddability column:

 

NG2TTFEmbedding0003

 

If the value for this column is restricted, then the font embedding is not allowed.

 

 

 

 

    • Related Articles

    • Library

      Library : You have access to the Library tab in InterFormNG2, if you are signed on to a tenant: The library is the place to go, if you want to install new (or delete) resources in InterFormNG2. The only alternative are the tenant export and import. ...
    • Colors and fonts

      This option sets the default set of colors and the default text style (font settings) to use in your templates. In order to setup the color and font defaults, you first need to sign in as described here. Then you click Colors and Fonts on the left ...
    • Styles library

      If you have a corporate standard, that defines some specific fonts and font sizes, then you should consider to define them as styles in InterFormNG2. The font styles are defined for all users in a tenant in the Library tab via the Styles tile or ...
    • Suggestions for fixed fonts

      When you map the contents of a spooled file, then you should consider, if you are going to use a proportional font or a fixed font. Most fonts are proportional i.e. that all the characters does not have the same width so e.g. the letter 'i' is much ...
    • Others library

      You can use the others section of the library for other resources e.g. digital certificates, that are used for digitally signing PDF files.