ocr-tech-k2 / docs /FONT_ASSETS.md
prosperious's picture
Add 51 files (.gitignore ...)
1c43956 verified
|
Raw History Blame Contribute Delete
1.37 kB

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:

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.