Skip to main content

FontManagerOptions Class

Definition​

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia
public class FontManagerOptions

Inheritance: object -> FontManagerOptions

Constructors​

NameDescription
FontManagerOptionsNo summary available.

FontManagerOptions Constructor​

public FontManagerOptions()

Properties​

NameDescription
DefaultFamilyNameGets or sets the default font family's name
FontFallbacksGets or sets the font fallbacks.
FontFamilyMappingsGets or sets the font family mappings.

DefaultFamilyName Property​

Gets or sets the default font family's name

public string DefaultFamilyName { get; set; }

FontFallbacks Property​

Gets or sets the font fallbacks.

public System.Collections.Generic.IReadOnlyList<Avalonia.Media.FontFallback> FontFallbacks { get; set; }

Remarks​

A fallback is fullfilled before anything else when the font manager tries to match a specific codepoint.

FontFamilyMappings Property​

Gets or sets the font family mappings.

public System.Collections.Generic.IReadOnlyDictionary<string, Avalonia.Media.FontFamily> FontFamilyMappings { get; set; }

Remarks​

A font family mapping is used if a requested family name can't be resolved.