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, reset
public 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
instance
defaultFontFamily
- font family
public String getDefaultFontFamily()
getDefaultFontFamily
in class com.itextpdf.layout.font.FontProvider
Copyright © 1998–2022 iText Group NV. All rights reserved.