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

Class TtfGposTable

Parsed OpenType "GPOS" table header and feature tag list. Exposes FeatureTags (e.g. "kern", "mark", "mkmk") so callers can detect which positioning features are available. Full positioning lookup application is deferred to a future batch.

Inheritance
object
TtfTableBase
TtfGposTable
Inherited Members
TtfTableBase.Tag
TtfTableBase.RawBytes
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Ttf.Tables
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TtfGposTable : TtfTableBase
Remarks

Ref: https://learn.microsoft.com/en-us/typography/opentype/spec/gpos

Fields

TableTag

The table tag for the GPOS table.

Declaration
public const string TableTag = "GPOS"
Field Value
Type Description
string
Remarks

Ref: https://learn.microsoft.com/en-us/typography/opentype/spec/gpos

Properties

FeatureTags

Distinct, lexicographically sorted OpenType feature tags present in the GPOS table's FeatureList (e.g. "cpsp", "kern", "mark", "mkmk"). May be empty for fonts with a malformed or absent FeatureList.

Declaration
public IReadOnlyList<string> FeatureTags { get; }
Property Value
Type Description
IReadOnlyList<string>
Remarks

Ref: https://learn.microsoft.com/en-us/typography/opentype/spec/gpos

Methods

Parse(byte[])

Parses the "GPOS" table from its raw bytes.

Declaration
public static TtfGposTable Parse(byte[] rawBytes)
Parameters
Type Name Description
byte[] rawBytes
Returns
Type Description
TtfGposTable
Remarks

Ref: https://learn.microsoft.com/en-us/typography/opentype/spec/gpos

Back to top

DR-IT Software documentation

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

Generated by DocFX