	IFND	GRAPHICS_TEXT_I
GRAPHICS_TEXT_I	SET	1
	IFND	EXEC_PORTS_I
	INCLUDE	"exec/ports.i"
	ENDC
	IFND	UTILITY_TAGITEM_I
	INCLUDE	"utility/tagitem.i"
	ENDC

FS_NORMAL	EQU	0
FSB_UNDERLINED	EQU	0
FSF_UNDERLINED	EQU	1<<0
FSB_BOLD	EQU	1
FSF_BOLD	EQU	1<<1
FSB_ITALIC	EQU	2
FSF_ITALIC	EQU	1<<2
FSB_EXTENDED	EQU	3
FSF_EXTENDED	EQU	1<<3
FSB_COLORFONT	EQU	6
FSF_COLORFONT	EQU	1<<6
FSB_TAGGED	EQU	7
FSF_TAGGED	EQU	1<<7
FPB_ROMFONT	EQU	0
FPF_ROMFONT	EQU	1<<0
FPB_DISKFONT	EQU	1
FPF_DISKFONT	EQU	1<<1
FPB_REVPATH	EQU	2
FPF_REVPATH	EQU	1<<2
FPB_TALLDOT	EQU	3
FPF_TALLDOT	EQU	1<<3
FPB_WIDEDOT	EQU	4
FPF_WIDEDOT	EQU	1<<4
FPB_PROPORTIONAL	EQU	5
FPF_PROPORTIONAL	EQU	1<<5
FPB_DESIGNED	EQU	6
FPF_DESIGNED	EQU	1<<6
FPB_REMOVED	EQU	7
FPF_REMOVED	EQU	1<<7

	rsreset
TextAttr	rs.b	0
ta_Name		rs.l	1
ta_YSize	rs.w	1
ta_Style	rs.b	1
ta_Flags	rs.b	1
ta_SIZEOF	rs.w	0

	rsreset
TTextAttr	rs.b	0
tta_Name	rs.l	1
tta_YSize	rs.w	1
tta_Style	rs.b	1
tta_Flags	rs.b	1
tta_Tags	rs.l	1
tta_SIZEOF	rs.w	0
TA_DeviceDPI	EQU	1!TAG_USER
MAXFONTMATCHWEIGHT EQU	32767

	rsreset
TextFont	rs.b	MN_SIZE
tf_YSize	rs.w	1
tf_Style	rs.b	1
tf_Flags	rs.b	1
tf_XSize	rs.w	1
tf_Baseline	rs.w	1
tf_BoldSmear	rs.w	1
tf_Accessors	rs.w	1
tf_LoChar	rs.b	1
tf_HiChar	rs.b	1
tf_CharData	rs.l	1
tf_Modulo	rs.w	1
tf_CharLoc	rs.l	1
tf_CharSpace	rs.l	1
tf_CharKern	rs.l	1
tf_SIZEOF	rs.w	0
tf_Extension	EQU	MN_REPLYPORT
TE0B_NOREMFONT	EQU	0
TE0F_NOREMFONT	EQU	1<<0

	rsreset
TextFontExtension rs.b	0
tfe_MatchWord	rs.w	1
tfe_Flags0	rs.b	1
tfe_Flags1	rs.b	1
tfe_BackPtr	rs.l	1
tfe_OrigReplyPort rs.l	1
tfe_Tags	rs.l	1
tfe_OFontPatchS	rs.l	1
tfe_OFontPatchK	rs.l	1
tfe_SIZEOF	rs.w	0

CT_COLORFONT	EQU	$0001
CT_GREYFONT	EQU	$0002
CT_ANTIALIAS	EQU	$0004
CTB_MAPCOLOR	EQU	0
CTF_MAPCOLOR	EQU	1<<0

	rsreset
ColorFontColors	rs.b	0
cfc_Reserved	rs.w	1
cfc_Count	rs.w	1
cfc_ColorTable	rs.l	1
cfc_SIZEOF	rs.w	0

	rsreset
ColorTextFont	rs.b	tf_SIZEOF
ctf_Flags	rs.w	1
ctf_Depth	rs.b	1
ctf_FgColor	rs.b	1
ctf_Low		rs.b	1
ctf_High	rs.b	1
ctf_PlanePick	rs.b	1
ctf_PlaneOnOff	rs.b	1
ctf_ColorFontColors	rs.l	1
ctf_CharData	rs.b	8*4
ctf_SIZEOF	rs.w	0

	rsreset
TextExtent	rs.b	0
te_Width	rs.w	1
te_Height	rs.w	1
te_Extent	rs.b	8
te_SIZEOF	rs.w	0

	ENDC	;GRAPHICS_TEXT_I
