1,079
edits
Line 12: | Line 12: | ||
=== V3 charset format === | === V3 charset format === | ||
The header looks as follows: | |||
{| border="1" cellpadding="2" cellspacing="0" | |||
!Size !! Type !! Description | |||
|- | |||
|4 || || unknown | |||
|- | |||
|1 || byte || number of characters | |||
|- | |||
|1 || byte || height of the font | |||
|- | |||
|6 || bytes || character width table (one byte for every char) | |||
|} | |||
After this header the character data starts. Every character in the charset takes up exactly 8 bytes, representing 8x8 pixels in which the actual character is contained (the actual width and height of the char should be computed from the charset header). | |||
=== V4 charset format === | === V4 charset format === |
edits