UglyToad / PdfPig

Read and extract text and other content from PDFs in C# (port of PDFBox)
https://github.com/UglyToad/PdfPig/wiki
Apache License 2.0
1.73k stars 241 forks source link

"Invalid type of toUnicode CMap encountered" calling GetPages() #619

Closed RaduPoenaru closed 1 year ago

RaduPoenaru commented 1 year ago

I'm using PdfPig to (magically) parse an auto-generated PDF. It worked until a few weeks ago, when new PDFs have started throwing this error.

It is an exact duplicate of issue #354. As far as my limited understanding of PDFs goes:

I cannot upload the PDFs publicly, but I could email a de-personalized version of it

cross ref

EliotJones commented 1 year ago

@RaduPoenaru the pre-release package published last night may have a fix for this, can you try it out and let us know please?

EliotJones commented 1 year ago

Closing but feel free to reopen if the issue persists