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.
Inherited Members
Namespace: DRIT.Drawing.Font.Ttf.Tables
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TtfGposTable : TtfTableBase
Remarks
Fields
TableTag
The table tag for the GPOS table.
Declaration
public const string TableTag = "GPOS"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
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
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 |