public class DefaultFontProvider
extends com.itextpdf.layout.font.FontProvider
FontProvider
for pdfHTML, that, as opposed to the font provider in iText 7, also includes a series of fonts that are shipped with the add-on.
Constructor and Description |
---|
DefaultFontProvider()
Creates a new DefaultFontProvider instance.
|
DefaultFontProvider(boolean registerStandardPdfFonts, boolean registerShippedFreeFonts, boolean registerSystemFonts)
Creates a new DefaultFontProvider instance.
|
addDirectory, addFont, addFont, addFont, addFont, addFont, addFont, addStandardPdfFonts, addSystemFonts, createFontSelector, getDefaultCacheFlag, getDefaultEmbeddingFlag, getDefaultEncoding, getFontSelector, getFontSelector, getFontSet, getPdfFont, getPdfFont, getStrategy, getStrategy, getStrategy
public DefaultFontProvider()
DefaultFontProvider
instance.
public DefaultFontProvider(boolean registerStandardPdfFonts, boolean registerShippedFreeFonts, boolean registerSystemFonts)
DefaultFontProvider
instance.
registerStandardPdfFonts
- use true if you want to register the standard Type 1 fonts (can't be embedded)
registerShippedFreeFonts
- use true if you want to register the shipped fonts (can be embedded)
registerSystemFonts
- use true if you want to register the system fonts (can require quite some resources)
Copyright © 1998–2019 iText Group NV. All rights reserved.