Class SystemFontFallbackResolver
Resolves fallback font families from the fonts installed on the current machine using the operating system's character-to-font matching service. Results depend on the machine's installed fonts: the same input can resolve different families, or none, on different machines.
public sealed class SystemFontFallbackResolver : IFontFallbackResolver
- Inheritance
-
SystemFontFallbackResolver
- Implements
- Inherited Members
Methods
TryResolve(CodePoint, FontFamily, FontStyle, CultureInfo?, out FontFamily)
Tries to resolve a font family containing a glyph for the given code point.
public bool TryResolve(CodePoint codePoint, FontFamily requestedFamily, FontStyle style, CultureInfo? culture, out FontFamily family)
Parameters
codePointCodePointThe code point no configured font can shape.
requestedFamilyFontFamilyThe family of the requested font, usable as a hint to bias matching toward stylistically compatible faces.
styleFontStyleThe requested font style.
cultureCultureInfoThe culture used to select language specific faces, or null.
familyFontFamilyWhen this method returns true, the resolved font family.