Hi

I am working windows Tesseract 

I am using following code to get the font name 

const char* m_WordType = 
ri->WordFontAttributes(&is_bold,&is_italic,&is_underlined,&is_monospace,&is_serif,&is_smallcaps,&pointsize,&font_id);

the output  i got from above line is "Verdana_Bold"

But actual font name is "Verdanab" in windows. How can i map the fonts from 
"Verdana_Bold" to "Verdanab".

Similar to "Trebuchet_MS_Bold" -> "trebucbd" and so on.

Any generic method to resolve the issue.

Kindly do the needful.


Regards
Guna

-- 
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 http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/cad42dd3-85b5-4e3e-8c8a-abd2c6bde4fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to