smalot/pdfparser

Class PDFDocEncoding does not extend AbstractEncoding

SaschaScholly opened this issue · 2 comments

Class PDFDocEncoding does not extend AbstractEncoding and therefore method getTranslations is missing.

For some Files that leads to an Fatal Error.

Thanks for the report, I will look into that soon-ish (hopefully until end of next week).

Class PDFDocEncoding has no getTranslations() function (it would be empty) so I think there would still be an error. PDFDocEncoding shouldn't be used anywhere in a getTranslations fashion afaik. Can you provide a sample PDF where this error occurs?

A getTranslations() function can probably be added if necessary.