Table of Contents

Class GPosTable

Namespace
Xui.Runtime.Software.Font
Assembly
Xui.Runtime.Software.dll

Parses the 'GPOS' (Glyph Positioning) table from an OpenType font. This table handles kerning, mark positioning, and other glyph adjustments.

public sealed class GPosTable
Inheritance
GPosTable
Inherited Members

Constructors

GPosTable(ReadOnlySpan<byte>, CMapTable)

public GPosTable(ReadOnlySpan<byte> span, CMapTable cMap)

Parameters

span ReadOnlySpan<byte>
cMap CMapTable

Properties

CMap

public CMapTable CMap { get; }

Property Value

CMapTable

FeatureList

public GPosTable.FeatureListTable? FeatureList { get; }

Property Value

GPosTable.FeatureListTable

FeatureListOffset

public ushort FeatureListOffset { get; }

Property Value

ushort

FeatureVariationsOffset

public uint? FeatureVariationsOffset { get; }

Property Value

uint?

this[char, char]

Gets the kerning adjustment between two characters using GPOS LookupType 2 or ExtensionPositioning. Returns a default ValueRecord if no adjustment is defined.

public TrueTypeFont.ValueRecord this[char left, char right] { get; }

Parameters

left char
right char

Property Value

TrueTypeFont.ValueRecord

LookupList

public GPosTable.LookupListTable? LookupList { get; }

Property Value

GPosTable.LookupListTable

LookupListOffset

public ushort LookupListOffset { get; }

Property Value

ushort

MajorVersion

public ushort MajorVersion { get; }

Property Value

ushort

MinorVersion

public ushort MinorVersion { get; }

Property Value

ushort

ScriptList

public GPosTable.ScriptListTable? ScriptList { get; }

Property Value

GPosTable.ScriptListTable

ScriptListOffset

public ushort ScriptListOffset { get; }

Property Value

ushort