C# Class PdfSharp.Fonts.TrueType.TrueTypeFontTable

Base class for all TrueType fonts.
Inheritance: ICloneable
Show file Open project: GNOME/pdfmod Class Usage Examples

Public Properties

Property Type Description
DirectoryEntry TableDirectoryEntry

Public Methods

Method Description
CalcChecksum ( byte bytes ) : uint

Calculates the checksum of a table represented by its bytes.

Clone ( ) : object

Creates a deep copy of the current instance.

PrepareForCompilation ( ) : void

When overridden in a derived class, prepares the font table to be compiled into its binary representation.

TrueTypeFontTable ( FontData fontData, string tag ) : System

Initializes a new instance of the TrueTypeFontTable class.

Write ( TrueTypeFontWriter writer ) : void

When overridden in a derived class, converts the font into its binary representation.

Protected Methods

Method Description
DeepCopy ( ) : TrueTypeFontTable

Method Details

CalcChecksum() public static method

Calculates the checksum of a table represented by its bytes.
public static CalcChecksum ( byte bytes ) : uint
bytes byte
return uint

Clone() public method

Creates a deep copy of the current instance.
public Clone ( ) : object
return object

DeepCopy() protected method

protected DeepCopy ( ) : TrueTypeFontTable
return TrueTypeFontTable

PrepareForCompilation() public method

When overridden in a derived class, prepares the font table to be compiled into its binary representation.
public PrepareForCompilation ( ) : void
return void

TrueTypeFontTable() public method

Initializes a new instance of the TrueTypeFontTable class.
public TrueTypeFontTable ( FontData fontData, string tag ) : System
fontData FontData
tag string
return System

Write() public method

When overridden in a derived class, converts the font into its binary representation.
public Write ( TrueTypeFontWriter writer ) : void
writer TrueTypeFontWriter
return void

Property Details

DirectoryEntry public property

public TableDirectoryEntry DirectoryEntry
return TableDirectoryEntry