Summary
Tries to match a specified character to a
Typeface
that supports specified font properties.
Syntax
public bool TryMatchCharacter(int codepoint, FontStyle fontStyle, FontWeight fontWeight, FontFamily fontFamily, CultureInfo culture, out Typeface typeface)
Parameters
Name |
Type |
Description |
codepoint |
int |
The codepoint to match against. |
fontStyle |
FontStyle |
The font style. |
fontWeight |
FontWeight |
The font weight. |
fontFamily |
FontFamily |
The font family. This is optional and used for fallback lookup. |
culture |
CultureInfo |
The culture. |
typeface |
Typeface |
The matching Typeface . |
Return Value
Type |
Description |
bool |
True , if the FontManager could match the character to specified parameters, False otherwise.
|