Skip to content
Kernstra
Docs
Web SDK
v1.0.0
/
Nothing matches “
”. Try an option name like
accentColor
or a method like
goToPage
.
Search could not load. Type again to retry.
Get started
(opens in a new tab)
Changelog
(opens in a new tab)
Playground
(opens in a new tab)
JavaScript PDF viewer
(opens in a new tab)
Get a free key
(opens in a new tab)
Docs
›
Web SDK
›
Configuration
›
Fonts
fonts.customFonts.ttfBytes
Pre-loaded TTF bytes (skips the fetch). The only kind of custom font that works with
download: false
.
Uint8Array
Copy link to this page
More in Fonts
Copy link
fontsBaseUrl
download
verifyIntegrity
subset
customFonts
customFonts.id
customFonts.displayName
customFonts.ttfUrl
customFonts.category
customFonts.cssFallback
sizes
Previous
customFonts.ttfUrl
Next
customFonts.category