[]
type FontFormat = "truetype" | "opentype" | "woff" | "woff2" | "ttc";
Specifies the font format.
"truetype": TrueType Font (TTF)."opentype": OpenType Font (OTF)."woff": Web Open Font Format (WOFF)."woff2": Web Open Font Format 2 (WOFF2). Not supported by the Wasm version of the SupportApi."ttc": TrueType Collection (TTC). This format is for fallback fonts only; see the DsPdfViewer.registerFallbackFont method for details.