C# Class PdfSharp.Fonts.OpenType.TableDirectoryEntry

Represents an entry in the fonts table dictionary.
ファイルを表示 Open project: DavidS/MigraDoc Class Usage Examples

Public Properties

Property Type Description
CheckSum uint
FontTable PdfSharp.Fonts.OpenType.OpenTypeFontTable
Length int
Offset int
Tag string

Public Methods

Method Description
Read ( FontData fontData ) : void
ReadFrom ( FontData fontData ) : TableDirectoryEntry

Creates and reads a TableDirectoryEntry from the font image.

TableDirectoryEntry ( ) : System

Initializes a new instance of the TableDirectoryEntry class.

TableDirectoryEntry ( string tag ) : System

Initializes a new instance of the TableDirectoryEntry class.

Write ( PdfSharp.Fonts.OpenType.OpenTypeFontWriter writer ) : void

Method Details

Read() public method

public Read ( FontData fontData ) : void
fontData FontData
return void

ReadFrom() public static method

Creates and reads a TableDirectoryEntry from the font image.
public static ReadFrom ( FontData fontData ) : TableDirectoryEntry
fontData FontData
return TableDirectoryEntry

TableDirectoryEntry() public method

Initializes a new instance of the TableDirectoryEntry class.
public TableDirectoryEntry ( ) : System
return System

TableDirectoryEntry() public method

Initializes a new instance of the TableDirectoryEntry class.
public TableDirectoryEntry ( string tag ) : System
tag string
return System

Write() public method

public Write ( PdfSharp.Fonts.OpenType.OpenTypeFontWriter writer ) : void
writer PdfSharp.Fonts.OpenType.OpenTypeFontWriter
return void

Property Details

CheckSum public_oe property

CheckSum for this table.
public uint CheckSum
return uint

FontTable public_oe property

Associated font table.
public OpenTypeFontTable,PdfSharp.Fonts.OpenType FontTable
return PdfSharp.Fonts.OpenType.OpenTypeFontTable

Length public_oe property

Actual length of this table in bytes.
public int Length
return int

Offset public_oe property

Offset from beginning of TrueType font file.
public int Offset
return int

Tag public_oe property

4 -byte identifier.
public string Tag
return string