FMGETFONTNAME(3W)FMGETFONTNAME(3W)NAMEfmgetfontname - return the name associated with a font
SYNOPSIS
#include <fmclient.h>
long fmgetfontname(fh, slen, str);
fmfonthandle fh;
long slen;
char *str;
DESCRIPTIONfmgetfontname gets the name of the font associated with the fonthandle in
fh. fmgetfontname writes this information to the location (array)
pointed to by str. Use slen to tell fmgetfontname the size of the array
pointed to by str. fmgetfontname does not write more characters to str
than specified by slen.
Normally, the returned value of the fmgetfontname function is the length
of the string written to str. But if the font does not have a name, or
if fmgetfontname cannot find the font, the returned function value is -1.
SEE ALSOfminit(3W), fmfindfont(3W), fmscalefont(3W).
NOTE
This routine is available only in immediate mode.
Page 1