Class TtfStatTable

TtfStatTable class

Represents Style Attributes Table(STAT) of the OpenType font.

public class TtfStatTable : TtfTableBase

Properties

NameDescription
AxisRecords { get; }Returns design axes array. Axes array is array of structures of type Axis Record. Spec: the axis record provides information about a single design axis.
AxisValueCount { get; }Returns the number of axis value tables.
AxisValueTables { get; }Returns array of Axis Value Tables. Spec: Axis Value Tables provide details regarding a specific style-attribute value on some specific axis of design variation, or a combination of design-variation axis values, and the relationship of those values to labels used as elements in subfamily names.
DesignAxisCount { get; }Returns the number of axis records. Spec: in a font with an ‘fvar’ table, this value must be greater than or equal to the axisCount value in the ‘fvar’ table. In all fonts, must be greater than zero if axisValueCount is greater than zero.
ElidedFallbackName { get; }Spec: Name used as fallback when projection of names into a particular font model produces a subfamily name containing only elidable elements.
ElidedFallbackNameId { get; }Spec: Name ID used as fallback when projection of names into a particular font model produces a subfamily name containing only elidable elements.
Offset { get; }Gets offset from beginning of sfnt.
TtfTables { get; }Reference to TTF table repository.
static Tag { get; }Gets table tag.

Methods

NameDescription
AddAxisRecord(AxisRecord)Adds an Axis Record structure to the table.
AddAxisValueTable(AxisValueTableBase)Adds an Axis Value Table structure to the table.
ClearAxisRecords()Removes all axis records from the table.
ClearAxisValueTables()Removes all axis value tables from the table.

Other Members

NameDescription
class AxisRecordRepresents Axis Record structure. Spec: the axis record provides information about a single design axis.
class AxisValueRepresents AxisValue record.
abstract class AxisValueTableBaseBase class for Axis Value Table structure. Spec: Axis Value Tables provide details regarding a specific style-attribute value on some specific axis of design variation, or a combination of design-variation axis values, and the relationship of those values to labels used as elements in subfamily names.
[Flags] enum AxisValueTableFlagsSpecifies axis value table flags
class AxisValueTableFormat1Represents Axis value table format 1
class AxisValueTableFormat2Represents Axis value table format 2
class AxisValueTableFormat3Represents Axis value table format 3
class AxisValueTableFormat4Represents Axis value table format 4

See Also