
Problems @cantoo/pdf-lib solves
All 16 problems from @cantoo/pdf-lib's listing.
- pdf-lib hasn't had a release since 2021 and the bug I hit was fixed in a pull request nobody merged
- open a password-protected PDF in Node, change it and save it again
- encrypt a generated PDF with a password and permissions from JavaScript
- append changes to a PDF as an incremental update so earlier signatures stay intact
- draw a whole SVG file onto a PDF page from JavaScript, not just a single path
- after flattening a form, some widgets are still editable because they aren't in the AcroForm fields list
- loading and saving an XFA government form in JavaScript throws away its XFA data
- read or change the JavaScript inside an XFA form
- create a PDF/A-3 file in the browser or Node
- embed a Factur-X or ZUGFeRD XML invoice into a PDF from TypeScript
- pull the images and text out of a PDF page's content stream in JavaScript
- show or hide PDF layers (optional content groups) from code
- a truncated PDF makes my JavaScript PDF library throw instead of opening what's there
- attach files to a PDF and extract or remove existing attachments in JavaScript
- embed one face from a .ttc font collection into a PDF
- add letter spacing to text drawn on a PDF page