Table of Contents

Class CMapTable

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

Constructors

CMapTable(ReadOnlySpan<byte>)

public CMapTable(ReadOnlySpan<byte> data)

Parameters

data ReadOnlySpan<byte>

Methods

CreateSubset(IReadOnlyList<GlyphMapping>)

Creates a Windows Unicode cmap for the retained Unicode scalar values.

public static byte[] CreateSubset(IReadOnlyList<CMapTable.GlyphMapping> mappings)

Parameters

mappings IReadOnlyList<CMapTable.GlyphMapping>

Returns

byte[]

GetGlyphIndex(int)

public int? GetGlyphIndex(int unicode)

Parameters

unicode int

Returns

int?

GetGlyphIndex(Rune)

public int? GetGlyphIndex(Rune rune)

Parameters

rune Rune

Returns

int?