A font family and the files that provide it.
{ family: 'Roboto', paths: ['./fonts/Roboto-Regular.ttf', './fonts/Roboto-Bold.ttf'] } Copy
{ family: 'Roboto', paths: ['./fonts/Roboto-Regular.ttf', './fonts/Roboto-Bold.ttf'] }
The name fontFamily will refer to. Any name may be chosen; it need not match the file.
fontFamily
Absolute paths to the font files that make up the family — one per weight or style.
A font family and the files that provide it.
Example