mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-07-30 15:08:10 -04:00
* Bump uv lock, fix bump_version * Discover variable and per-language Noto fonts for the OCR text layer (#1652) SystemFontProvider only matched static "-Regular.ttf/.otf" filenames, so the variable fonts shipped by Homebrew casks and current Google Fonts (e.g. NotoSansArabic[wdth,wght].ttf) were never found. Users who had installed the font still got the glyphless Occulta fallback and a cryptic "No font found" warning. - Match variable fonts (Base[...]), -VF, and bare-family filenames via a boundary-aware flexible search, escaping the glob-special brackets. - Make CJK language-aware: the modern per-language Noto fonts (NotoSansSC /TC/HK/JP/KR) are region subsets, so map each CJK language to its own family and keep the full-coverage pan-CJK super font as a shared fallback. Glyph coverage, not shape, is what matters for the invisible text layer. - Reword the missing-font warning to explain the consequence (searchable but blank when highlighted) and name the language-specific font.