defineFont
Defines a map with locations for the TrueType Font (.ttf) files. It is safe to call this method multiple times. The exportPDF
method uses the font files when embedding them in a PDF document.
Fonts have to be loaded from the same origin or CORS-enabled.
Parameters
definitions {[fontName: string]: string}
A dictionary of font names and the URLs of their source files.