MBED Import of ADAFRUIT graphics library, BSD License

Dependents:   GP9002adafruit GP9002af_gray

Notes on this library

This was imported into MBED specifically to support the GP9002 VFD, as a result it has some "hacks" to optimize it for the GP9002.

Due to the GP9002 internal organization it draws vertical lines much faster than horizontal (assuming you orient it "landscape"). This is likely to be true of other displays that have bits in a byte arranged vertically, which seems a common theme in small GLCDs. Some types may have a more CGA-like memory organization and will draw faster horizontally.

On a vertical-organised display the graphics functions are often substantially faster if X and Y are exchanged, especially with the dot-write optimization. This is because vertical lines can be written byte-at-a-time with no need for read-modify-write, and even when individual bits are written a significant number will "land" in the byte previously written. In contrast a horizontal line would require changing one bit of each byte in turn, requiring a sequence of set-address,read,write operations for each dot in turn.

I've hacked this in the library. I forget exactly how but I believe I simply exchanged X with W in the code for drawing filled shapes.

I would like to come up with a more generic way to do this, such as having internal coordinates that are not defined as X and Y, then leaving it up to the display library to "wrap" them in the way that is best for that display.

I would like to apologize for abandoning this project, but the test harness still exists and I might return to it, though I'm more interested in TFT systems like the STM discovery now.

Fonts/FreeSans12pt7b.h

Committer:
oliverb
Date:
2016-05-07
Revision:
0:3bf8ef959338

File content as of revision 0:3bf8ef959338:

const uint8_t FreeSans12pt7bBitmaps[] PROGMEM = {
  0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xCF, 0x3C, 0xF3, 0x8A, 0x20, 0x06, 0x30,
  0x31, 0x03, 0x18, 0x18, 0xC7, 0xFF, 0xBF, 0xFC, 0x31, 0x03, 0x18, 0x18,
  0xC7, 0xFF, 0xBF, 0xFC, 0x31, 0x01, 0x18, 0x18, 0xC0, 0xC6, 0x06, 0x30,
  0x04, 0x03, 0xE1, 0xFF, 0x72, 0x6C, 0x47, 0x88, 0xF1, 0x07, 0x20, 0x7E,
  0x03, 0xF0, 0x17, 0x02, 0x3C, 0x47, 0x88, 0xF1, 0x1B, 0x26, 0x7F, 0xC3,
  0xE0, 0x10, 0x02, 0x00, 0x00, 0x06, 0x03, 0xC0, 0x40, 0x7E, 0x0C, 0x0E,
  0x70, 0x80, 0xC3, 0x18, 0x0C, 0x31, 0x00, 0xE7, 0x30, 0x07, 0xE6, 0x00,
  0x3C, 0x40, 0x00, 0x0C, 0x7C, 0x00, 0x8F, 0xE0, 0x19, 0xC7, 0x01, 0x18,
  0x30, 0x31, 0x83, 0x02, 0x1C, 0x70, 0x40, 0xFE, 0x04, 0x07, 0xC0, 0x0F,
  0x00, 0x7E, 0x03, 0x9C, 0x0C, 0x30, 0x30, 0xC0, 0xE7, 0x01, 0xF8, 0x03,
  0x80, 0x3E, 0x01, 0xCC, 0x6E, 0x19, 0xB0, 0x7C, 0xC0, 0xF3, 0x03, 0xCE,
  0x1F, 0x9F, 0xE6, 0x1E, 0x1C, 0xFF, 0xA0, 0x08, 0x8C, 0x66, 0x31, 0x98,
  0xC6, 0x31, 0x8C, 0x63, 0x08, 0x63, 0x08, 0x61, 0x0C, 0x20, 0x82, 0x18,
  0xC3, 0x18, 0xC3, 0x18, 0xC6, 0x31, 0x8C, 0x62, 0x31, 0x88, 0xC4, 0x62,
  0x00, 0x10, 0x23, 0x5B, 0xE3, 0x8D, 0x91, 0x00, 0x0C, 0x03, 0x00, 0xC0,
  0x30, 0xFF, 0xFF, 0xF0, 0xC0, 0x30, 0x0C, 0x03, 0x00, 0xC0, 0xF5, 0x60,
  0xFF, 0xF0, 0xF0, 0x02, 0x0C, 0x10, 0x20, 0xC1, 0x02, 0x0C, 0x10, 0x20,
  0xC1, 0x02, 0x0C, 0x10, 0x20, 0xC1, 0x00, 0x1F, 0x07, 0xF1, 0xC7, 0x30,
  0x6E, 0x0F, 0x80, 0xF0, 0x1E, 0x03, 0xC0, 0x78, 0x0F, 0x01, 0xE0, 0x3C,
  0x0E, 0xC1, 0x9C, 0x71, 0xFC, 0x1F, 0x00, 0x08, 0xCF, 0xFF, 0x8C, 0x63,
  0x18, 0xC6, 0x31, 0x8C, 0x63, 0x18, 0x1F, 0x0F, 0xF9, 0x87, 0x60, 0x7C,
  0x06, 0x00, 0xC0, 0x18, 0x07, 0x01, 0xC0, 0xF0, 0x78, 0x1C, 0x06, 0x00,
  0x80, 0x30, 0x07, 0xFF, 0xFF, 0xE0, 0x3F, 0x0F, 0xF3, 0x87, 0x60, 0x6C,
  0x0C, 0x01, 0x80, 0x70, 0x7C, 0x0F, 0x80, 0x18, 0x01, 0x80, 0x3C, 0x07,
  0x80, 0xD8, 0x73, 0xFC, 0x1F, 0x00, 0x01, 0x80, 0x70, 0x0E, 0x03, 0xC0,
  0xD8, 0x1B, 0x06, 0x61, 0x8C, 0x21, 0x8C, 0x33, 0x06, 0x7F, 0xFF, 0xFE,
  0x03, 0x00, 0x60, 0x0C, 0x01, 0x80, 0x3F, 0xCF, 0xF9, 0x80, 0x30, 0x06,
  0x00, 0xDE, 0x1F, 0xE7, 0x0E, 0x00, 0xE0, 0x0C, 0x01, 0x80, 0x30, 0x07,
  0x81, 0xF8, 0x73, 0xFC, 0x1F, 0x00, 0x0F, 0x07, 0xF9, 0xC3, 0x30, 0x74,
  0x01, 0x80, 0x33, 0xC7, 0xFE, 0xF0, 0xDC, 0x1F, 0x01, 0xE0, 0x3C, 0x06,
  0xC1, 0xDC, 0x71, 0xFC, 0x1F, 0x00, 0xFF, 0xFF, 0xFC, 0x01, 0x00, 0x60,
  0x18, 0x02, 0x00, 0xC0, 0x30, 0x06, 0x01, 0x80, 0x30, 0x04, 0x01, 0x80,
  0x30, 0x06, 0x01, 0x80, 0x30, 0x00, 0x1F, 0x07, 0xF1, 0xC7, 0x30, 0x66,
  0x0C, 0xC1, 0x8C, 0x61, 0xFC, 0x3F, 0x8E, 0x3B, 0x01, 0xE0, 0x3C, 0x07,
  0x80, 0xD8, 0x31, 0xFC, 0x1F, 0x00, 0x1F, 0x07, 0xF1, 0xC7, 0x70, 0x6C,
  0x07, 0x80, 0xF0, 0x1E, 0x07, 0x61, 0xEF, 0xFC, 0x79, 0x80, 0x30, 0x05,
  0x81, 0x98, 0x73, 0xFC, 0x1E, 0x00, 0xF0, 0x00, 0x03, 0xC0, 0xF0, 0x00,
  0x0F, 0x56, 0x00, 0x00, 0x07, 0x01, 0xE0, 0xF8, 0x3C, 0x0F, 0x00, 0xE0,
  0x07, 0xC0, 0x0F, 0x00, 0x3C, 0x00, 0xF0, 0x01, 0xFF, 0xFF, 0xFF, 0x00,
  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0x0E, 0x00, 0x78, 0x01, 0xF0, 0x07,
  0xC0, 0x0F, 0x00, 0x70, 0x1E, 0x0F, 0x03, 0xC0, 0xF0, 0x08, 0x00, 0x1F,
  0x1F, 0xEE, 0x1B, 0x03, 0xC0, 0xC0, 0x30, 0x0C, 0x06, 0x03, 0x81, 0xC0,
  0xE0, 0x30, 0x0C, 0x03, 0x00, 0x00, 0x00, 0x0C, 0x03, 0x00, 0x00, 0xFE,
  0x00, 0x0F, 0xFE, 0x00, 0xF0, 0x3E, 0x07, 0x00, 0x3C, 0x38, 0x00, 0x30,
  0xC1, 0xE0, 0x66, 0x0F, 0xD9, 0xD8, 0x61, 0xC3, 0xC3, 0x07, 0x0F, 0x1C,
  0x1C, 0x3C, 0x60, 0x60, 0xF1, 0x81, 0x83, 0xC6, 0x06, 0x1B, 0x18, 0x38,
  0xEE, 0x71, 0xE7, 0x18, 0xFD, 0xF8, 0x71, 0xE7, 0xC0, 0xE0, 0x00, 0x01,
  0xE0, 0x00, 0x01, 0xFF, 0xC0, 0x01, 0xFC, 0x00, 0x03, 0xC0, 0x03, 0xC0,
  0x03, 0xC0, 0x07, 0xE0, 0x06, 0x60, 0x06, 0x60, 0x0E, 0x70, 0x0C, 0x30,
  0x0C, 0x30, 0x1C, 0x38, 0x18, 0x18, 0x1F, 0xF8, 0x3F, 0xFC, 0x30, 0x1C,
  0x30, 0x0C, 0x70, 0x0E, 0x60, 0x06, 0x60, 0x06, 0xFF, 0xC7, 0xFF, 0x30,
  0x19, 0x80, 0x6C, 0x03, 0x60, 0x1B, 0x00, 0xD8, 0x0C, 0xFF, 0x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 0x03, 0xC0, 0x01, 0xE0, 0x00, 0xF0, 0x00, 0x78, 0x00, 0x36, 0x00,
  0x33, 0x00, 0x18, 0xC0, 0x18, 0x78, 0x3C, 0x1F, 0xFC, 0x03, 0xF8, 0x00,
  0xFF, 0x8F, 0xFE, 0xC0, 0x6C, 0x03, 0xC0, 0x3C, 0x03, 0xC0, 0x3C, 0x07,
  0xFF, 0xEF, 0xFC, 0xC0, 0x0C, 0x00, 0xC0, 0x0C, 0x00, 0xC0, 0x0C, 0x00,
  0xC0, 0x0C, 0x00, 0x03, 0xE0, 0x0F, 0xFC, 0x0F, 0x07, 0x86, 0x00, 0xC6,
  0x00, 0x33, 0x00, 0x1B, 0x00, 0x07, 0x80, 0x03, 0xC0, 0x01, 0xE0, 0x00,
  0xF0, 0x00, 0x78, 0x00, 0x36, 0x00, 0x33, 0x01, 0x98, 0xC0, 0xFC, 0x78,
  0x3C, 0x1F, 0xFF, 0x03, 0xF9, 0x80, 0x00, 0x40, 0xFF, 0xC3, 0xFF, 0xCC,
  0x03, 0xB0, 0x06, 0xC0, 0x1B, 0x00, 0x6C, 0x01, 0xB0, 0x0C, 0xFF, 0xE3,
  0xFF, 0xCC, 0x03, 0xB0, 0x06, 0xC0, 0x1B, 0x00, 0x6C, 0x01, 0xB0, 0x06,
  0xC0, 0x1B, 0x00, 0x70, 0x0F, 0xE0, 0x7F, 0xC3, 0x83, 0x9C, 0x07, 0x60,
  0x0D, 0x80, 0x06, 0x00, 0x1E, 0x00, 0x3F, 0x80, 0x3F, 0xC0, 0x0F, 0x80,
  0x07, 0xC0, 0x0F, 0x00, 0x3E, 0x00, 0xDE, 0x0E, 0x3F, 0xF0, 0x3F, 0x80,
  0xFF, 0xFF, 0xFF, 0x06, 0x00, 0x60, 0x06, 0x00, 0x60, 0x06, 0x00, 0x60,
  0x06, 0x00, 0x60, 0x06, 0x00, 0x60, 0x06, 0x00, 0x60, 0x06, 0x00, 0x60,
  0x06, 0x00, 0x60, 0xC0, 0x1E, 0x00, 0xF0, 0x07, 0x80, 0x3C, 0x01, 0xE0,
  0x0F, 0x00, 0x78, 0x03, 0xC0, 0x1E, 0x00, 0xF0, 0x07, 0x80, 0x3C, 0x01,
  0xE0, 0x0F, 0x80, 0xEE, 0x0E, 0x3F, 0xE0, 0x7C, 0x00, 0x60, 0x06, 0xC0,
  0x1D, 0xC0, 0x31, 0x80, 0x63, 0x01, 0xC7, 0x03, 0x06, 0x06, 0x0C, 0x1C,
  0x1C, 0x30, 0x18, 0x60, 0x31, 0xC0, 0x73, 0x00, 0x66, 0x00, 0xDC, 0x01,
  0xF0, 0x01, 0xE0, 0x03, 0xC0, 0x07, 0x00, 0xE0, 0x30, 0x1D, 0x80, 0xE0,
  0x76, 0x07, 0x81, 0xD8, 0x1E, 0x06, 0x70, 0x7C, 0x18, 0xC1, 0xB0, 0xE3,
  0x0C, 0xC3, 0x8C, 0x33, 0x0C, 0x38, 0xC6, 0x30, 0x67, 0x18, 0xC1, 0x98,
  0x67, 0x06, 0x61, 0xD8, 0x1D, 0x83, 0x60, 0x3C, 0x0D, 0x80, 0xF0, 0x3E,
  0x03, 0xC0, 0x70, 0x0F, 0x01, 0xC0, 0x18, 0x07, 0x00, 0x70, 0x0E, 0x60,
  0x38, 0xE0, 0x60, 0xE1, 0xC0, 0xC3, 0x01, 0xCC, 0x01, 0xF8, 0x01, 0xE0,
  0x03, 0x80, 0x07, 0x80, 0x1F, 0x00, 0x33, 0x00, 0xE7, 0x03, 0x86, 0x06,
  0x0E, 0x1C, 0x0E, 0x70, 0x0C, 0xC0, 0x1C, 0x60, 0x06, 0x70, 0x0E, 0x30,
  0x1C, 0x38, 0x18, 0x1C, 0x38, 0x0C, 0x30, 0x0E, 0x70, 0x06, 0x60, 0x03,
  0xC0, 0x03, 0xC0, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01,
  0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0xFF, 0xFF, 0xFF, 0xC0, 0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C, 0x1B,
  0x03, 0x60, 0x3C, 0x07, 0x00, 0xE0, 0x18, 0x03, 0x00, 0xE0, 0x78, 0x0E,
  0x00, 0xFF, 0xFF, 0xF0, 0x18, 0x0C, 0x07, 0x03, 0x81, 0xC0, 0x60, 0x30,
  0x18, 0x0E, 0x03, 0xFF, 0xFF, 0xC0, 0x19, 0xCC, 0x63, 0x18, 0xC6, 0x31,
  0x99, 0x86, 0x18, 0xC6, 0x31, 0x8C, 0x63, 0x1C, 0x60, 0xFF, 0xFF, 0xFF,
  0xFF, 0xFF, 0xFC, 0xC7, 0x18, 0xC6, 0x31, 0x8C, 0x63, 0x0C, 0x33, 0x31,
  0x8C, 0x63, 0x18, 0xC6, 0x73, 0x00, 0x70, 0x3E, 0x09, 0xE4, 0x1F, 0x03,
  0x80 };

const GFXglyph FreeSans12pt7bGlyphs[] PROGMEM = {
  {     0,   0,   0,   6,    0,    1 },   // 0x20 ' '
  {     0,   2,  18,   8,    3,  -17 },   // 0x21 '!'
  {     5,   6,   6,   8,    1,  -16 },   // 0x22 '"'
  {    10,  13,  16,  13,    0,  -15 },   // 0x23 '#'
  {    36,  11,  20,  13,    1,  -17 },   // 0x24 '$'
  {    64,  20,  17,  21,    1,  -16 },   // 0x25 '%'
  {   107,  14,  17,  16,    1,  -16 },   // 0x26 '&'
  {   137,   2,   6,   5,    1,  -16 },   // 0x27 '''
  {   139,   5,  23,   8,    2,  -17 },   // 0x28 '('
  {   154,   5,  23,   8,    1,  -17 },   // 0x29 ')'
  {   169,   7,   7,   9,    1,  -17 },   // 0x2A '*'
  {   176,  10,  11,  14,    2,  -10 },   // 0x2B '+'
  {   190,   2,   6,   7,    2,   -1 },   // 0x2C ','
  {   192,   6,   2,   8,    1,   -7 },   // 0x2D '-'
  {   194,   2,   2,   6,    2,   -1 },   // 0x2E '.'
  {   195,   7,  18,   7,    0,  -17 },   // 0x2F '/'
  {   211,  11,  17,  13,    1,  -16 },   // 0x30 '0'
  {   235,   5,  17,  13,    3,  -16 },   // 0x31 '1'
  {   246,  11,  17,  13,    1,  -16 },   // 0x32 '2'
  {   270,  11,  17,  13,    1,  -16 },   // 0x33 '3'
  {   294,  11,  17,  13,    1,  -16 },   // 0x34 '4'
  {   318,  11,  17,  13,    1,  -16 },   // 0x35 '5'
  {   342,  11,  17,  13,    1,  -16 },   // 0x36 '6'
  {   366,  11,  17,  13,    1,  -16 },   // 0x37 '7'
  {   390,  11,  17,  13,    1,  -16 },   // 0x38 '8'
  {   414,  11,  17,  13,    1,  -16 },   // 0x39 '9'
  {   438,   2,  13,   6,    2,  -12 },   // 0x3A ':'
  {   442,   2,  16,   6,    2,  -11 },   // 0x3B ';'
  {   446,  12,  12,  14,    1,  -11 },   // 0x3C '<'
  {   464,  12,   6,  14,    1,   -8 },   // 0x3D '='
  {   473,  12,  12,  14,    1,  -11 },   // 0x3E '>'
  {   491,  10,  18,  13,    2,  -17 },   // 0x3F '?'
  {   514,  22,  21,  24,    1,  -17 },   // 0x40 '@'
  {   572,  16,  18,  16,    0,  -17 },   // 0x41 'A'
  {   608,  13,  18,  16,    2,  -17 },   // 0x42 'B'
  {   638,  15,  18,  17,    1,  -17 },   // 0x43 'C'
  {   672,  14,  18,  17,    2,  -17 },   // 0x44 'D'
  {   704,  12,  18,  15,    2,  -17 },   // 0x45 'E'
  {   731,  11,  18,  14,    2,  -17 },   // 0x46 'F'
  {   756,  16,  18,  18,    1,  -17 },   // 0x47 'G'
  {   792,  13,  18,  17,    2,  -17 },   // 0x48 'H'
  {   822,   2,  18,   7,    2,  -17 },   // 0x49 'I'
  {   827,   9,  18,  13,    1,  -17 },   // 0x4A 'J'
  {   848,  14,  18,  16,    2,  -17 },   // 0x4B 'K'
  {   880,  10,  18,  14,    2,  -17 },   // 0x4C 'L'
  {   903,  16,  18,  20,    2,  -17 },   // 0x4D 'M'
  {   939,  13,  18,  18,    2,  -17 },   // 0x4E 'N'
  {   969,  17,  18,  19,    1,  -17 },   // 0x4F 'O'
  {  1008,  12,  18,  16,    2,  -17 },   // 0x50 'P'
  {  1035,  17,  19,  19,    1,  -17 },   // 0x51 'Q'
  {  1076,  14,  18,  17,    2,  -17 },   // 0x52 'R'
  {  1108,  14,  18,  16,    1,  -17 },   // 0x53 'S'
  {  1140,  12,  18,  15,    1,  -17 },   // 0x54 'T'
  {  1167,  13,  18,  17,    2,  -17 },   // 0x55 'U'
  {  1197,  15,  18,  15,    0,  -17 },   // 0x56 'V'
  {  1231,  22,  18,  22,    0,  -17 },   // 0x57 'W'
  {  1281,  15,  18,  16,    0,  -17 },   // 0x58 'X'
  {  1315,  16,  18,  16,    0,  -17 },   // 0x59 'Y'
  {  1351,  13,  18,  15,    1,  -17 },   // 0x5A 'Z'
  {  1381,   4,  23,   7,    2,  -17 },   // 0x5B '['
  {  1393,   7,  18,   7,    0,  -17 },   // 0x5C '\'
  {  1409,   4,  23,   7,    1,  -17 },   // 0x5D ']'
  {  1421,   9,   9,  11,    1,  -16 },   // 0x5E '^'
  {  1432,  15,   1,  13,   -1,    4 },   // 0x5F '_'
  {  1434,   5,   4,   6,    1,  -17 },   // 0x60 '`'
  {  1437,  12,  13,  13,    1,  -12 },   // 0x61 'a'
  {  1457,  12,  18,  13,    1,  -17 },   // 0x62 'b'
  {  1484,  10,  13,  12,    1,  -12 },   // 0x63 'c'
  {  1501,  11,  18,  13,    1,  -17 },   // 0x64 'd'
  {  1526,  11,  13,  13,    1,  -12 },   // 0x65 'e'
  {  1544,   5,  18,   7,    1,  -17 },   // 0x66 'f'
  {  1556,  11,  18,  13,    1,  -12 },   // 0x67 'g'
  {  1581,  10,  18,  13,    1,  -17 },   // 0x68 'h'
  {  1604,   2,  18,   5,    2,  -17 },   // 0x69 'i'
  {  1609,   4,  23,   6,    0,  -17 },   // 0x6A 'j'
  {  1621,  11,  18,  12,    1,  -17 },   // 0x6B 'k'
  {  1646,   2,  18,   5,    1,  -17 },   // 0x6C 'l'
  {  1651,  17,  13,  19,    1,  -12 },   // 0x6D 'm'
  {  1679,  10,  13,  13,    1,  -12 },   // 0x6E 'n'
  {  1696,  11,  13,  13,    1,  -12 },   // 0x6F 'o'
  {  1714,  12,  17,  13,    1,  -12 },   // 0x70 'p'
  {  1740,  11,  17,  13,    1,  -12 },   // 0x71 'q'
  {  1764,   6,  13,   8,    1,  -12 },   // 0x72 'r'
  {  1774,  10,  13,  12,    1,  -12 },   // 0x73 's'
  {  1791,   5,  16,   7,    1,  -15 },   // 0x74 't'
  {  1801,  10,  13,  13,    1,  -12 },   // 0x75 'u'
  {  1818,  12,  13,  12,    0,  -12 },   // 0x76 'v'
  {  1838,  17,  13,  17,    0,  -12 },   // 0x77 'w'
  {  1866,  11,  13,  11,    0,  -12 },   // 0x78 'x'
  {  1884,  11,  18,  11,    0,  -12 },   // 0x79 'y'
  {  1909,  10,  13,  12,    1,  -12 },   // 0x7A 'z'
  {  1926,   5,  23,   8,    1,  -17 },   // 0x7B '{'
  {  1941,   2,  23,   6,    2,  -17 },   // 0x7C '|'
  {  1947,   5,  23,   8,    2,  -17 },   // 0x7D '}'
  {  1962,  10,   5,  12,    1,  -10 } }; // 0x7E '~'

const GFXfont FreeSans12pt7b PROGMEM = {
  (uint8_t  *)FreeSans12pt7bBitmaps,
  (GFXglyph *)FreeSans12pt7bGlyphs,
  0x20, 0x7E, 29 };

// Approx. 2641 bytes