<!-- Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
 SPDX-License-Identifier: GPL-3.0-or-later
 VERSION: 03.09.10
 -->

# Self-Hosted Google Fonts

Fonts are served locally to avoid external CDN dependencies and improve privacy/performance.

## Available Fonts

| Font | Weights | Styles | CSS File |
|------|---------|--------|----------|
| Roboto | 100–900 | Normal + Italic | `css/fonts/roboto.css` |
| Fredoka | 300–700 | Normal | `css/fonts/fredoka.css` |
| Pacifico | 400 | Normal | `css/fonts/pacifico.css` |
| Osaka | — | — | `css/fonts/osaka.css` |

## Adding New Fonts

1. Run `php scripts/download-google-fonts.php` or manually download woff2 files
2. Place files in `src/media/fonts/`
3. Create a CSS file in `src/media/css/fonts/` with `@font-face` declarations
4. Register the CSS in `joomla.asset.json`
5. Add the font as an option in `templateDetails.xml` font selector

## File Naming Convention

`{font-name}-v{version}-latin-{weight}.woff2`

Examples: `roboto-v51-latin-regular.woff2`, `fredoka-v17-latin-700.woff2`
