When using text2image for training, I get the error:
 

$ text2image --text=charset.txt 
--outputbase=[eng].[HeroicCondensedBoldRegular].exp0 --font='Heroic 
Condensed Bold Regular' --fonts_dir=.


(process:29818): Pango-WARNING **: couldn't load font "Heroic Bold 
Condensed", modified variant/weight/stretch as fallback, expect ugly output.

Could not find font named Heroic Condensed Bold Regular.

Pango suggested font Helvetica.

Please correct --font arg.

The font is *Heroic Condensed Bold Regular*
At least, that's the full name that MacOS returns when I get info on the 
font.

What's wrong here? Am I naming the font incorrectly?

I'm following this documentation:
https://github.com/tesseract-ocr/tesseract/wiki/Training-Tesseract#questions-about-the-training-process

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/56836dc3-edd2-4712-b2a8-e69c8c478a0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to