Hi,

We are trying to understand the major font used in an FRPage object.

We have two questions regarding the FontStyle object: 1- How many different fonts can charParams.FontName return? 2- Could different font styles Verdana, Calibri, Tahoma etc. all return as Arial Font? We are curious on, how and why (most of the time) the different fonts are mapped to Arial and Times New Roman. Can we rely on FontName information, what is the accuracy and precision.

Thanks, ps. We are using FREngine version 10.

asked 07 Feb '14, 12:23

cbekar's gravatar image

cbekar
214

edited 07 Feb '14, 13:41


  1. ICharParams::FontName stores the name of the font for a character. It can return one font.
  2. By default, FREngine uses limited set of fonts: Times New Roman, Arial and Courier. To enlarge the list of the fonts for FREngine please use the method ISynthesisParamsForDocument::AddRecognizedTextFontName().

If you have any additional questions please send the detailed description of your issue to ABBYY support team. The contact details can be found here: http://knowledgebase.ocrsdk.com/article/1397.

link

answered 07 Feb '14, 13:11

Julia%20Anikushina's gravatar image

Julia Anikus... ♦♦
3628

Hi Julia, Thanks for the quick response.

How can I add another font, what inputs should I give to AddRecognizedTextFontName()?

Here are the synthesis documents parameters I'm currently using but it didn't work for Verdana's case:

var synParamsDoc = corpus.Engine.CreateSynthesisParamsForDocument(); synParamsDoc.AdjustRecognizedTextFonts = true; synParamsDoc.AddRecognizedTextFontName("Verdana");

Also, we have another issue where a full page with Courier font is actually recognized as Arial font.

(07 Feb '14, 14:01) cbekar

For further investigation could you please send us input images? The contact details can be found here: http://knowledgebase.ocrsdk.com/article/1397.

(07 Feb '14, 14:18) Julia Anikus... ♦♦

Cool! How to do that in Java API? :)
// Because there is no method AddRecognizedTextFontName in ISynthesisParamsForDocument
// It's all about this question http://forum.ocrsdk.com/questions/4733/font-recognition

(07 Aug '15, 15:58) Zmiter

Please use the FontSet object (SynthesisParamsForDocument::FontSet) to enlarge the list of the fonts in the FineReader Engine 11. For more information please refer to Help→API Reference→Parameter Objects→Preprocessing, analysis, recognition, and synthesis parameters→FontSet Object.

(07 Aug '15, 17:44) Anna Falevskaya ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×11
×6
×5

Asked: 07 Feb '14, 12:23

Seen: 1,027 times

Last updated: 07 Aug '15, 17:44

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal