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/FreeSansBold12pt7b.h

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

File content as of revision 0:3bf8ef959338:

const uint8_t FreeSansBold12pt7bBitmaps[] PROGMEM = {
  0xFF, 0xFF, 0xFF, 0xFF, 0x76, 0x66, 0x60, 0xFF, 0xF0, 0xF3, 0xFC, 0xFF,
  0x3F, 0xCF, 0x61, 0x98, 0x60, 0x0E, 0x70, 0x73, 0x83, 0x18, 0xFF, 0xF7,
  0xFF, 0xBF, 0xFC, 0x73, 0x83, 0x18, 0x18, 0xC7, 0xFF, 0xBF, 0xFD, 0xFF,
  0xE3, 0x18, 0x39, 0xC1, 0xCE, 0x0E, 0x70, 0x02, 0x00, 0x7E, 0x0F, 0xF8,
  0x7F, 0xE7, 0xAF, 0xB9, 0x3D, 0xC8, 0x0F, 0x40, 0x3F, 0x00, 0xFF, 0x00,
  0xFC, 0x05, 0xFF, 0x27, 0xF9, 0x3F, 0xEB, 0xEF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0x71, 0xC7, 0x1C, 0xF3, 0xCE, 0x00, 0x78, 0x0F, 0xE0, 0xCF, 0x30, 0x7F,
  0x01, 0xE0 };

const GFXglyph FreeSansBold12pt7bGlyphs[] PROGMEM = {
  {     0,   0,   0,   7,    0,    1 },   // 0x20 ' '
  {     0,   4,  17,   8,    3,  -16 },   // 0x21 '!'
  {     9,  10,   6,  11,    1,  -17 },   // 0x22 '"'
  {    17,  13,  16,  13,    0,  -15 },   // 0x23 '#'
  {    43,  13,  20,  13,    0,  -17 },   // 0x24 '$'
  {    76,  19,  17,  21,    1,  -16 },   // 0x25 '%'
  {   117,  16,  17,  17,    1,  -16 },   // 0x26 '&'
  {   151,   4,   6,   6,    1,  -17 },   // 0x27 '''
  {   154,   6,  22,   8,    1,  -17 },   // 0x28 '('
  {   171,   6,  22,   8,    1,  -17 },   // 0x29 ')'
  {   188,   7,   8,   9,    1,  -17 },   // 0x2A '*'
  {   195,  11,  11,  14,    2,  -10 },   // 0x2B '+'
  {   211,   4,   7,   6,    1,   -2 },   // 0x2C ','
  {   215,   6,   3,   8,    1,   -7 },   // 0x2D '-'
  {   218,   4,   3,   6,    1,   -2 },   // 0x2E '.'
  {   220,   6,  17,   7,    0,  -16 },   // 0x2F '/'
  {   233,  12,  17,  13,    1,  -16 },   // 0x30 '0'
  {   259,   7,  17,  14,    3,  -16 },   // 0x31 '1'
  {   274,  12,  17,  13,    1,  -16 },   // 0x32 '2'
  {   300,  12,  17,  13,    1,  -16 },   // 0x33 '3'
  {   326,  11,  17,  13,    1,  -16 },   // 0x34 '4'
  {   350,  12,  17,  13,    1,  -16 },   // 0x35 '5'
  {   376,  12,  17,  13,    1,  -16 },   // 0x36 '6'
  {   402,  11,  17,  13,    1,  -16 },   // 0x37 '7'
  {   426,  12,  17,  13,    1,  -16 },   // 0x38 '8'
  {   452,  12,  17,  13,    1,  -16 },   // 0x39 '9'
  {   478,   4,  12,   6,    1,  -11 },   // 0x3A ':'
  {   484,   4,  16,   6,    1,  -11 },   // 0x3B ';'
  {   492,  12,  12,  14,    1,  -11 },   // 0x3C '<'
  {   510,  12,   9,  14,    1,   -9 },   // 0x3D '='
  {   524,  12,  12,  14,    1,  -11 },   // 0x3E '>'
  {   542,  12,  18,  15,    2,  -17 },   // 0x3F '?'
  {   569,  21,  21,  23,    1,  -17 },   // 0x40 '@'
  {   625,  16,  18,  17,    0,  -17 },   // 0x41 'A'
  {   661,  14,  18,  17,    2,  -17 },   // 0x42 'B'
  {   693,  16,  18,  17,    1,  -17 },   // 0x43 'C'
  {   729,  15,  18,  17,    2,  -17 },   // 0x44 'D'
  {   763,  13,  18,  16,    2,  -17 },   // 0x45 'E'
  {   793,  12,  18,  15,    2,  -17 },   // 0x46 'F'
  {   820,  16,  18,  18,    1,  -17 },   // 0x47 'G'
  {   856,  14,  18,  18,    2,  -17 },   // 0x48 'H'
  {   888,   4,  18,   7,    2,  -17 },   // 0x49 'I'
  {   897,  11,  18,  14,    1,  -17 },   // 0x4A 'J'
  {   922,  16,  18,  17,    2,  -17 },   // 0x4B 'K'
  {   958,  11,  18,  15,    2,  -17 },   // 0x4C 'L'
  {   983,  17,  18,  21,    2,  -17 },   // 0x4D 'M'
  {  1022,  15,  18,  18,    2,  -17 },   // 0x4E 'N'
  {  1056,  17,  18,  19,    1,  -17 },   // 0x4F 'O'
  {  1095,  14,  18,  16,    2,  -17 },   // 0x50 'P'
  {  1127,  17,  19,  19,    1,  -17 },   // 0x51 'Q'
  {  1168,  16,  18,  17,    2,  -17 },   // 0x52 'R'
  {  1204,  15,  18,  16,    1,  -17 },   // 0x53 'S'
  {  1238,  12,  18,  15,    2,  -17 },   // 0x54 'T'
  {  1265,  14,  18,  18,    2,  -17 },   // 0x55 'U'
  {  1297,  15,  18,  16,    0,  -17 },   // 0x56 'V'
  {  1331,  23,  18,  23,    0,  -17 },   // 0x57 'W'
  {  1383,  15,  18,  16,    1,  -17 },   // 0x58 'X'
  {  1417,  16,  18,  15,    0,  -17 },   // 0x59 'Y'
  {  1453,  13,  18,  15,    1,  -17 },   // 0x5A 'Z'
  {  1483,   6,  23,   8,    2,  -17 },   // 0x5B '['
  {  1501,   7,  17,   7,    0,  -16 },   // 0x5C '\'
  {  1516,   6,  23,   8,    0,  -17 },   // 0x5D ']'
  {  1534,  12,  11,  14,    1,  -16 },   // 0x5E '^'
  {  1551,  15,   2,  13,   -1,    4 },   // 0x5F '_'
  {  1555,   4,   3,   6,    0,  -17 },   // 0x60 '`'
  {  1557,  13,  13,  14,    1,  -12 },   // 0x61 'a'
  {  1579,  13,  18,  15,    2,  -17 },   // 0x62 'b'
  {  1609,  12,  13,  13,    1,  -12 },   // 0x63 'c'
  {  1629,  13,  18,  15,    1,  -17 },   // 0x64 'd'
  {  1659,  13,  13,  14,    1,  -12 },   // 0x65 'e'
  {  1681,   7,  18,   8,    1,  -17 },   // 0x66 'f'
  {  1697,  13,  18,  15,    1,  -12 },   // 0x67 'g'
  {  1727,  12,  18,  14,    2,  -17 },   // 0x68 'h'
  {  1754,   4,  18,   7,    2,  -17 },   // 0x69 'i'
  {  1763,   6,  23,   7,    0,  -17 },   // 0x6A 'j'
  {  1781,  12,  18,  14,    2,  -17 },   // 0x6B 'k'
  {  1808,   4,  18,   6,    2,  -17 },   // 0x6C 'l'
  {  1817,  19,  13,  21,    2,  -12 },   // 0x6D 'm'
  {  1848,  12,  13,  15,    2,  -12 },   // 0x6E 'n'
  {  1868,  13,  13,  15,    1,  -12 },   // 0x6F 'o'
  {  1890,  13,  18,  15,    2,  -12 },   // 0x70 'p'
  {  1920,  13,  18,  15,    1,  -12 },   // 0x71 'q'
  {  1950,   8,  13,   9,    2,  -12 },   // 0x72 'r'
  {  1963,  12,  13,  13,    1,  -12 },   // 0x73 's'
  {  1983,   6,  15,   8,    1,  -14 },   // 0x74 't'
  {  1995,  12,  13,  15,    2,  -12 },   // 0x75 'u'
  {  2015,  13,  13,  13,    0,  -12 },   // 0x76 'v'
  {  2037,  18,  13,  19,    0,  -12 },   // 0x77 'w'
  {  2067,  13,  13,  13,    0,  -12 },   // 0x78 'x'
  {  2089,  13,  18,  13,    0,  -12 },   // 0x79 'y'
  {  2119,  10,  13,  12,    1,  -12 },   // 0x7A 'z'
  {  2136,   6,  23,   9,    1,  -17 },   // 0x7B '{'
  {  2154,   2,  22,   7,    2,  -17 },   // 0x7C '|'
  {  2160,   6,  23,   9,    3,  -17 },   // 0x7D '}'
  {  2178,  12,   5,  12,    0,   -7 } }; // 0x7E '~'

const GFXfont FreeSansBold12pt7b PROGMEM = {
  (uint8_t  *)FreeSansBold12pt7bBitmaps,
  (GFXglyph *)FreeSansBold12pt7bGlyphs,
  0x20, 0x7E, 29 };

// Approx. 2858 bytes