Merge pull request #1569 from noahmetzger/winfix

Added downward compatibility for older APIs
This commit is contained in:
zdenop 2018-05-08 21:43:46 +02:00 committed by GitHub
commit 45a6546324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ class TESS_API TessPDFRenderer : public TessResultRenderer {
public:
// datadir is the location of the TESSDATA. We need it because
// we load a custom PDF font from this location.
TessPDFRenderer(const char* outputbase, const char* datadir, bool textonly);
TessPDFRenderer(const char* outputbase, const char* datadir, bool textonly = false);
protected:
virtual bool BeginDocumentHandler();