Skip to main content
Skip table of contents

TrueTypeFontSubSet

TrueTypeFontSubSet Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.TrueTypeFontSubSet[[TrueTypeFontSubSet]]
  end

Members

Methods

Public methods
ReturnsName
byte``[]Process()
Protected methods
ReturnsName
voidAssembleFont()
intCalculateChecksum(byte``[] b)
voidCheckGlyphComposite(int glyph)
voidCreateNewGlyphTables()
voidCreateTableDirectory()
voidFlatGlyphs()
voidLocaTobytes()
voidReadLoca()
stringReadStandardString(int length)
voidWriteFontInt(int n)
voidWriteFontShort(int n)
voidWriteFontString(string s)

Details

Constructors

TrueTypeFontSubSet

Source code

public TrueTypeFontSubSet(string fileName, RandomAccessFileOrArray rf, HashSet2<int> glyphsUsed, int directoryOffset, bool includeCmap, bool includeExtras)
Arguments
TypeNameDescription
stringfileName
RandomAccessFileOrArrayrf
HashSet2<int>glyphsUsed
intdirectoryOffset
boolincludeCmap
boolincludeExtras

Methods

Process

Source code

public virtual byte Process()
AssembleFont

Source code

protected virtual void AssembleFont()
CreateTableDirectory

Source code

protected virtual void CreateTableDirectory()
ReadLoca

Source code

protected virtual void ReadLoca()
CreateNewGlyphTables

Source code

protected virtual void CreateNewGlyphTables()
LocaTobytes

Source code

protected virtual void LocaTobytes()
FlatGlyphs

Source code

protected virtual void FlatGlyphs()
CheckGlyphComposite

Source code

protected virtual void CheckGlyphComposite(int glyph)
Arguments
TypeNameDescription
intglyph
ReadStandardString

Source code

protected virtual string ReadStandardString(int length)
Arguments
TypeNameDescription
intlength
WriteFontShort

Source code

protected virtual void WriteFontShort(int n)
Arguments
TypeNameDescription
intn
WriteFontInt

Source code

protected virtual void WriteFontInt(int n)
Arguments
TypeNameDescription
intn
WriteFontString

Source code

protected virtual void WriteFontString(string s)
Arguments
TypeNameDescription
strings
CalculateChecksum

Source code

protected virtual int CalculateChecksum(byte[] b)
Arguments
TypeNameDescription
byte``[]b

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.