Class TtfFvarTable
Parsed OpenType "fvar" (font variations) table. Exposes the variation axes and named instances of a variable font. Ref: OpenType spec §table-fvar.
Inherited Members
Namespace: DRIT.Drawing.Font.Ttf.Tables
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TtfFvarTable : TtfTableBase
Fields
TableTag
The table tag for the fvar table.
Declaration
public const string TableTag = "fvar"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Axes
Design-variation axes defined in the font.
Declaration
public IReadOnlyList<FontVariationAxis> Axes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<FontVariationAxis> |
Instances
Named design instances (e.g. "Light", "Bold Condensed").
Declaration
public IReadOnlyList<FontVariationInstance> Instances { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<FontVariationInstance> |
Methods
Parse(byte[])
Parses the "fvar" table from its raw bytes.
Declaration
public static TtfFvarTable Parse(byte[] rawBytes)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | rawBytes |
Returns
| Type | Description |
|---|---|
| TtfFvarTable |