signintech / gopdf

A simple library for generating PDF written in Go lang
MIT License
2.52k stars 269 forks source link

Reading pdf plain text #184

Open hasanAjsf opened 3 years ago

hasanAjsf commented 3 years ago

How can I read pdf plain text with this package?

anatol commented 1 year ago

I have the same question. Is this library suitable for reading/parsing existing pdf files?

tim-timpani commented 1 year ago

Seems to be an inactive project. I had similar questions around reading PDF files. Anyone stumbling across this project may want to go elsewhere or create your own fork as I see several others have. There is a substantial amount of code for reading PDF in one of the imported modules github.com/phpdave11/gofpdi/reader.go but sadly most of it is not exported. If you are adventurous, you may want to fork that project as well as that one hasn't been updated in a couple years.

vantaboard commented 3 months ago

If someone could provide an example of a PDF they would like to open and what their expectation is, I can troubleshoot this issue. If not, please close it.