Font
The ./font
directory can contain fonts which can be used in the configuration.
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.
Example
Given the following file structure.
- font
- Public Sans.ttf
- Urbanist.ttf
It is possible to use these fonts in the configuration.
[
{
"type": "text",
"value": "This text is in 'Public Sans'.",
"font": "Public Sans",
[...]
},
{
"type": "text",
"value": "This text is in 'Urbanist'.",
"font": "Urbanis",
[...]
}
]