iText 9.8.0 API
iText.IO.Font.FontProgramDescriptor Class Reference

Base font descriptor. More...

Public Member Functions

virtual String  GetFontName ()
  Gets the font name. More...
 
virtual String  GetStyle ()
  Gets the style name. More...
 
virtual int  GetFontWeight ()
  Gets the font weight. More...
 
virtual float  GetItalicAngle ()
  Gets the italic angle. More...
 
virtual bool  IsMonospace ()
  Checks whether the font is fixed pitch. More...
 
virtual bool  IsBold ()
  Checks whether the Macintosh style flags declare bold. More...
 
virtual bool  IsItalic ()
  Checks whether the Macintosh style flags declare italic. More...
 
virtual String  GetFullNameLowerCase ()
  Gets the lowercase full font name used for case-insensitive matching. More...
 
virtual String  GetFontNameLowerCase ()
  Gets the lowercase name used for case-insensitive matching. More...
 
virtual String  GetFamilyNameLowerCase ()
  Gets the lowercase preferred family name used for matching. More...
 
virtual String  GetFamilyName2LowerCase ()
  Get extra family name if exists. More...
 
virtual ICollection< String >  GetFullNameAllLangs ()
  Gets lowercase full names from every available localization. More...
 
virtual ICollection< String >  GetFullNamesEnglishOpenType ()
  Gets full names from supported English OpenType naming records. More...
 

Detailed Description

Base font descriptor.

Member Function Documentation

◆ GetFamilyName2LowerCase()

virtual String iText.IO.Font.FontProgramDescriptor.GetFamilyName2LowerCase ( )
inlinevirtual

Get extra family name if exists.

Returns
extra family name if exists in the font, null otherwise.

◆ GetFamilyNameLowerCase()

virtual String iText.IO.Font.FontProgramDescriptor.GetFamilyNameLowerCase ( )
inlinevirtual

Gets the lowercase preferred family name used for matching.

Returns
lowercase family name, or null when absent

◆ GetFontName()

virtual String iText.IO.Font.FontProgramDescriptor.GetFontName ( )
inlinevirtual

Gets the font name.

Returns
font name

◆ GetFontNameLowerCase()

virtual String iText.IO.Font.FontProgramDescriptor.GetFontNameLowerCase ( )
inlinevirtual

Gets the lowercase name used for case-insensitive matching.

Returns
lowercase font name

◆ GetFontWeight()

virtual int iText.IO.Font.FontProgramDescriptor.GetFontWeight ( )
inlinevirtual

Gets the font weight.

Returns
normalized font weight

◆ GetFullNameAllLangs()

virtual ICollection iText.IO.Font.FontProgramDescriptor.GetFullNameAllLangs ( )
inlinevirtual

Gets lowercase full names from every available localization.

Returns
internally retained set of localized full names

◆ GetFullNameLowerCase()

virtual String iText.IO.Font.FontProgramDescriptor.GetFullNameLowerCase ( )
inlinevirtual

Gets the lowercase full font name used for case-insensitive matching.

Returns
lowercase full name

◆ GetFullNamesEnglishOpenType()

virtual ICollection iText.IO.Font.FontProgramDescriptor.GetFullNamesEnglishOpenType ( )
inlinevirtual

Gets full names from supported English OpenType naming records.

Returns
internally retained set of matching full names

◆ GetItalicAngle()

virtual float iText.IO.Font.FontProgramDescriptor.GetItalicAngle ( )
inlinevirtual

Gets the italic angle.

Returns
counterclockwise degrees from vertical

◆ GetStyle()

virtual String iText.IO.Font.FontProgramDescriptor.GetStyle ( )
inlinevirtual

Gets the style name.

Returns
style string

◆ IsBold()

virtual bool iText.IO.Font.FontProgramDescriptor.IsBold ( )
inlinevirtual

Checks whether the Macintosh style flags declare bold.

Returns

true when bold is declared

◆ IsItalic()

virtual bool iText.IO.Font.FontProgramDescriptor.IsItalic ( )
inlinevirtual

Checks whether the Macintosh style flags declare italic.

Returns

true when italic is declared

◆ IsMonospace()

virtual bool iText.IO.Font.FontProgramDescriptor.IsMonospace ( )
inlinevirtual

Checks whether the font is fixed pitch.

Returns

true for a monospaced font