Closed rmtheis closed 9 years ago
To fix this, the pdf.ttf file from tesseract's tessdata directory must be present in the device's tessdata directory.
There is a pdf.ttf file and a pdf.ttx file. Do I need both or only pdf.ttf?
Using only pdf.ttf seems to always work for me, but you might want to ask on the Tesseract mailing list to be sure.
Thanks for your reaction! Already used only pdf.ttf since pdfrenderer is only referencing that one in the source.
However I got the error "Expected a name object" in Adobe Reader. I read somewhere that this could be due to wrong fonts. Therefore I was wondering about that file.
@rmtheis Have you ever got "There was a problem reading this document (18)" and by pressing ctrl - OK "Expected a name object"?
Hmm, no. Could be a bug in Tesseract.
Yeah I think so. If I can't fix it I will create an issue at tesseract-ocr. Thanks.
Error when opening a PDF generated with tess-two using Adobe Reader 11: