dora you are right we can not use from that code,
my font store is different to your saving, you save 2 bytes for a pixel means you save color of your characters too, I don't store my fonts like this, look at this:
flash unsigned char calibri20[]=
{
0x00, /* Proportional font */
0x21, /* Font height */
0x20, /* First character */
0x60, /* Number of characters in font */
/* Character widths */
0x0E, 0x09, 0x0B, 0x0D, 0x0E, 0x13, 0x12, 0x06,
0x08, 0x08, 0x0D, 0x0D, 0x07, 0x08, 0x07, 0x0A,
0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E,
0x0E, 0x0E, 0x07, 0x07, 0x0D, 0x0D, 0x0D, 0x0D,
0x18, 0x10, 0x0F, 0x0E, 0x11, 0x0D, 0x0C, 0x11,
0x11, 0x07, 0x09, 0x0E, 0x0B, 0x17, 0x11, 0x12,
0x0E, 0x12, 0x0F, 0x0C, 0x0D, 0x11, 0x0F, 0x18,
0x0E, 0x0D, 0x0D, 0x08, 0x0A, 0x08, 0x0D, 0x0E,
0x08, 0x0D, 0x0E, 0x0B, 0x0E, 0x0D, 0x09, 0x0D,
0x0E, 0x06, 0x06, 0x0C, 0x06, 0x16, 0x0E, 0x0E,
0x0E, 0x0E, 0x09, 0x0B, 0x09, 0x0E, 0x0C, 0x13,
0x0C, 0x0C, 0x0B, 0x08, 0x0C, 0x08, 0x0D, 0x0E,
/* Code: 0x20, ASCII Character: ' ' */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00,
/* Code: 0x21, ASCII Character: '!' */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00,
0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00,
0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00,
0x38, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00,
/* Code: 0x22, ASCII Character: '"' */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x8C, 0x01, 0x8C, 0x01, 0x8C, 0x01, 0x8C, 0x01,
0x8C, 0x01, 0x8C, 0x01, 0x8C, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00,
this is my format,we save 0,1 format for fonts.
every where we need font set our color and use this variable for writing it to tft by our color.
fonts save in my memory like this.
I will send my function for write to tft.