| 1 | # WebUI Font Vendor DOX |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | - Own the locally served Rubik and Roboto Mono WebUI font bundle. |
| 6 | - Keep core typography available without internet access. |
| 7 | |
| 8 | ## Ownership |
| 9 | |
| 10 | - `fonts.css` owns the local `@font-face` declarations and supported variable weight ranges. |
| 11 | - `*.ttf` files are clean upstream font artifacts. |
| 12 | - `*-OFL.txt` files own the corresponding upstream licenses. |
| 13 | - `README.md` records upstream provenance and artifact mappings. |
| 14 | |
| 15 | ## Local Contracts |
| 16 | |
| 17 | - Font sources in `fonts.css` must remain same-origin relative URLs. |
| 18 | - Preserve normal and italic Rubik weights 300–900 and Roboto Mono weights 100–700. |
| 19 | - Keep each font artifact paired with its upstream license and pinned provenance. |
| 20 | |
| 21 | ## Work Guidance |
| 22 | |
| 23 | - Replace fonts from a pinned official upstream revision rather than modifying binaries. |
| 24 | - Update `fonts.css`, licenses, and provenance together when changing the bundle. |
| 25 | |
| 26 | ## Verification |
| 27 | |
| 28 | - Run `pytest tests/test_webui_offline_assets.py`. |
| 29 | - Smoke-test the main and login pages without external network access. |
| 30 | |
| 31 | ## Child DOX Index |
| 32 | |
| 33 | No child DOX files. |