openclaw/extensions/document-extract
JC 83753535eb
fix(pdf): resolve standard fonts from pdfjs package root (#70936)
* fix(pdf): resolve standard fonts from pdfjs package root

Resolve PDF.js standard fonts via pdfjs-dist/package.json instead of a
relative ../../node_modules path so the fallback renderer does not depend
on emitted dist chunk layout.

Add focused regression coverage that asserts the forwarded
standardFontDataUrl matches the installed pdfjs-dist package root and
exists on disk.

* fix(pdf): resolve pdfjs standard fonts from package root

* fix(pdf): use PDF.js font URL separator

---------

Co-authored-by: Dr JCai <jingxiao.cai@gmail.com>
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-30 00:38:48 -07:00
..
document-extractor.test.ts fix(pdf): resolve standard fonts from pdfjs package root (#70936) 2026-04-30 00:38:48 -07:00
document-extractor.ts fix(pdf): resolve standard fonts from pdfjs package root (#70936) 2026-04-30 00:38:48 -07:00
index.ts refactor(pdf): move document extraction to plugin 2026-04-24 17:15:05 -07:00
openclaw.plugin.json perf: mark capability plugins startup lazy 2026-04-28 04:33:47 +01:00
package.json chore: update dependencies 2026-04-29 22:42:45 +01:00