Interface IFontFallbackResolver
Resolves a font family for code points that no configured font can shape. The shaping pipeline consults the resolver only after Font and every FallbackFontFamilies entry have attempted the text, and at most once per distinct unresolved code point per shaping operation.
public interface IFontFallbackResolver
Methods
TryResolve(CodePoint, FontFamily, FontStyle, CultureInfo?, out FontFamily)
Tries to resolve a font family containing a glyph for the given code point.
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.