jrmuizel / pdf-extract

A rust library for extracting content from pdfs
368 stars 75 forks source link

Changed the panic for a empty value #25

Open victorinno opened 3 years ago

victorinno commented 3 years ago

As we want to see the text if the mask is not found I just used None for them, this way we can see the text and not panic the application.

joepio commented 1 year ago

Would be great if this could be merged! The panic makes reading some pdfs impossible.