dealfonso / sapp

Simple and Agnostic PDF Document Parser in PHP - sign PDF docs using PHP
GNU Lesser General Public License v3.0
115 stars 30 forks source link

Error on read some PDF:Invalid string #10

Closed lemsn closed 2 years ago

lemsn commented 2 years ago

Hello Carlos!

图片

Examples follows attaching : TestPDF.pdf

dealfonso commented 2 years ago

Hi,

comit #c767544a6de84313fb9ebcbf3df9e6ce7670b16e seems to correct this bug.

Thank you for reporting!

lemsn commented 2 years ago

Very good. Thank you for your contribution.

The following are the results of my tests:

The previous file can be read, but there is still a problem, some files are still not read properly, Can you revert to the previous version?

image

attaching :

94cfd0d2-4523-49e3-887b-b10bfd440b50.pdf

dealfonso commented 2 years ago

Hi,

a bit late, but corrected the support for escaped parenthesis in commit 2e4d2d72fb4b41026e8093b9e9fd8cc990fa43e4