Import font data
Open the fonts data module.
Add your font like this:
Add your image id for the font in the same table as the Size
and Characters
, like this:
For fonts that have multiple weights and/or styles, it's recommended to use the following format:
You will automatically be warned, in the output, about any mistakes you make in the font data module.
Use the font
Using custom fonts is extremely simple.
Instead of providing a Font
object, directly reference the font table like this:
Last updated