56
edits
m (Parameters in bold) |
(Added illustrative image (it was very hard to understand the format description without a visual reference)) |
||
Line 8: | Line 8: | ||
* up to 244 characters per font (code 32 to 255) | * up to 244 characters per font (code 32 to 255) | ||
The format consists of a three byte header followed by a variable-length table and a variable-length set of character definitions. | The following image (presented as loading screen by FZX driver) illustrates how most definition parameters (detailed below) are combined to generate the image of each character: | ||
[[File:FZX.gif]] | |||
The FZX format consists of a three byte header (containing parameters in yellow that are applied to the entire fontset), followed by a variable-length table containing data for each character (containing character parameters in cyan and magenta), and a variable-length set of character definitions. | |||
== Header == | == Header == | ||
Line 52: | Line 56: | ||
16 * shift + width - 1 | 16 * shift + width - 1 | ||
== Definitions == | == Character Definitions == | ||
The character definitions consist of a byte or pair of bytes for each row of the character, depending on whether the character is 1 to 8 pixels wide (byte), or 9 to 16 pixels wide (pair of bytes). | The character definitions consist of a byte or pair of bytes for each row of the character, depending on whether the character is 1 to 8 pixels wide (byte), or 9 to 16 pixels wide (pair of bytes). | ||
[[category:specifications]] | [[category:specifications]] | ||
[[category:native_file_formats]] | [[category:native_file_formats]] |
edits