Table of Contents

Class HorizontalHeaderTable

Namespace
Xui.Runtime.Software.Font
Assembly
Xui.Runtime.Software.dll
public class HorizontalHeaderTable
Inheritance
HorizontalHeaderTable
Inherited Members

Constructors

HorizontalHeaderTable(ReadOnlySpan<byte>)

public HorizontalHeaderTable(ReadOnlySpan<byte> data)

Parameters

data ReadOnlySpan<byte>

Properties

AdvanceWidthMax

public ushort AdvanceWidthMax { get; }

Property Value

ushort

Ascender

public short Ascender { get; }

Property Value

short

CaretOffset

public short CaretOffset { get; }

Property Value

short

CaretSlopeRise

public short CaretSlopeRise { get; }

Property Value

short

CaretSlopeRun

public short CaretSlopeRun { get; }

Property Value

short

Descender

public short Descender { get; }

Property Value

short

LineGap

public short LineGap { get; }

Property Value

short

MetricDataFormat

public short MetricDataFormat { get; }

Property Value

short

MinLeftSideBearing

public short MinLeftSideBearing { get; }

Property Value

short

MinRightSideBearing

public short MinRightSideBearing { get; }

Property Value

short

NumberOfHMetrics

public ushort NumberOfHMetrics { get; }

Property Value

ushort

XMaxExtent

public short XMaxExtent { get; }

Property Value

short

Methods

CreateSubset(ReadOnlySpan<byte>, ushort)

Copies an hhea table for a compact hmtx table with one metric per glyph.

public static byte[] CreateSubset(ReadOnlySpan<byte> source, ushort numberOfHMetrics)

Parameters

source ReadOnlySpan<byte>
numberOfHMetrics ushort

Returns

byte[]