# Font Awesome Free 6.5.1 — Bundled

This directory contains a slim build of [Font Awesome Free](https://fontawesome.com/) 6.5.1 bundled with the Omusubi plugin. No CDN is used; all assets are served from the plugin directory.

## Contents

- `css/omusubi-fa.min.css` — concatenated `fontawesome.min.css` + `solid.min.css` + `regular.min.css`, with `.ttf` `src` references stripped (only `.woff2` shipped).
- `webfonts/fa-solid-900.woff2` — the Solid style glyph font.
- `webfonts/fa-regular-400.woff2` — the Regular style glyph font.
- `LICENSE.txt` — upstream Font Awesome Free license text.

Brands (`fa-brands`), v4/v5 compatibility, SVG/JS builds, and `.ttf` font files are intentionally **not** bundled because Omusubi does not use them. This keeps the plugin footprint small (~260 KB on disk).

## License

Font Awesome Free is dual-licensed. See `LICENSE.txt` for full terms.

- **Icons** (the glyphs themselves): CC BY 4.0
- **Fonts** (`*.woff2` files): SIL OFL 1.1
- **Code** (the CSS): MIT License

All three licenses are compatible with the GPL v2 (or later) under which Omusubi is distributed.

## Upgrading

To bump the bundled version:

1. Download `fontawesome-free-X.Y.Z-web.zip` from <https://fontawesome.com/download>.
2. Replace `webfonts/fa-solid-900.woff2` and `webfonts/fa-regular-400.woff2` from the archive's `webfonts/` directory.
3. Regenerate the CSS:

   ```sh
   cat css/fontawesome.min.css css/solid.min.css css/regular.min.css \
     | sed -E 's|,url\(\.\./webfonts/fa-[a-z]+-[0-9]+\.ttf\) format\("truetype"\)||g' \
     > omusubi-fa.min.css
   ```

4. Update the version constant in the two `wp_enqueue_style()` calls (`omusubi.php` and `admin/class-admin.php`).
5. Replace `LICENSE.txt` from the archive root.
