Skip to main content
Version: 4.62

Font

The ./font directory contains fonts that can be used in the configuration.

The following font file types are supported:

  • .TTF
  • .TTC (Android only)
  • .OTF
caution

The file name of the font file name must be equal to its postscript name of the font.
The Android app uses the file name and the iOS app uses the postscript name.

Examples

Example 1: Use the provided fonts in the configuration

Show ExampleHide Example

The following fonts, provided in the ./font folder, can be used in the configuration:

font folder structurefont folder structure
{
"type": "text",
"value": "This text uses the 'Barlow-Regular' font.",
"font": "Barlow-Regular",
[...]
},
{
"type": "text",
"value": "This text uses the 'Palatino Linotype' font.",
"font": "Palatino Linotype",
[...]
}
The app showing the results of the sample code from Example 1.The app showing the results of the sample code from Example 1.