LAF: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This page is some preliminary in-progress documentation for the Lucast Arts Font format (LAF). | This page is some preliminary in-progress documentation for the Lucast Arts Font format (LAF). | ||
== | == Preamble == | ||
0x00|Number of characters |4 bytes little endian | 0x00|Number of characters |4 bytes little endian | ||
0x04|Raw font data size |4 bytes little endian | 0x04|Raw font data size |4 bytes little endian | ||
Line 10: | Line 10: | ||
0x18|First character ASCII code |4 bytes little endian | 0x18|First character ASCII code |4 bytes little endian | ||
0x1C|Last character ASCII code |4 bytes little endian | 0x1C|Last character ASCII code |4 bytes little endian | ||
== Character Offset Table == | |||
After the preamble we have a table that contains the offset of each character's raw data in the file. Each such offset is 2 bytes little endian, and there are as many offsets as there are characters. |
Revision as of 15:19, 14 July 2006
This page is some preliminary in-progress documentation for the Lucast Arts Font format (LAF).
Preamble
0x00|Number of characters |4 bytes little endian 0x04|Raw font data size |4 bytes little endian 0x08|Max character width (pixels) |4 bytes little endian 0x0C|Max character height (pixels)|4 bytes little endian 0x10|Unknown |4 bytes little endian 0x14|Unknown |4 bytes little endian 0x18|First character ASCII code |4 bytes little endian 0x1C|Last character ASCII code |4 bytes little endian
Character Offset Table
After the preamble we have a table that contains the offset of each character's raw data in the file. Each such offset is 2 bytes little endian, and there are as many offsets as there are characters.