# 0044. Roboto is self-hosted and preloaded

- **Status:** Accepted
- **Date:** 2026-09-24

## Context

Roboto came from an `@import` of Google Fonts inside the inlined stylesheet: the document, then a stylesheet
from one third-party origin, then the fonts from another, before text could settle.

## Decision

`@fontsource-variable/roboto`, latin and latin-ext, normal and italic, declared as `Roboto` in
`resources/scss/roboto.scss`. The two normal files are preloaded by `View::registerFontPreloads()`, resolved
through Encore's `manifest.json`.

## Alternatives

- **Static weights.** Four files per range instead of one.
- **Keep Google Fonts with a preconnect.** Still a chain, and a third party on the critical path.

## Consequences

- Italic is not preloaded; prominent italic text may swap in late.
