Web SDKv1.0.0

fonts.fontsBaseUrl

Base URL for self-hosted font files — self-hosting licenses only. It relocates only the SDK's own bundled fonts, so it needs a license that includes self-hosting (today, an offline license); otherwise the first text tool the user opens is refused with FEATURE_NOT_LICENSED. Fetch each file once from the store by Kernstra.assetDigests.fonts[font.id] and serve it under its ttfPath — see Engine, binaries and fonts. The SDK verifies their bytes exactly as it verifies a download, unless you turn that off with verifyIntegrity: false.
string

Example

fontsBaseUrlTypeScript
// Self-host all fonts (self-hosting license)
fonts: {
  fontsBaseUrl: '/assets/fonts/',
}

More in Fonts