[]
Searches for a font with the specified name and charset, which is the best match for the specified bold/italic styles (exact bold/italic matching is not guaranteed by this method).
public EmbeddedFont FindBestMatch(string name, int charSet, FontStyle fontStyle)
Type | Name | Description |
---|---|---|
string | name | The name of the font to search for. |
int | charSet | The charset to search for. |
FontStyle | fontStyle | The style of the font to match. |
Type | Description |
---|---|
EmbeddedFont | The matching EmbeddedFont, or null if a match could not be found. |