FontResolution(ReadOnlyMemory, String, FontMatchKind) Constructor

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Initializes a new instance of the FontResolution class.

public FontResolution(ReadOnlyMemory<byte> data, string name, FontMatchKind matchKind)

Parameters

data
ReadOnlyMemory<Byte>

The font program's bytes.

name
String

The name of the font found, such as its PostScript name; diagnostics show it.

matchKind
FontMatchKind

How the font found relates to the font asked for.