File size: 1,365 Bytes
1c43956
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Font Assets

The language registry points to repo-relative runtime font assets under
`data/fonts/`. The `data/` tree is ignored because training and validation data
can be large, so these files must be provisioned on each runtime host before
synthetic rendering or font coverage claims.

Current required assets:

| File | Purpose | Current source used in audit |
| --- | --- | --- |
| `data/fonts/NotoSansDevanagari-VariableFont_wdth,wght.ttf` | Devanagari OCR synthesis and coverage for Nepali, Tamang, Magar, Bhojpuri, Maithili, and related Devanagari targets | Local Noto Sans Devanagari download on `cdjk`; copied to k2 runtime data |
| `data/fonts/NotoSansOlChiki-Regular.ttf` | Santhali/Ol Chiki coverage | macOS system font `/System/Library/Fonts/Supplemental/NotoSansOlChiki-Regular.ttf`; copied to runtime data |

Host-local system fonts currently used directly:

| File | Purpose |
| --- | --- |
| `/System/Library/Fonts/Supplemental/NotoSansLimbu-Regular.ttf` | Limbu/Sirijonga coverage |
| `/Library/Fonts/Arial Unicode.ttf` or `/System/Library/Fonts/Helvetica.ttc` | Latin/English regression coverage |

Validation command:

```bash
uv run ocrtech audit-font-renderability languages/nepal-v1.json --out outputs/font-renderability-audit
```

This audit is cmap coverage only unless `--render-samples` is used in an
environment with Pillow installed.