iText 9.5.0 API
iText.IO.Font.CFFFont.Font Class Reference

Represents font contained by the CFF font in a FontSet. More...

Public Member Functions

String  GetName ()
  Retrieves the name of the font. More...
 
void  SetName (String name)
  Sets the name of the font. More...
 
String  GetFullName ()
  Retrieves the full name of the font. More...
 
void  SetFullName (String fullName)
  Sets the full name of the font. More...
 
bool  IsCID ()
  Retrieves whether the font is a CID font. More...
 
void  SetCID (bool CID)
  Sets if font is CID font. More...
 
int  GetPrivateOffset ()
  Retrieves the private offset of the font. More...
 
void  SetPrivateOffset (int privateOffset)
  Sets the private offset of the font. More...
 
int  GetPrivateLength ()
  Retrieves the private length of the font. More...
 
void  SetPrivateLength (int privateLength)
  Sets the private length of the font. More...
 
int  GetPrivateSubrs ()
  Retrieves the private subrs of the font. More...
 
void  SetPrivateSubrs (int privateSubrs)
  Sets the private subrs of the font. More...
 
int  GetCharstringsOffset ()
  Retrieves the char string offset of the font. More...
 
void  SetCharstringsOffset (int charstringsOffset)
  Sets the char string offset of the font. More...
 
int  GetEncodingOffset ()
  Retrieves the encoding offset of the font. More...
 
void  SetEncodingOffset (int encodingOffset)
  Sets the encoding offset of the font. More...
 
int  GetCharsetOffset ()
  Retrieves the charset offset of the font. More...
 
void  SetCharsetOffset (int charsetOffset)
  Sets the charset offset of the font. More...
 
int  GetFdarrayOffset ()
  Retrieves the font dictionary array offset of the object. More...
 
void  SetFdarrayOffset (int fdarrayOffset)
  Sets the font dictionary array offset of the object. More...
 
int  GetFdselectOffset ()
  Retrieves the font dictionary select offset of the object. More...
 
void  SetFdselectOffset (int fdselectOffset)
  Sets the font dictionary select offset of the object. More...
 
int[]  GetFdprivateOffsets ()
  Retrieves the font dictionary private offsets of the object. More...
 
void  SetFdprivateOffsets (int[] fdprivateOffsets)
  Sets the font dictionary private offsets of the object. More...
 
int[]  GetFdprivateLengths ()
  Retrieves the font dictionary private lengths of the object. More...
 
void  SetFdprivateLengths (int[] fdprivateLengths)
  Sets the font dictionary private lengths of the object. More...
 
int[]  GetFdprivateSubrs ()
  Retrieves the font dictionary private subrs of the object. More...
 
void  SetFdprivateSubrs (int[] fdprivateSubrs)
  Sets the font dictionary private subrs of the object. More...
 
int  GetNglyphs ()
  Retrieves the number of glyphs in the font. More...
 
void  SetNglyphs (int nglyphs)
  Sets the number of glyphs in the font. More...
 
int  GetNstrings ()
  Retrieves the number of strings of the font. More...
 
void  SetNstrings (int nstrings)
  Sets the number of strings of the font. More...
 
int  GetCharsetLength ()
  Retrieves the charset length of the font. More...
 
void  SetCharsetLength (int charsetLength)
  Sets the charset length of the font. More...
 
int[]  GetCharstringsOffsets ()
  Retrieves the char strings offsets of the font. More...
 
void  SetCharstringsOffsets (int[] charstringsOffsets)
  Sets the char strings offsets of the font. More...
 
int[]  GetCharset ()
  Retrieves the charset of the font. More...
 
void  SetCharset (int[] charset)
  Sets the charset of the font. More...
 
int[]  GetFDSelect ()
  Retrieves the font dictionary select of the object. More...
 
void  SetFDSelect (int[] FDSelect)
  Sets the font dictionary select of the object. More...
 
int  GetFDSelectLength ()
  Retrieves the font dictionary select length of the object. More...
 
void  SetFDSelectLength (int FDSelectLength)
  Sets the font dictionary select length of the object. More...
 
int  GetFDSelectFormat ()
  Retrieves the font dictionary select format of the object. More...
 
void  SetFDSelectFormat (int FDSelectFormat)
  Sets the font dictionary select format of the object. More...
 
int  GetCharstringType ()
  Retrieves the char string type of the font. More...
 
void  SetCharstringType (int charstringType)
  Sets the char string type of the font. More...
 
int  GetFDArrayCount ()
  Retrieves the font dictionary array count of the object. More...
 
void  SetFDArrayCount (int FDArrayCount)
  Sets the font dictionary array count of the object. More...
 
int  GetFDArrayOffsize ()
  Retrieves the font dictionary array offsize of the object. More...
 
void  SetFDArrayOffsize (int FDArrayOffsize)
  Sets the font dictionary array offsize of the object. More...
 
int[]  GetFDArrayOffsets ()
  Retrieves the font dictionary array offsets of the object. More...
 
void  SetFDArrayOffsets (int[] FDArrayOffsets)
  Sets the font dictionary array offsets of the object. More...
 
int[]  GetPrivateSubrsOffset ()
  Retrieves the private subrs offset of the font. More...
 
void  SetPrivateSubrsOffset (int[] privateSubrsOffset)
  Sets the private subrs offset of the font More...
 
int[][]  GetPrivateSubrsOffsetsArray ()
  Retrieves the private subrs offsets array of the font. More...
 
void  SetPrivateSubrsOffsetsArray (int[][] privateSubrsOffsetsArray)
  Sets the private subrs offsets array of the font. More...
 
int[]  GetSubrsOffsets ()
  Retrieves the subrs offsets of the font. More...
 
void  SetSubrsOffsets (int[] subrsOffsets)
  Sets the subrs offsets of the font. More...
 
int[]  GetGidToCid ()
  Retrieves the glyphs to character id array of the font. More...
 
void  SetGidToCid (int[] gidToCid)
  Sets the glyphs to character id array of the font. More...
 

Package Functions

  Font (CFFFont _enclosing)
 

Detailed Description

Represents font contained by the CFF font in a FontSet.

Member Function Documentation

◆ GetCharset()

int [] iText.IO.Font.CFFFont.Font.GetCharset ( )
inline

Retrieves the charset of the font.

Returns
charset

◆ GetCharsetLength()

int iText.IO.Font.CFFFont.Font.GetCharsetLength ( )
inline

Retrieves the charset length of the font.

Returns
charset length

◆ GetCharsetOffset()

int iText.IO.Font.CFFFont.Font.GetCharsetOffset ( )
inline

Retrieves the charset offset of the font.

Returns
charset offset

◆ GetCharstringsOffset()

int iText.IO.Font.CFFFont.Font.GetCharstringsOffset ( )
inline

Retrieves the char string offset of the font.

Returns
char string offset

◆ GetCharstringsOffsets()

int [] iText.IO.Font.CFFFont.Font.GetCharstringsOffsets ( )
inline

Retrieves the char strings offsets of the font.

Returns
char strings offsets

◆ GetCharstringType()

int iText.IO.Font.CFFFont.Font.GetCharstringType ( )
inline

Retrieves the char string type of the font.

Returns
char string type

◆ GetEncodingOffset()

int iText.IO.Font.CFFFont.Font.GetEncodingOffset ( )
inline

Retrieves the encoding offset of the font.

Returns
encoding offset

◆ GetFDArrayCount()

int iText.IO.Font.CFFFont.Font.GetFDArrayCount ( )
inline

Retrieves the font dictionary array count of the object.

Returns
font dictionary array count

◆ GetFdarrayOffset()

int iText.IO.Font.CFFFont.Font.GetFdarrayOffset ( )
inline

Retrieves the font dictionary array offset of the object.

Returns
font dictionary array offset

◆ GetFDArrayOffsets()

int [] iText.IO.Font.CFFFont.Font.GetFDArrayOffsets ( )
inline

Retrieves the font dictionary array offsets of the object.

Returns
font dictionary array offsets

◆ GetFDArrayOffsize()

int iText.IO.Font.CFFFont.Font.GetFDArrayOffsize ( )
inline

Retrieves the font dictionary array offsize of the object.

Returns
font dictionary array offsize

◆ GetFdprivateLengths()

int [] iText.IO.Font.CFFFont.Font.GetFdprivateLengths ( )
inline

Retrieves the font dictionary private lengths of the object.

Returns
font dictionary private lengths

◆ GetFdprivateOffsets()

int [] iText.IO.Font.CFFFont.Font.GetFdprivateOffsets ( )
inline

Retrieves the font dictionary private offsets of the object.

Returns
font dictionary private offsets

◆ GetFdprivateSubrs()

int [] iText.IO.Font.CFFFont.Font.GetFdprivateSubrs ( )
inline

Retrieves the font dictionary private subrs of the object.

Returns
font dictionary private subrs

◆ GetFDSelect()

int [] iText.IO.Font.CFFFont.Font.GetFDSelect ( )
inline

Retrieves the font dictionary select of the object.

Returns
FD select

◆ GetFDSelectFormat()

int iText.IO.Font.CFFFont.Font.GetFDSelectFormat ( )
inline

Retrieves the font dictionary select format of the object.

Returns
font dictionary select format

◆ GetFDSelectLength()

int iText.IO.Font.CFFFont.Font.GetFDSelectLength ( )
inline

Retrieves the font dictionary select length of the object.

Returns
font dictionary select length

◆ GetFdselectOffset()

int iText.IO.Font.CFFFont.Font.GetFdselectOffset ( )
inline

Retrieves the font dictionary select offset of the object.

Returns
font dictionary select offset

◆ GetFullName()

String iText.IO.Font.CFFFont.Font.GetFullName ( )
inline

Retrieves the full name of the font.

Returns
full font name

◆ GetGidToCid()

int [] iText.IO.Font.CFFFont.Font.GetGidToCid ( )
inline

Retrieves the glyphs to character id array of the font.

Returns
glyphs to character id array

◆ GetName()

String iText.IO.Font.CFFFont.Font.GetName ( )
inline

Retrieves the name of the font.

Returns
font name

◆ GetNglyphs()

int iText.IO.Font.CFFFont.Font.GetNglyphs ( )
inline

Retrieves the number of glyphs in the font.

Returns
number of glyphs

◆ GetNstrings()

int iText.IO.Font.CFFFont.Font.GetNstrings ( )
inline

Retrieves the number of strings of the font.

Returns
number of strings

◆ GetPrivateLength()

int iText.IO.Font.CFFFont.Font.GetPrivateLength ( )
inline

Retrieves the private length of the font.

Returns
private length value

◆ GetPrivateOffset()

int iText.IO.Font.CFFFont.Font.GetPrivateOffset ( )
inline

Retrieves the private offset of the font.

Returns
private offset value

◆ GetPrivateSubrs()

int iText.IO.Font.CFFFont.Font.GetPrivateSubrs ( )
inline

Retrieves the private subrs of the font.

Returns
private subrs value

◆ GetPrivateSubrsOffset()

int [] iText.IO.Font.CFFFont.Font.GetPrivateSubrsOffset ( )
inline

Retrieves the private subrs offset of the font.

Returns
private subrs offset

◆ GetPrivateSubrsOffsetsArray()

int [][] iText.IO.Font.CFFFont.Font.GetPrivateSubrsOffsetsArray ( )
inline

Retrieves the private subrs offsets array of the font.

Returns
private subrs offsets array

◆ GetSubrsOffsets()

int [] iText.IO.Font.CFFFont.Font.GetSubrsOffsets ( )
inline

Retrieves the subrs offsets of the font.

Returns
subrs offsets

◆ IsCID()

bool iText.IO.Font.CFFFont.Font.IsCID ( )
inline

Retrieves whether the font is a CID font.

Returns

true if font is CID font, false otherwise

◆ SetCharset()

void iText.IO.Font.CFFFont.Font.SetCharset ( int[]  charset )
inline

Sets the charset of the font.

Parameters
charset charset

◆ SetCharsetLength()

void iText.IO.Font.CFFFont.Font.SetCharsetLength ( int  charsetLength )
inline

Sets the charset length of the font.

Parameters
charsetLength charset length

◆ SetCharsetOffset()

void iText.IO.Font.CFFFont.Font.SetCharsetOffset ( int  charsetOffset )
inline

Sets the charset offset of the font.

Parameters
charsetOffset charset offset

◆ SetCharstringsOffset()

void iText.IO.Font.CFFFont.Font.SetCharstringsOffset ( int  charstringsOffset )
inline

Sets the char string offset of the font.

Parameters
charstringsOffset char string offset

◆ SetCharstringsOffsets()

void iText.IO.Font.CFFFont.Font.SetCharstringsOffsets ( int[]  charstringsOffsets )
inline

Sets the char strings offsets of the font.

Parameters
charstringsOffsets char strings offsets

◆ SetCharstringType()

void iText.IO.Font.CFFFont.Font.SetCharstringType ( int  charstringType )
inline

Sets the char string type of the font.

Parameters
charstringType char string type

◆ SetCID()

void iText.IO.Font.CFFFont.Font.SetCID ( bool  CID )
inline

Sets if font is CID font.

Parameters
CID

true if font is CID font, false otherwise

◆ SetEncodingOffset()

void iText.IO.Font.CFFFont.Font.SetEncodingOffset ( int  encodingOffset )
inline

Sets the encoding offset of the font.

Parameters
encodingOffset encoding offset

◆ SetFDArrayCount()

void iText.IO.Font.CFFFont.Font.SetFDArrayCount ( int  FDArrayCount )
inline

Sets the font dictionary array count of the object.

Parameters
FDArrayCount font dictionary array count

◆ SetFdarrayOffset()

void iText.IO.Font.CFFFont.Font.SetFdarrayOffset ( int  fdarrayOffset )
inline

Sets the font dictionary array offset of the object.

Parameters
fdarrayOffset font dictionary array offset

◆ SetFDArrayOffsets()

void iText.IO.Font.CFFFont.Font.SetFDArrayOffsets ( int[]  FDArrayOffsets )
inline

Sets the font dictionary array offsets of the object.

Parameters
FDArrayOffsets font dictionary array offsets

◆ SetFDArrayOffsize()

void iText.IO.Font.CFFFont.Font.SetFDArrayOffsize ( int  FDArrayOffsize )
inline

Sets the font dictionary array offsize of the object.

Parameters
FDArrayOffsize font dictionary array offsize

◆ SetFdprivateLengths()

void iText.IO.Font.CFFFont.Font.SetFdprivateLengths ( int[]  fdprivateLengths )
inline

Sets the font dictionary private lengths of the object.

Parameters
fdprivateLengths font dictionary private lengths

◆ SetFdprivateOffsets()

void iText.IO.Font.CFFFont.Font.SetFdprivateOffsets ( int[]  fdprivateOffsets )
inline

Sets the font dictionary private offsets of the object.

Parameters
fdprivateOffsets font dictionary private offsets

◆ SetFdprivateSubrs()

void iText.IO.Font.CFFFont.Font.SetFdprivateSubrs ( int[]  fdprivateSubrs )
inline

Sets the font dictionary private subrs of the object.

Parameters
fdprivateSubrs font dictionary private subrs

◆ SetFDSelect()

void iText.IO.Font.CFFFont.Font.SetFDSelect ( int[]  FDSelect )
inline

Sets the font dictionary select of the object.

Parameters
FDSelect font dictionary select

◆ SetFDSelectFormat()

void iText.IO.Font.CFFFont.Font.SetFDSelectFormat ( int  FDSelectFormat )
inline

Sets the font dictionary select format of the object.

Parameters
FDSelectFormat font dictionary select format

◆ SetFDSelectLength()

void iText.IO.Font.CFFFont.Font.SetFDSelectLength ( int  FDSelectLength )
inline

Sets the font dictionary select length of the object.

Parameters
FDSelectLength font dictionary select length

◆ SetFdselectOffset()

void iText.IO.Font.CFFFont.Font.SetFdselectOffset ( int  fdselectOffset )
inline

Sets the font dictionary select offset of the object.

Parameters
fdselectOffset font dictionary select offset

◆ SetFullName()

void iText.IO.Font.CFFFont.Font.SetFullName ( String  fullName )
inline

Sets the full name of the font.

Parameters
fullName full font name

◆ SetGidToCid()

void iText.IO.Font.CFFFont.Font.SetGidToCid ( int[]  gidToCid )
inline

Sets the glyphs to character id array of the font.

Parameters
gidToCid glyphs to character id array

◆ SetName()

void iText.IO.Font.CFFFont.Font.SetName ( String  name )
inline

Sets the name of the font.

Parameters
name font name

◆ SetNglyphs()

void iText.IO.Font.CFFFont.Font.SetNglyphs ( int  nglyphs )
inline

Sets the number of glyphs in the font.

Parameters
nglyphs number of glyphs

◆ SetNstrings()

void iText.IO.Font.CFFFont.Font.SetNstrings ( int  nstrings )
inline

Sets the number of strings of the font.

Parameters
nstrings number of strings

◆ SetPrivateLength()

void iText.IO.Font.CFFFont.Font.SetPrivateLength ( int  privateLength )
inline

Sets the private length of the font.

Parameters
privateLength private length value

◆ SetPrivateOffset()

void iText.IO.Font.CFFFont.Font.SetPrivateOffset ( int  privateOffset )
inline

Sets the private offset of the font.

Parameters
privateOffset private offset value

◆ SetPrivateSubrs()

void iText.IO.Font.CFFFont.Font.SetPrivateSubrs ( int  privateSubrs )
inline

Sets the private subrs of the font.

Parameters
privateSubrs private subrs value

◆ SetPrivateSubrsOffset()

void iText.IO.Font.CFFFont.Font.SetPrivateSubrsOffset ( int[]  privateSubrsOffset )
inline

Sets the private subrs offset of the font

Parameters
privateSubrsOffset private subrs offset

◆ SetPrivateSubrsOffsetsArray()

void iText.IO.Font.CFFFont.Font.SetPrivateSubrsOffsetsArray ( int  privateSubrsOffsetsArray[][] )
inline

Sets the private subrs offsets array of the font.

Parameters
privateSubrsOffsetsArray private subrs offsets array

◆ SetSubrsOffsets()

void iText.IO.Font.CFFFont.Font.SetSubrsOffsets ( int[]  subrsOffsets )
inline

Sets the subrs offsets of the font.

Parameters
subrsOffsets subrs offsets