Font library FontId2Name()
Programming guideline of WinDom

FontName2Id()

NAME

FontName2Id - convert a font name in a id-font,

PROTOTYPAGE

int FontName2Id( char *name);

PARAMETERS

name:
font name,

return:
font id or -1 if font does not exist.

DESCRIPTION

The identificator font is an integer value which identify in a unique way a font. This fonction finds the id-font associated to a font name. The fonction needs a font manager to work correctly.

SEE ALSO

FontId2Name