yob / pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
MIT License
1.81k stars 271 forks source link

Reading checkbox with PDF-reader #363

Closed afaheyguideline closed 3 years ago

afaheyguideline commented 3 years ago

I am using PDF-reader to search through a PDF and assert a checked checkbox. There are times the checked checkbox will be see with PDF-reader and other times the check is not seen. I have added an example file of the type of checkbox we are trying to verify. Any ideas on how we can see the checked checkbox consistently?

test_multiple_page_checkboxes copy_flattened.pdf

afaheyguideline commented 3 years ago

I was able to get the checks and checkboxes to work with gem pdftotext.