Skip to main content

Class ParleyFontService

Namespace: VelloSharp.Text
Assembly: VelloSharp.Text.dll

public sealed class ParleyFontService

Inheritance

objectParleyFontService

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Instance

public static ParleyFontService Instance { get; }

Property Value

ParleyFontService

Methods

GetDefaultFamilyName()

public string GetDefaultFamilyName()

Returns

string

GetInstalledFamilyNames(bool)

public IReadOnlyList<string> GetInstalledFamilyNames(bool refresh = false)

Parameters

refresh bool

Returns

IReadOnlyList<string>

GetVariationAxes(ParleyFontInfo)

public IReadOnlyList<ParleyVariationAxis> GetVariationAxes(ParleyFontInfo fontInfo)

Parameters

fontInfo ParleyFontInfo

Returns

IReadOnlyList<ParleyVariationAxis>

TryLoadTypeface(ParleyFontQuery, out ParleyFontInfo)

public bool TryLoadTypeface(ParleyFontQuery query, out ParleyFontInfo info)

Parameters

query ParleyFontQuery

info ParleyFontInfo

Returns

bool

TryMatchCharacter(uint, ParleyFontQuery, out ParleyFontInfo)

public bool TryMatchCharacter(uint codepoint, ParleyFontQuery query, out ParleyFontInfo info)

Parameters

codepoint uint

query ParleyFontQuery

info ParleyFontInfo

Returns

bool