raw=False argument not working in latest version
surazgyawali opened this issue · comments
Suraj Gyawali commented
Jason Alan Palmer commented
The default layout has changed in version 2.2.0 to match what poppler recommends. You now have three choices:
pdftotext.PDF(f)
: default layoutpdftotext.PDF(f, physical=True)
: physical layout, which looks to be what you wantpdftotext.PDF(f, raw=True)
: raw layout
By the way, there is never a need to pass raw=False
or physical=False
, since those are the defaults.
Suraj Gyawali commented
Oh, got it, my bad, tried to look up for the changes too wasn't careful enough to find it ( ashamed ), Thank you for the reply.