Downloadable Fonts
(Word is a 16-bit value, Byte is an 8-bit value, and Label is a location within the file)
Label start:
Word, Word, lookup_table_offset
Word tallest_char
Word widest_char
Byte default_spacing
Byte byte_width
Byte first_char
Byte last_char
Byte default_char
Label lookup_table
Word char_offset [last_char-first_char]
Label first_char_data
Word char_height
Word char_width
Byte bitmap_data[char_height][byte_width]
7.6 Downloadable Font Command Summary
The following commands refer to the use of downloadable fonts and graphics:
.
7-6
the beginning of the file
distance in bytes from start to beginning of
lookup_table (4 bytes)
height of graphic image in dots
Width of graphic image in dots
Default spacing, usually 0
Width of graphic image in bytes
20 HEX
20 HEX
20 HEX
beginning of lookup table
an array of offsets, one for each character in
font. Each offset is the distance, in bytes,
from the start to the beginning of the
corresponding character's data structure.
The first word in this array is the offset to the
first character's data; the last word is the
offset to the last character's data.
the beginning of the graphic image data
height of this character's bitmap in dots
width of the graphic image in dots
bitmap of character, 2d array. The most
significant bit of the first byte in each row,
prints as the right most dot of the character,
and the first row is the bottom row when
printed.
438TC Operator's Manual - 880050-0100
Chapter 7
Need help?
Do you have a question about the 438TC and is the answer not in the manual?
Questions and answers