Skip to content

About @pdfa-lab/core ​

The TypeScript library @pdfa-lab/core is a supplement to @cantoo/pdf-lib that adds PDF/A functionality. While the preferred pdf-lib implementation is the actively maintained fork @cantoo/pdf-lib by cantoo, it should also work with the original pdf-lib, which is currently unmaintained.

Features ​

  • Supports upgrading of PDF documents to PDF/A (work in progress).
  • Get information about all fonts (embedded and external) used in a PDF.
  • Extract text from a PDF.
  • Embed external fonts into PDFs as subsets.

About This Documentation ​

This documentation is a work in progress, and your contributions are highly welcome! If you spot any factual errors, notice missing sections, or have ideas for stylistic improvements, please feel free to open an issue or submit a pull request directly to the pdfa-lab GitHub repository.