pdfHTML 2.1.6 API
iText.Html2pdf.Resolver.Font.DefaultFontProvider Class Reference

The default iText.StyledXmlParser.Resolver.Font.BasicFontProvider for pdfHTML, that, as opposed to the font provider in iText 7's styled-xml-parser, also includes a series of fonts that are shipped with the add-on. More...

Inheritance diagram for iText.Html2pdf.Resolver.Font.DefaultFontProvider:

Public Member Functions

 DefaultFontProvider ()
 Creates a new DefaultFontProvider instance. More...
 
 DefaultFontProvider (bool registerStandardPdfFonts, bool registerShippedFreeFonts, bool registerSystemFonts)
 Creates a new DefaultFontProvider instance. More...
 
 DefaultFontProvider (bool registerStandardPdfFonts, bool registerShippedFreeFonts, bool registerSystemFonts, String defaultFontFamily)
 Creates a new DefaultFontProvider instance. More...
 

Detailed Description

The default iText.StyledXmlParser.Resolver.Font.BasicFontProvider for pdfHTML, that, as opposed to the font provider in iText 7's styled-xml-parser, also includes a series of fonts that are shipped with the add-on.

Constructor & Destructor Documentation

◆ DefaultFontProvider() [1/3]

iText.Html2pdf.Resolver.Font.DefaultFontProvider.DefaultFontProvider ( )
inline

Creates a new DefaultFontProvider instance.

◆ DefaultFontProvider() [2/3]

iText.Html2pdf.Resolver.Font.DefaultFontProvider.DefaultFontProvider ( bool  registerStandardPdfFonts,
bool  registerShippedFreeFonts,
bool  registerSystemFonts 
)
inline

Creates a new DefaultFontProvider instance.

Parameters
registerStandardPdfFontsuse true if you want to register the standard Type 1 fonts (can't be embedded)
registerShippedFreeFontsuse true if you want to register the shipped fonts (can be embedded)
registerSystemFontsuse true if you want to register the system fonts (can require quite some resources)

◆ DefaultFontProvider() [3/3]

iText.Html2pdf.Resolver.Font.DefaultFontProvider.DefaultFontProvider ( bool  registerStandardPdfFonts,
bool  registerShippedFreeFonts,
bool  registerSystemFonts,
String  defaultFontFamily 
)
inline

Creates a new DefaultFontProvider instance.

Parameters
registerStandardPdfFontsuse true if you want to register the standard Type 1 fonts (can't be embedded)
registerShippedFreeFontsuse true if you want to register the shipped fonts (can be embedded)
registerSystemFontsuse true if you want to register the system fonts (can require quite some resources)
defaultFontFamilydefault font family