Isle of the Dead Font Format
Jump to navigation
Jump to search
Isle of the Dead Font Format
There is no image of a font in this format — upload one!
| Format type | Font |
|---|---|
| Max glyph count | 89 |
| Minimum glyph size (pixels) | 0×0 |
| Maximum glyph size (pixels) | 255×255 |
| Access mode | Sequential |
| Metadata? | None |
| Bitmap glyphs? | Yes |
| Vector glyphs? | No |
| Compressed glyphs? | No |
| Hidden data? | No |
| Games |
The font used in the game Isle of the Dead is a monochrome bitmap font, which starts at the exclamation(!) character (0x21) and contains 89 characters, meaning it goes up to 0x7A (z). For some reason, the space character is mapped to 0x5F.
Header
| Offset | Data type | Name | Description |
|---|---|---|---|
| 0x00 | UINT8 | Width | Symbol width |
| 0x01 | UINT8 | Height | Symbol height |
| 0x02 | UINT16 | Padding | Unused (zero filled) |
| 0x04 | UINT16 | Count | Number of symbols in this file |
| 0x06 | UINT8[12] | Name | Font name |
Image data
Each symbol is defined as a bitmap of pixels, with each byte describing a pixel in the bitmap.
As an example, the exclamation point character is defined as:
0x00, 0x00, 0x00, 0x00, 0x00 0x00, 0x00, 0x01, 0x00, 0x00 0x00, 0x00, 0x01, 0x00, 0x00 0x00, 0x00, 0x01, 0x00, 0x00 0x00, 0x00, 0x01, 0x00, 0x00 0x00, 0x00, 0x01, 0x00, 0x00 0x00, 0x00, 0x00, 0x00, 0x00 0x00, 0x00, 0x01, 0x00, 0x00
To calculate a symbol's image data in the file is simple; take the symbol's ascii code, subtract 0x21 (to compensate for the start symbol), multiply by (width*height), and add 0x12 (to compensate for the header).