Class KernTable
- Namespace
- Xui.Runtime.Software.Font
- Assembly
- Xui.Runtime.Software.dll
public sealed class KernTable
- Inheritance
-
KernTable
- Inherited Members
-
Constructors
KernTable(ReadOnlySpan<byte>, CMapTable)
public KernTable(ReadOnlySpan<byte> data, CMapTable cmap)
Parameters
data ReadOnlySpan<byte>
cmap CMapTable
Fields
Pairs
public readonly Dictionary<(ushort Left, ushort Right), short> Pairs
Field Value
- Dictionary<(ushort Left, ushort Right), short>
Properties
CMap
public CMapTable CMap { get; }
Property Value
- CMapTable
this[char, char]
public TrueTypeFont.ValueRecord this[char left, char right] { get; }
Parameters
left char
right char
Property Value
- TrueTypeFont.ValueRecord
Methods
GetKerningAdjustment(ushort, ushort)
public short GetKerningAdjustment(ushort left, ushort right)
Parameters
left ushort
right ushort
Returns
- short