W_FONTINFO(3)			WLIB-CALLS		W_FONTINFO(3)

NAME

	w_fontinfo()

SYPNOSIS

	#include <Wlib.h>

	short w_fontinfo(char *fontname, short *width, short *height);

DESCRIPTION

	 w_fontinfo() gives you information about how big the characters of a
	font are. you may want to know that in order to create a window which 
	is big enough to hold a particular amont of text.

	 note that this call doesn *not* load the font!

	 for the moment only the width and height of characters are reported.
	this may change in future when fonts with more interesting attributes
	will come. Things like proportional fonts will probably require more
	information.

RETURNS

	- zero if everything is ok

	- anything else otherwise

SEE ALSO

	wloadfont(3) and wunloadfont(3)

LAST CHANGED

	12/94 by TeSche, itschere@techfak.uni-bielefeld.de
