/*
 *	jfont.h
 */

#ifndef	_JFONT_H_
#define	_JFONT_H_

#define	FNAMELEN	80	/* file name length */
#define	READ_BINARY	"rb"
#define	WRITE_BINARY	"wb"

#define	JFONTPORT	"jFont.port"	/* MsgPort name */
#define	NORMAL_PRI	0	/* task priority is 0 */

struct	jFontMsg	{	/* my own Message structure */
	struct	Message	msg;
	USHORT	kanji;
	struct	TextFont	*font;
};

#define	REMOVE_JFONT	(-1)
#define	ANK_FONT_CODE	0

enum	knjtype {
	ANK, SYM1, SYM2, ALNM, HIRA, KATA,
	GREEK, RUSSIAN, KEISEN, JIS1 = 16, JIS2 = 48,
};

#define	FONT_SIZE	16

#endif	/* _JFONT_H_ */
