Skip to content

墨字归真,六境同明 · Restore Chinese PDF rendering in 0.5.6

Choose a tag to compare

@eric8810 eric8810 released this 31 Jul 03:09
c495e47

Highlights

  • Fix PDF rasterization when documents reference common non-embedded Chinese
    fonts. PDFium now receives the bundled Noto Sans SC fallback before the page
    pixels are passed to OCR.
  • Bundle the checksum-pinned fallback font and its OFL license in every
    supported native package.
  • Keep installation and runtime self-contained: no postinstall download,
    system-font requirement, GitHub access, or local native compilation.
  • Preserve the existing image, PDF, and multi-page APIs without schema changes.
  • Add about 7.23 MB compressed and 8.34 MB unpacked to the one native package
    selected for the current platform.

Install

npm install @arcships/light-ocr@0.5.6

Versions and tags

  • @arcships/light-ocr@0.5.6, runtime 0.1.6, and all six native packages
    are available on both latest and next.
  • Document compatibility facade 0.1.2 remains on next.
  • Tiny and Medium preview facades 0.1.5 remain on next.
  • Model packages are unchanged: Small 0.3.4, Tiny 0.1.0, Medium 0.1.0.

Verification