| Unit Information | Global Constants | Types | MFFFont |
| Normal Types |
charOFFSETS=array[1..255]of longintthe array of all char offsets in the file of the selected stylePBYTE=^BYTEpointer to a byteP_SPECIFIC_STYLE_INFO=^MFF_SPECIFIC_STYLE_INFOpointer to a specific style infoP_GENERAL_STYLE_INFO=^MFF_GENERAL_STYLE_INFOpointer to the general style info
| Record Types |
| field name | field type | description |
|---|---|---|
| ID | WORD | the mathan font file id-word (=$B673) |
| Version | WORD | the version of the mathan font file (=$0500) |
| FontName | string[22] | the name of the font stored in the file |
| Styles | BYTE | the number of different styles stored in the file |
| CRC | LONGINT | the checksum of the entire file |
| field name | field type | description |
|---|---|---|
| Size | BYTE | pixel size of font |
| Special | BYTE | special sytle (fntITALIC,fntBOLD) |
| Chars | BYTE | number of chars in this style |
| Next | LONGINT | offset (from begin of file) to the next style |
| Version | BYTE | version of data storing |
| CRC | LONGINT | the style checksum |
| field name | field type | description |
|---|---|---|
| C | CHAR | the char represented by the data |
| W | BYTE | the width of the char |
| V | BYTE | the ascent height |
| V2 | BYTE | the descent height |
| R | BYTE | if non-zero data is represented by the data of this char |
| field name | field type | description |
|---|---|---|
| WIDTH | byte | the width of the char |
| Y1 | integer | the top position |
| Y2 | integer | the bottom position |
| REPRESENTED_BY | byte | the char which data is also this data |
| DATA | PBYTE | pointer to the data |
| field name | field type | description |
|---|---|---|
| SPEED | boolean | true if data is stored for fast access, false if data is stored with minimum memory usage |
| CHARS | array[1..255]of MFF_CHAR_DATA_type | all char entries |
| field name | field type | description |
|---|---|---|
| Name | string | the name of the font |
| Size | byte | the size of the font |
| Special | byte | the special style flags |
| Fileofs | longint | the offset in the font file |
| Filename | string | the name of the font file |
| CHARS | byte | the number of chars in this style |
| DATA | P_SPECIFIC_STYLE_INFO | pointer to the specific style info |
| field name | field type | description |
|---|---|---|
| CURRENT | P_GENERAL_STYLE_INFO | the pointer to the current selected style (general style info) |
| STYLE | array[1..64]of P_GENERAL_STYLE_INFO | 64 pointers to genera style infos |
| Styles | word | the number of styles |