mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-28 05:39:35 +08:00
Merge pull request #2966 from robinwatts/pushback2
This commit is contained in:
commit
064b4403de
@ -12,7 +12,11 @@ class DebugPixa {
|
||||
// TODO(rays) add another constructor with size control.
|
||||
DebugPixa() {
|
||||
pixa_ = pixaCreate(0);
|
||||
#ifdef TESSERACT_DISABLE_DEBUG_FONTS
|
||||
fonts_ = NULL;
|
||||
#else
|
||||
fonts_ = bmfCreate(nullptr, 14);
|
||||
#endif
|
||||
}
|
||||
// If the filename_ has been set and there are any debug images, they are
|
||||
// written to the set filename_.
|
||||
|
Loading…
Reference in New Issue
Block a user