/* -------------------------Modified history-------------------------- */
/*                                                                     */
/*  2002.10.01 : add character mapping table information               */
/*                                                                     */
/*---------------------------------------------------------------------*/
#define FOR_IBM_PC      1
#define HEAD_55AA       0                       /* 0x00 */
#define HEAD_VER        HEAD_55AA      +2       /* 0x02 */
#define HEAD_TOTALSIZE  HEAD_VER       +2       /* 0x04 */
#define HEAD_EGTMARK    HEAD_TOTALSIZE +4       /* 0x08 */
#define HEAD_MARK       HEAD_EGTMARK   +16      /* 0x18 */
#define HEAD_CUSTOM_ID  HEAD_MARK      +32      /* 0x38 */
#define HEAD_CHARSET    HEAD_CUSTOM_ID +2       /* 0x3a */
#define HEAD_TYPEFACE   HEAD_CHARSET   +2       /* 0x3c */
#define HEAD_METRICSPTR HEAD_TYPEFACE  +4       /* 0x40 */
#define HEAD_METRICSLEN HEAD_METRICSPTR+4       /* 0x44 */
#define HEAD_ICONPTR    HEAD_METRICSLEN+4       /* 0x48 */
#define HEAD_ICONLEN    HEAD_ICONPTR   +4       /* 0x4c */
#define HEAD_GLYPHPTR   HEAD_ICONLEN   +4       /* 0x50 */
#define HEAD_GLYPHLEN   HEAD_GLYPHPTR  +4       /* 0x54 */
#define HEAD_OFF2PTR    HEAD_GLYPHLEN  +4       /* 0x58 */
#define HEAD_OFF2LEN    HEAD_OFF2PTR   +4       /* 0x5c */
#define HEAD_VERT_PTR   HEAD_OFF2LEN   +4       /* 0x60 */
#define HEAD_VERT_LEN   HEAD_VERT_PTR  +4       /* 0x64 */
#define HEAD_GLYPHID    HEAD_VERT_LEN  +4       /* 0x68 */
#define HEAD_SMALLSIZE  HEAD_GLYPHID   +2       /* 0x6a */
#define HEAD_PTRCACHE   HEAD_SMALLSIZE +2       /* 0x6c */
#define HEAD_LENCACHE   HEAD_PTRCACHE  +4       /* 0x70 */
#define HEAD_BITMPPTR   HEAD_LENCACHE  +4       /* 0x74 */
#define HEAD_BITMPLEN   HEAD_BITMPPTR  +4       /* 0x78 */
#define HEAD_PTRCACHE2  HEAD_BITMPLEN  +4       /* 0x7c */
#define HEAD_LENCACHE2  HEAD_PTRCACHE2 +4       /* 0x80 */
#define HEAD_PROPOPTR   HEAD_LENCACHE2 +4       /* 0x84 */
#define HEAD_PROPOLEN   HEAD_PROPOPTR  +4       /* 0x88 */
#define HEAD_BMPSHARE   HEAD_PROPOLEN  +4       /* 0x8c */
#define HEAD_STROKE_BAS HEAD_BMPSHARE  +4       /* 0x90 */
#define HEAD_RESERVED1  HEAD_STROKE_BAS+4       /* 0x94 */
#define HEAD_AI         HEAD_RESERVED1 +4       /* 0x98 */
#define HEAD_AI_MAP     HEAD_AI        +4       /* 0x9c */
#define HEAD_CMAPPTR    HEAD_AI_MAP    +4       /* 0xa0 */
#define HEAD_CMAPLEN    HEAD_CMAPPTR   +4       /* 0xa4 */
#define HEAD_MET_FILE   HEAD_CMAPLEN   +4       /* 0xa8 */
#define HEAD_MET_NUM    HEAD_MET_FILE  +4       /* 0xac */
#define HEAD_RESERVED   HEAD_MET_NUM   +4       /* 0xb0 */
#define HEAD_GRID_STR   HEAD_RESERVED  +8      /*      */
#define NULL_PRETYPEFACE    0x7000

