Front Format
Ok... i have searched the internet and found no good fornt format. So I have writen a design for a front file.
Font File Fomrat Spezification
--------------------------------
This Font Format is texture mapped font format. So it
is a mixture of a textrue and font format.
1. Header
2. Rest
1. Header
unsigned char FileID - Sould be a defined constant
unsigned char TotalFileSize
unsigned char ImageType
unsigned char ImageWidth
unsigned char ImageHeight
unsigned char BitsPerPixel
unsigned char HeightOfALetter
unsigned char WidthOfALetter
unsigned char Spacing
unsigned char CountX
unsigned char CountY
e.g:
CountX = 5
CountY = 5
-> The letters are in a 5x5 field
2. Rest
Unsigned char ImageData
1. What do you think about this format?
2. Is there anything missing for you?
Greets, Christian
Maybe a little "version" tag... If you ever wanna switch to version 2 you won''t have to change the ID, just the version number.
ToohrVyk
-------------
Extatica - a free 3d game engine
Available soon!
Click here to learn more
ToohrVyk
-------------
Extatica - a free 3d game engine
Available soon!
Click here to learn more
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement