W_LOADFONT(3)			WLIB-CALLS		W_LOADFONT(3)

NAME

	w_loadfont()

SYPNOSIS

	#include <Wlib.h>

	short w_loadfont(short handle, char *fontname);

DESCRIPTION

	 w_loadfont() is used to load fonts by the full name as they are in
	the fonts directory, returning you a handle for it.

	 note that you don't need to load the four system fonts as they're
	always preloaded when a window is created.

	 if you want to be polite, you should unload them before your program
	exits. if you don't do that you won't need to worry either, cause
	they'll be unloaded when the window is deleted, either by you, or by
	the server if your program terminates without deleting its window.

RETURNS

	- a negative error if something went wrong

	- a positive handle otherwise

SEE ALSO

	wunloadfont(3), wsetfont(3)

LAST CHANGED

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