Interface: FontData
FontData holds metadata about the font (names, url) and the raw bytes of the font TTF in an ArrayBuffer. This ArrayBuffer font data cannot be used by canvaskit directly. These data are later used to create a canvaskit TypeFace in FontManager.loadFonts().
Properties
fontArrayBuffer
fontArrayBuffer:
ArrayBuffer
Source
fontFamilyName
fontFamilyName:
string
Source
fontName
fontName:
string
Source
fontUrl
fontUrl:
string
Source
isDefault
isDefault:
boolean