# IsMetaFont

int IsMetaFont (const char fontName[]);

## Purpose

This function returns whether the specified font name is a metafont name.

CVI includes several predefined meta fonts. You can create additional meta fonts by calling the CreateMetaFont function in the User Interface Library. See the function panel for CreateMetaFont for more information on meta fonts.

## Parameters

Input
Name | Type | Description
fontName | const char [] | Pass the name of a typeface or metafont.

## Return Value

Name | Type | Description
result | integer | Returns 0 (FALSE) if the font is not a meta font. Returns 1 (TRUE) if the font is a meta font. Returns a negative error code if the function fails. The possible negative error codes are:
–1 to –999 | A User Interface Library error code. (constants are available in userint.h)
A description of any of these error codes can be obtained using the GetGeneralErrorString function in the toolbox.fp instrument driver.