Matrix-orbital GLC24064 Manual de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 44
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
Figure 20: Bitmaps for h, i, and j
Now the bitmaps have to be converted to bytes. If the font is 8 bits high, it will become a fairly simple
job because each vertical column is simply one byte (lsb at the top). In this case, however, the font is only 7
bits high so the bytes ’wrap around’.
Figure 21: Bytes for a 7 bit high font
We’ve marked in the bits that are set for the letter "h". Remember that the bytes are ’inverted’ (i.e., the
LSB is at the top). Each byte is shown in a different color in the diagram. When the bytes are straightened
out, it’s simple enough to find their hex values, which are shown in the diagram above each byte. Trailing
zero bytes at the end of narrow characters are not included in the file.
Now let’s look at the file itself.
Table 9: Example Font File
0xFF 0xFF 0X05 0x07 0x68 0x6A 0x00 0x0F
0x05 0x00 0x14 0x03 0x00 0x17 0x04 0x7F
0x04 0x81 0x80 0x07 0xC4 0x3E 0x10 0x02
0x20 0xB1 0x07
The colors refer to: Font information header, character
“h”, character “i”, character “j”.
Explanation of the bytes in the file;
(All values below are in hex)
Matrix Orbital GLC24064 26
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 43 44

Comentarios a estos manuales

Sin comentarios