Class TtfGsubTable
Parsed OpenType "GSUB" table header and feature tag list. Exposes FeatureTags (e.g. "liga", "calt", "dlig") so callers can detect which substitution features are available. Full substitution lookup application is deferred to a future batch.
Inherited Members
Namespace: DRIT.Drawing.Font.Ttf.Tables
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TtfGsubTable : TtfTableBase
Remarks
Fields
TableTag
The table tag for the GSUB table.
Declaration
public const string TableTag = "GSUB"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
Properties
FeatureTags
Distinct, lexicographically sorted OpenType feature tags present in the GSUB table's FeatureList (e.g. "calt", "dlig", "liga", "rlig"). 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 "GSUB" table from its raw bytes.
Declaration
public static TtfGsubTable Parse(byte[] rawBytes)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | rawBytes |
Returns
| Type | Description |
|---|---|
| TtfGsubTable |