Summary
The font manager is used to query the system's installed fonts and is responsible for caching loaded fonts.
It is also responsible for the font fallback.
- Namespace
- Avalonia
.Media - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["FontManager"]
class Type type-node
Syntax
public sealed class FontManager
Constructors
Name | Summary |
---|---|
FontManager |
Properties
Name | Value | Summary |
---|---|---|
Current | FontManager |
static
|
Default |
string |
Gets the system's default font family's name.
|
PlatformImpl | IFontManagerImpl |
|
Methods
Name | Value | Summary |
---|---|---|
Get |
IEnumerable |
Get all installed font family names.
|
Get |
GlyphTypeface |
Returns a new
GlyphTypeface , or an existing one if a matching GlyphTypeface exists.
|
TryMatchCharacter |
bool |
Tries to match a specified character to a
Typeface that supports specified font properties.
|