iText 7 7.1.8 API
iText.IO.Font.CFFFont Class Reference
Inheritance diagram for iText.IO.Font.CFFFont:
iText.IO.Font.CFFFontSubset

Classes

class   DictNumberItem
  A dictionary number on the list.
 
class   DictOffsetItem
  an unknown offset in a dictionary for the list.
 
class   Font
 
class   IndexBaseItem
 
class   IndexMarkerItem
 
class   IndexOffsetItem
  An index-offset item for the list.
 
class   Item
  List items for the linked list that builds the new CID font.
 
class   MarkerItem
  An offset-marker item for the list.
 
class   OffsetItem
 
class   RangeItem
  A range item.
 
class   StringItem
 
class   SubrMarkerItem
  TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
 
class   UInt16Item
  A SID or Card16 item.
 
class   UInt24Item
  Card24 item.
 
class   UInt32Item
  Card32 item.
 
class   UInt8Item
  A Card8 item.
 

Public Member Functions

virtual String  GetString (char sid)
 
virtual byte[]  GetCID (String fontName)
  get a single CID font. More...
 
virtual bool  IsCID (String fontName)
 
virtual bool  Exists (String fontName)
 
virtual String[]  GetNames ()
 
  CFFFont (byte[] cff)
 

Member Function Documentation

◆ GetCID()

virtual byte [] iText.IO.Font.CFFFont.GetCID ( String  fontName )
inlinevirtual

get a single CID font.

get a single CID font. The PDF architecture (1.4) supports 16-bit strings only with CID CFF fonts, not in Type-1 CFF fonts, so we convert the font to CID if it is in the Type-1 format. Two other tasks that we need to do are to select only a single font from the CFF package (this again is a PDF restriction) and to subset the CharStrings glyph description.

Parameters
fontName