Skip to content

fix(deps): update smalot/pdfparser to 2.13.1 - #110

Merged
vitormattos merged 1 commit into
mainfrom
fix/pdfparser-2.13.1-main
Oct 23, 2026
Merged

vitormattos merged 1 commit into
mainfrom
fix/pdfparser-2.13.1-main

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Related to LibreSign/libresign#7706 and LibreSign/libresign#3949.

Updates only smalot/pdfparser from 2.12.5 to 2.13.1 with Composer and regenerates the scoped files using the repository's documented PHP-Scoper procedure. The existing Composer version constraint is unchanged.

Regression evidence: With 2.12.5, both upstream sample PDFs (#701, inline Header; #822, indirect PDFObject) throw during Font::getDetails(). With 2.13.1, both parse and expose font details successfully. A normal PDF also passes (PHP 8.3). composer validate and git diff --check pass; no other locked package version changed.

The original HTTP 422 request was not reproduced end to end; the exact underlying parser exception was reproduced. CI and integration review are pending.

Handle PDF font Encoding dictionaries represented by Header or PDFObject.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant