How achieve pdf with visible font-type for Textonly_pdf

142 views
Skip to first unread message

Saddam Quraishi

unread,
Jun 29, 2021, 9:02:25 AM6/29/21
to tesseract-ocr
Hi all,

I am using tesseract 5.0.
I am able create a pdf as image on text, using below command.
>"tesseract image.tif outpdf -l eng pdf"

But, I want a text only pdf without image on text.
I am able to create a pdf with text only with below command.
>"tesseract image.tif outpdf -l eng -c textonly_pdf=1 pdf"

But, Here created pdf file font-type is invisible and font-family style is GlyphLessFont.

I want change this font-type as visible and proper font-family style.

How can we achieve above using tesseract.

Thanks in advance,
Saddam
Reply all
Reply to author
Forward
0 new messages