CheckFont

bool CheckFont (str fontname);

Usage

Checks to see if the font passed to it is a valid font or not. Any type of font or graphic usable by SetFont will be considered valid here as well.

Parameters

  • fontname: The name of the font to check.

Return Value

Returns the true if the font is valid, otherwise it returns false.

Example

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.

See also

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.