Cannot convert a block padded by 4 'u' characters. (Parameter 'index') #782
Labels
bug
document-reading
Related to reading documents
no-document
Indicates no sample document attached to issue
When parsing a 5-page PDF file, I am getting the error "Cannot convert a block padded by 4 'u' characters. (Parameter 'index')".
I used PDFill free tools to split the PDF into 5 separate files, and then the parsing worked fine (same code).
I am creating a PDFDocument with PdfDocument.Open(pdfFileName); then getting each page in a loop with document.GetPage(i + 1); and then looping over each word with page.GetWords(); I am also using the boundingBox property of each word.
Could it be related to #548 ?
The text was updated successfully, but these errors were encountered: