Changes

Jump to: navigation, search

FZX format

36 bytes added, 19:56, 25 January 2016
m
Parameters in bold
== Header ==
'''height ''' - vertical gap between baselines in pixels
This is the number of pixels to move down after a carriage return.
'''tracking ''' - horizontal gap between characters in pixels
Character definitions should not include any white space and this value should normally be a positive number. It may be zero for script style fonts where characters run together.
'''lastchar ''' - the ASCII code of the last definition in the font
All characters up to and including this character must have an entry in the list of definitions although the entry can be blank.
'''offset ''' - word containing the offset to the character definition (plus any kern in the high two bits)
This is calculated from the start of the table and stored as an offset rather than an absolute address to make the font relocatable. The kern is the left shift towards the previous character and can be between 1 and 3 pixels.
'''shift ''' - nibble containing the amount of leading for the character (0-15)
This is the number of vertical pixels to skip before drawing the character. When more than 15 pixels of white space are required the additional white space must be added to the character definition.
'''width ''' - nibble containing the width of the character (1-16)
The width of the character definition in pixels. The value stores is one less than the required value.
56
edits

Navigation menu