Get font name using Java SDK

  • Last Post 06 August 2015
Zmiter posted this 06 August 2015

How can I get font name of recognized text using Java SDK? (Not cloud - local version)

Order By: Standard | Newest | Votes
Oksana S. posted this 06 August 2015

It is not possible to get the font name using ABBYY Cloud OCR SDK. Please vote for the feature request: Hope it will be implemented in future.

However, you can try another our SDK - ABBYY FineReader Engine 11 which allows to access the recognized text and get information about a character position, formatting, font attributes, etc. For trial version of ABBYY FineReader Engine, please fill the form at our site.

Zmiter posted this 06 August 2015

I meant local SDK, not cloud version :) Actually I've found one approach and it looks pretty much like this

ICharParams charParams = engine.CreateCharParams();

document.getPages().getElement(0) .getPageStructure().getPageSections().getElement(0) .getMainText().getPageStream().getPageElements().getElement(0) .GetAsText().getParagraphs().getElement(0) .GetCharParams(0, charParams);