com.groupdocs.viewer.fonts

The package provides classes and enumerations to manage fonts used during the rendering process.

The main classes and interfaces in this package are:

  • FolderFontSource - Represents a folder that contains TrueType fonts.
  • FontSettings - Provides methods for working with sources to look for TrueType fonts.
  • FontSource - Marker interface for the font sources.

For more details on working with fonts in GroupDocs.Viewer, please refer to the GroupDocs.Viewer Documentation.

Classes

Class Description
FolderFontSource Represents a folder that contains TrueType fonts.
FontFormat Represents all font formats, which may be present in the UsedFontInfo class.
FontSettings Provides methods for working with sources to look for TrueType fonts.
FontStyles Represents 4 possible styles of the font, used in the document: Regular, Bold, Italic, or Bold Italic.
PdfFontInfo Encapsulates meta-information and binary data of one font from a PDF document, loaded into the Viewer instance.
PresentationFontInfo Encapsulates metadata and binary data of a font used in a Presentation document, loaded into the Viewer instance.
SpreadsheetFontInfo Encapsulates metainfo and binary data of one font from the Spreadsheet document, loaded into the Viewer instance.
WordProcessingFontInfo Encapsulates metainfo and binary data of one font from the WordProcessing document, loaded into the Viewer instance.
WordProcessingSubstitutedFontInfo Encapsulates metadata and binary data of one substituted font used in a WordProcessing document via GroupDocs.Viewer.

Interfaces

Interface Description
FontSource Marker interface for the font sources.
IFontInfo Common interface for all fonts that can be extracted from document formats: PDF, WordProcessing, Spreadsheet, and Presentation.

Enumerations

Enum Description
SearchOption Specifies whether to search the current folder, or the current folder and all subfolders.