Datamax-O'Neil VMP SERIES AN-16 (Single Byte Character Set Font File Format) User Manual

Page 4

Advertising
background image









If the font is a proportionally spaced font, then two bytes are added to the beginning of EACH bitmap that represents a
character. The two bytes are the width of that particular character, LSB first.

The letter "A" then might be built as follows (note that even though the character is only 12 dots wide, we must represent it
with two full bytes, or 16 dots):

CELL EXAMPLE #1:

0000011000000000

->

006h & 000h

0000011000000000

->

006h & 000h

0000111100000000

->

00fh & 000h

0000111100000000

->

00fh & 000h

0001111110000000

->

01fh & 080h

0001100110000000

->

019h & 080h

0011100111000000

->

039h & 0c0h

0011111111000000

->

03fh & 0c0h

0111111111100000

->

07fh & 0e0h

0110000001100000

->

060h & 060h

1110000001110000

->

0e0h & 070h

1100000000110000

->

0c0h & 030h

1100000000110000

->

0c0h & 030h

1100000000110000

->

0c0h & 030h

The "cell" for this character is 14 dots high and 12 dots wide. If, in the same font, we wanted to also represent the lower case
"j", with descenders (that part of the character below an imaginary line along the bottom of all upper case letters) we would
need to increase the cell size to 20 high from 14 high:



CELL EXAMPLE #2:

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000000 00000000 ->

000h & 000h

00000000 00000000 ->

000h & 000h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

00000001 10000000 ->

001h & 080h

01100001 10000000 ->

061h & 080h

01110011 10000000 ->

073h & 080h

00111111 00000000 ->

03fh & 000h

00011110 00000000 ->

01eh & 000h


Advertising