Skip to content

Commit fd429c3

Browse files
jbreidenjimregan
authored andcommitted
PDF creation: not disabling tessedit_create_txt
Okay, everything is more of less under control except for this: tesseract phototest.tif - pdf > phototest.pdf This is sending activating both the text renderer, and the pdf renderer. They both get sent to stdout where they mix together and cause chaos. Same thing happens with this command. tesseract phototest.tif stdout pdf > phototest.pdf What's happening is tesseractmain.cpp is setting tessedit_create_pdf without disabling tessedit_create_txt. https://groups.google.com/d/msgid/tesseract-dev/32c065ee-aefa-441a-b37b-b6bdc234c8ab%40googlegroups.com
1 parent 228317c commit fd429c3

File tree

1 file changed

+1
-0
lines changed
  • tessdata/configs

1 file changed

+1
-0
lines changed

tessdata/configs/pdf

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
tessedit_create_txt 0
12
tessedit_create_pdf 1
23
tessedit_pageseg_mode 1

0 commit comments

Comments
 (0)