iText 5

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

Returns

Name

byte``[]

Process

()

Protected methods

Returns

Name

void

AssembleFont

()

int

CalculateChecksum

(byte``[] b)

void

CheckGlyphComposite

(int glyph)

void

CreateNewGlyphTables

()

void

CreateTableDirectory

()

void

FlatGlyphs

()

void

LocaTobytes

()

void

ReadLoca

()

string

ReadStandardString

(int length)

void

WriteFontInt

(int n)

void

WriteFontShort

(int n)

void

WriteFontString

(string s)

Details

Constructors

TrueTypeFontSubSet

Source code

public TrueTypeFontSubSet(string fileName, RandomAccessFileOrArray rf, HashSet2<int> glyphsUsed, int directoryOffset, bool includeCmap, bool includeExtras)

Arguments

Type

Name

Description

string

fileName

RandomAccessFileOrArray

rf

HashSet2<int>

glyphsUsed

int

directoryOffset

bool

includeCmap

bool

includeExtras

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

Type

Name

Description

int

glyph

ReadStandardString

Source code

protected virtual string ReadStandardString(int length)

Arguments

Type

Name

Description

int

length

WriteFontShort

Source code

protected virtual void WriteFontShort(int n)

Arguments

Type

Name

Description

int

n

WriteFontInt

Source code

protected virtual void WriteFontInt(int n)

Arguments

Type

Name

Description

int

n

WriteFontString

Source code

protected virtual void WriteFontString(string s)

Arguments

Type

Name

Description

string

s

CalculateChecksum

Source code

protected virtual int CalculateChecksum(byte[] b)

Arguments

Type

Name

Description

byte``[]

b

Generated with ModularDoc