public class PdfOcrFontProvider
extends com.itextpdf.layout.font.FontProvider
FontProvider extension for ocr engine.| Constructor and Description |
|---|
PdfOcrFontProvider()
Creates a new
PdfOcrFontProvider instance with the default font
and the default font family. |
PdfOcrFontProvider(com.itextpdf.layout.font.FontSet fontSet,
String defaultFontFamily)
Creates a new
PdfOcrFontProvider instance based on provided FontSet instance and font family. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultFontFamily()
Gets default font family.
|
addDirectory, addFont, addFont, addFont, addFont, addFont, addFont, addFont, addFont, addFont, addStandardPdfFonts, addSystemFonts, createFontSelector, getDefaultCacheFlag, getDefaultEmbeddingFlag, getDefaultEncoding, getFontSelector, getFontSelector, getFontSet, getPdfFont, getPdfFont, getStrategy, getStrategy, getStrategy, resetpublic PdfOcrFontProvider()
PdfOcrFontProvider instance with the default font
and the default font family.public PdfOcrFontProvider(com.itextpdf.layout.font.FontSet fontSet,
String defaultFontFamily)
PdfOcrFontProvider instance based on provided FontSet instance and font family.fontSet - FontSet instancedefaultFontFamily - font familypublic String getDefaultFontFamily()
getDefaultFontFamily in class com.itextpdf.layout.font.FontProviderCopyright © 1998–2024 Apryse Group NV. All rights reserved.