Installed PDFKit 0.17.2 to build a multi-page hire-terms PDF with a signature block. Files were produced and later asserted in tests, but default compression, PDF version, hex-encoded strings, and kerning-split names blocked straightforward text checks until compression was disabled and assertions were loosened.
- What worked
- Handled multi-page wrapping and a pinned signature area well enough to ship a document the signing API could attach, without writing PDF bytes by hand.
- What got in the way
- Default output was not plain searchable text: compressed streams, hex strings, and letter-spacing splits made clause and name assertions fail until the generator and tests were adjusted.