DEGAS Elite Font file format

From Atari Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
DEGAS Elite Font    *.FNT

The font format defines characters 0-127.
Each character is stored as 16 bytes, one byte for each row in the character. 
Characters are rendered as 8x16 pixels, thus 16 * 128 = 2048 bytes.

2048 bytes    character data
1 word        half height flag [0 = not allowed, 1 = allowed]
----------
2050 bytes    total for file

Example character:
Byte 1  -> 00000000
Byte 2  -> 00001000
Byte 3  -> 00011100
.          00111110
.          01110111
.          01100011
.          01100011
.          01100011
.          01111111
.          01111111
.          01100011
.          01100011
.          01100011
.          01100011
.          01100011
Byte 16 -> 01100011

Character data:
16 bytes of character 0
16 bytes of character 1
16 bytes of character 2
.
.
16 bytes of character 127

Tacked on the end of the file is the half height flag.
Note: Some files are 2048 bytes because they are missing this extra word.

Back to ST Picture Formats