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.ttfUrl
URL to a TTF file (fetched on demand). The file must be at most 24 MB and served as font bytes (an HTML response is refused); serve it with CORS headers when it is on another origin.
string
Copy link to this page
More in Fonts
Copy link
fontsBaseUrl
download
verifyIntegrity
subset
customFonts
customFonts.id
customFonts.displayName
customFonts.ttfBytes
customFonts.category
customFonts.cssFallback
sizes
Previous
customFonts.displayName
Next
customFonts.ttfBytes