# fonts.fontsBaseUrl

Part of [Fonts](https://kernstra.com/docs/web-sdk/config/fonts) in the Kernstra Web SDK 1.0.0 configuration reference.

- Type: `string`
- Page: https://kernstra.com/docs/web-sdk/config/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]`](https://kernstra.com/docs/web-sdk/api/kernstra/assetdigests) and serve it under its `ttfPath` — see [Engine, binaries and fonts](https://kernstra.com/docs/web-sdk/guides/engine-assets). The SDK verifies their bytes exactly as it verifies a download, unless you turn that off with `verifyIntegrity: false`.

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

Web page: https://kernstra.com/docs/web-sdk/config/fonts/fontsbaseurl
