# Font Licenses and Sources

This directory contains open-licensed metric-compatible and fallback TrueType fonts bundled for browser-side PDF text rendering and editing.

## Bundled Fonts Overview

| Font Family | Variants | License | Upstream Source URL | Target Metrics Compatibility |
| :--- | :--- | :--- | :--- | :--- |
| **Liberation Sans** | Regular, Bold, Italic, BoldItalic | SIL Open Font License 1.1 | [github.com/liberationfonts/liberation-fonts](https://github.com/liberationfonts/liberation-fonts/releases/tag/2.1.5) | Arial, Helvetica, sans-serif |
| **Liberation Serif** | Regular, Bold, Italic, BoldItalic | SIL Open Font License 1.1 | [github.com/liberationfonts/liberation-fonts](https://github.com/liberationfonts/liberation-fonts/releases/tag/2.1.5) | Times New Roman, Times, serif |
| **Liberation Mono** | Regular, Bold, Italic, BoldItalic | SIL Open Font License 1.1 | [github.com/liberationfonts/liberation-fonts](https://github.com/liberationfonts/liberation-fonts/releases/tag/2.1.5) | Courier New, Courier, monospace |
| **Carlito** | Regular, Bold, Italic, BoldItalic | SIL Open Font License 1.1 | [github.com/googlefonts/carlito](https://github.com/google/fonts/tree/main/ofl/carlito) | Calibri |
| **Caladea** | Regular, Bold, Italic, BoldItalic | SIL Open Font License 1.1 | [github.com/googlefonts/caladea](https://github.com/googlefonts/caladea) | Cambria |
| **Noto Sans** | Regular, Bold | SIL Open Font License 1.1 | [github.com/notofonts/noto-fonts](https://github.com/notofonts/noto-fonts) | Broad Latin/Cyrillic/Greek fallback |
| **Noto Sans Mono** | Regular, Bold | SIL Open Font License 1.1 | [github.com/notofonts/noto-fonts](https://github.com/notofonts/noto-fonts) | Monospace fallback |

---

## Detailed File Listing

- `LiberationSans-Regular.ttf` (410,712 bytes)
- `LiberationSans-Bold.ttf` (414,456 bytes)
- `LiberationSans-Italic.ttf` (415,816 bytes)
- `LiberationSans-BoldItalic.ttf` (408,996 bytes)
- `LiberationSerif-Regular.ttf` (393,576 bytes)
- `LiberationSerif-Bold.ttf` (370,096 bytes)
- `LiberationSerif-Italic.ttf` (375,632 bytes)
- `LiberationSerif-BoldItalic.ttf` (376,772 bytes)
- `LiberationMono-Regular.ttf` (319,508 bytes)
- `LiberationMono-Bold.ttf` (307,996 bytes)
- `LiberationMono-Italic.ttf` (281,536 bytes)
- `LiberationMono-BoldItalic.ttf` (284,068 bytes)
- `Carlito-Regular.ttf` (628,032 bytes)
- `Carlito-Bold.ttf` (682,468 bytes)
- `Carlito-Italic.ttf` (615,236 bytes)
- `Carlito-BoldItalic.ttf` (808,508 bytes)
- `Caladea-Regular.ttf` (81,600 bytes)
- `Caladea-Bold.ttf` (84,492 bytes)
- `Caladea-Italic.ttf` (83,780 bytes)
- `Caladea-BoldItalic.ttf` (83,356 bytes)
- `NotoSans-Regular.ttf` (569,208 bytes)
- `NotoSans-Bold.ttf` (575,740 bytes)
- `NotoSansMono-Regular.ttf` (512,836 bytes)
- `NotoSansMono-Bold.ttf` (525,664 bytes)

Total PDF fonts: 24 TrueType font files, 9,610,084 bytes (~9.16 MB). All files verified with TrueType sfnt header magic bytes `00 01 00 00`.

## Bundled UI Fonts (Self-Hosted WOFF2)

| Font Family | Variants | License | Upstream Source URL | UI Role |
| :--- | :--- | :--- | :--- | :--- |
| **Public Sans** | 400, 500, 600, 700 | SIL Open Font License 1.1 | [github.com/uswds/public-sans](https://github.com/uswds/public-sans) | Primary UI sans-serif (controls, labels, body) |
| **Literata** | 500, 600, 700, 500 Italic | SIL Open Font License 1.1 | [github.com/googlefonts/literata](https://github.com/googlefonts/literata) | Editorial display serif (brand mark, folio headline, dialog titles) |
| **JetBrains Mono** | 400, 500 | SIL Open Font License 1.1 | [github.com/JetBrains/JetBrainsMono](https://github.com/JetBrains/JetBrainsMono) | Monospace measurements (zoom %, page counts, `<kbd>` shortcuts) |

- `PublicSans-400.woff2`, `PublicSans-500.woff2`, `PublicSans-600.woff2`, `PublicSans-700.woff2`
- `Literata-500.woff2`, `Literata-600.woff2`, `Literata-700.woff2`, `Literata-500-Italic.woff2`
- `JetBrainsMono-400.woff2`, `JetBrainsMono-500.woff2`

---

## License Texts

Individual license files are provided in this directory:
- [LICENSE-Liberation.txt](LICENSE-Liberation.txt) — SIL Open Font License 1.1 for Liberation Fonts
- [LICENSE-Carlito.txt](LICENSE-Carlito.txt) — SIL Open Font License 1.1 for Carlito
- [LICENSE-Caladea.txt](LICENSE-Caladea.txt) — SIL Open Font License 1.1 for Caladea
- [LICENSE-Noto.txt](LICENSE-Noto.txt) — SIL Open Font License 1.1 for Noto Fonts
- [LICENSE-PublicSans.txt](LICENSE-PublicSans.txt) — SIL Open Font License 1.1 for Public Sans
- [LICENSE-Literata.txt](LICENSE-Literata.txt) — SIL Open Font License 1.1 for Literata
- [LICENSE-JetBrainsMono.txt](LICENSE-JetBrainsMono.txt) — SIL Open Font License 1.1 for JetBrains Mono
