Replace dynamic require.resolve lookup with direct path construction to standard_fonts directory under node_modules. Removes use of createRequire and streamlines runtime font path resolution logic for PDF parsing. |
||
|---|---|---|
| .. | ||
| assets | ||
| merge.ts | ||
| model.ts | ||
| normalize-text.ts | ||
| parse.ts | ||
| pdfjs-runtime.ts | ||
| render.ts | ||
| runLayoutModel.ts | ||
| stitch.ts | ||
| types.ts | ||