diff --git a/src/api/renderer.h b/src/api/renderer.h index e6c1ad5c23..e06ee81e1e 100644 --- a/src/api/renderer.h +++ b/src/api/renderer.h @@ -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();