#ifndef __TTF_H
#define __TTF_H

#include <stdio.h>


typedef unsigned char BYTE;
typedef signed char CHAR;
typedef unsigned short USHORT;
typedef signed short SHORT;
typedef unsigned long ULONG;
typedef signed long LONG;
typedef ULONG Fixed;
typedef USHORT FUnit;
typedef signed short FWord;
typedef USHORT uFWord;
typedef USHORT F2Dot14;

BYTE get_BYTE(FILE *fp);
USHORT get_USHORT(FILE *fp);
SHORT get_SHORT(FILE *fp);
ULONG get_ULONG(FILE *fp);
LONG get_LONG(FILE *fp);
Fixed get_Fixed(FILE *fp);
FWord get_FWord(FILE *fp);
F2Dot14 get_F2Dot14(FILE *fp);
#define TTFALLOC(type) ((type *) ttf_alloc(sizeof(type)))

/* public interface routine */
void RENDER_Init();

#endif
