• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class OpenTypeTableRecord

One entry in the OpenType table directory: identifies a table by its four-character tag and records its checksum, absolute byte offset, and byte length within the font file.

Inheritance
object
OpenTypeTableRecord
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
Namespace: DRIT.Drawing.Font.IO
Assembly: DRIT.Drawing.dll
Syntax
public sealed class OpenTypeTableRecord

Constructors

OpenTypeTableRecord(string, uint, uint, uint)

Initializes a new OpenTypeTableRecord with the specified values.

Declaration
public OpenTypeTableRecord(string tag, uint checksum, uint offset, uint length)
Parameters
Type Name Description
string tag

Four-character ASCII identifier.

uint checksum

Checksum of the table data.

uint offset

Absolute byte offset of the table data.

uint length

Length of the table data in bytes.

Properties

Checksum

Checksum of the table data as defined in the OpenType specification. (Sum of all uint32 values in the table, modulo 2^32.)

Declaration
public uint Checksum { get; }
Property Value
Type Description
uint

Length

Length of the table data in bytes (before any 4-byte padding).

Declaration
public uint Length { get; }
Property Value
Type Description
uint

Offset

Absolute byte offset of the table data from the beginning of the font file.

Declaration
public uint Offset { get; }
Property Value
Type Description
uint

Tag

Four-character ASCII identifier, e.g. "head", "cmap", "glyf", "CFF ".

Declaration
public string Tag { get; }
Property Value
Type Description
string

Methods

ToString()

Returns a string representation of this table record.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX