Aspose::Words::Fonts Namespace Reference

Classes

class  DefaultFontSubstitutionRule
 Default font substitution rule. More...
 
class  FileFontSource
 Represents the single TrueType font file stored in the file system. More...
 
class  FolderFontSource
 Represents the folder that contains TrueType font files. More...
 
class  FontConfigSubstitutionRule
 Font config substitution rule. More...
 
class  FontFallbackSettings
 Specifies font fallback mechanism settings. More...
 
class  FontInfo
 Specifies information about a font used in the document. More...
 
class  FontInfoCollection
 Represents a collection of fonts used in a document. More...
 
class  FontInfoSubstitutionRule
 Font info substitution rule. More...
 
class  FontSettings
 Specifies font settings for a document. More...
 
class  FontSourceBase
 This is an abstract base class for the classes that allow the user to specify various font sources. More...
 
class  FontSubstitutionRule
 This is an abstract base class for the font substitution rule. More...
 
class  FontSubstitutionSettings
 Specifies font substitution mechanism settings. More...
 
class  MemoryFontSource
 Represents the single TrueType font file stored in memory. More...
 
class  PhysicalFontInfo
 Specifies information about physical font available to Aspose.Words font engine. More...
 
class  SystemFontSource
 Represents all TrueType fonts installed to the system. More...
 
class  TableSubstitutionRule
 Table font substitution rule. More...
 

Enumerations

enum  EmbeddedFontFormat { EmbeddedFontFormat::EmbeddedOpenType, EmbeddedFontFormat::OpenType }
 
enum  EmbeddedFontStyle { EmbeddedFontStyle::Regular = 0, EmbeddedFontStyle::Bold = 1, EmbeddedFontStyle::Italic = 2, EmbeddedFontStyle::BoldItalic = 3 }
 Specifies the style of an embedded font inside a Aspose::Words::Fonts::FontInfo object. More...
 
enum  FontFamily {
  FontFamily::Auto = 0, FontFamily::Roman = 1, FontFamily::Swiss = 2, FontFamily::Modern = 3,
  FontFamily::Script = 4, FontFamily::Decorative = 5
}
 Represents the font family. More...
 
enum  FontPitch { FontPitch::Default = 0, FontPitch::Fixed = 1, FontPitch::Variable = 2 }
 Represents the font pitch. More...
 
enum  FontSourceType { FontSourceType::FontFile, FontSourceType::FontsFolder, FontSourceType::MemoryFont, FontSourceType::SystemFonts }
 Specifies the type of a font source. More...
 

Enumeration Type Documentation

◆ EmbeddedFontFormat

Specifies format of particular embedded font inside Aspose::Words::Fonts::FontInfo object.

When saving a document to a file, only embedded fonts of corresponding format are written down.

Enumerator
EmbeddedOpenType 

Specifies Embedded OpenType (EOT) File Format.

This format of embedded fonts used in DOC files.

See http://www.w3.org/Submission/EOT for description of the format.

OpenType 

Specifies font, embedded as plain copy of OpenType (TrueType) font file.

This format of embedded fonts used in Open Office XML format, including DOCX files.

◆ EmbeddedFontStyle

Specifies the style of an embedded font inside a Aspose::Words::Fonts::FontInfo object.

Enumerator
Regular 

Specifies the Regular embedded font.

Bold 

Specifies the Bold embedded font.

Italic 

Specifies the Italic embedded font.

BoldItalic 

Specifies the Bold-Italic embedded font.

◆ FontFamily

Represents the font family.

A font family is a set of fonts having common stroke width and serif characteristics.

Enumerator
Auto 

Specifies a generic family name. This name is used when information about a font does not exist or does not matter. The default font is used.

Roman 

Specifies a proportional font with serifs. An example is Times New Roman.

Swiss 

Specifies a proportional font without serifs. An example is Arial.

Modern 

Specifies a monospace font with or without serifs. Monospace fonts are usually modern; examples include Pica, Elite, and Courier New.

Script 

Specifies a font that is designed to look like handwriting; examples include Script and Cursive.

Decorative 

Specifies a novelty font. An example is Old English.

◆ FontPitch

Represents the font pitch.

The pitch indicates if the font is fixed pitch, proportionally spaced, or relies on a default setting.

Enumerator
Default 

Specifies that no information is available about the pitch of a font.

Fixed 

Specifies that this is a fixed width font.

Variable 

Specifies that this is a proportional width font.

◆ FontSourceType

Specifies the type of a font source.

Enumerator
FontFile 

A Aspose::Words::Fonts::FileFontSource object that represents single font file.

FontsFolder 

A Aspose::Words::Fonts::FolderFontSource object that represents folder with font files.

MemoryFont 

A Aspose::Words::Fonts::MemoryFontSource object that represents single font in memory.

SystemFonts 

A Aspose::Words::Fonts::SystemFontSource object that represents all fonts installed to the system.