Sharp LCD library forked to use a Lucida 8 pt font
Fork of SharpLCD by
Diff: dotfont.c
- Revision:
- 7:4737b3b2ed50
- Parent:
- 6:ed1a32ac4a1c
- Child:
- 9:fc71206a6b64
--- a/dotfont.c Tue Apr 28 11:54:51 2015 +0000 +++ b/dotfont.c Tue Apr 28 13:20:46 2015 +0000 @@ -7,45 +7,92 @@ extern const FONT_CHAR_INFO lucidaConsole_8ptDescs[]; extern const uint8_t comicSansMS_10ptBitmaps[]; extern const FONT_CHAR_INFO comicSansMS_10ptDescriptors[]; +extern const uint8_t sFSquareHead_8ptBlackBitmaps[]; +extern const FONT_CHAR_INFO sFSquareHead_8ptDescriptors[]; extern const uint8_t sFSquareHead_10ptBitmaps[]; +extern const uint8_t sFSquareHead_10ptBlackBitmaps[]; extern const FONT_CHAR_INFO sFSquareHead_10ptDescriptors[]; extern const uint8_t sFSquareHead_16ptBitmaps[]; extern const uint8_t sFSquareHead_16ptBlackBitmaps[]; extern const FONT_CHAR_INFO sFSquareHead_16ptDescriptors[]; +extern const uint8_t sFSquareHead_20ptBlackBitmaps[]; +extern const FONT_CHAR_INFO sFSquareHead_20ptDescriptors[]; +extern const uint8_t centuryGothic_9ptBlackBitmaps[]; +extern const FONT_CHAR_INFO centuryGothic_9ptDescriptors[]; +extern const uint8_t centuryGothic_20ptBlackBitmaps[]; +extern const FONT_CHAR_INFO centuryGothic_20ptDescriptors[]; +extern const uint8_t centuryGothic_28ptBlackBitmaps[]; +extern const FONT_CHAR_INFO centuryGothic_28ptDescriptors[]; /* Accumulation of all avaialble fonts */ const FONT_INFO dotfonts[] = { { - "Lucida 8pt", + "Lucida", 8, /* pointSize */ lucidaConsole_8ptDescs, lucidaConsole_8ptmaps }, { - "Comic Sans 10pt", + "Comic Sans", 10, /* pointSize */ comicSansMS_10ptDescriptors, comicSansMS_10ptBitmaps }, { - "Square Head 10pt", + "Square Head Black", + 8, /* pointSize */ + sFSquareHead_8ptDescriptors, + sFSquareHead_8ptBlackBitmaps + }, + { + "Square Head", 10, /* pointSize */ sFSquareHead_10ptDescriptors, sFSquareHead_10ptBitmaps }, { - "Square Head 16pt", + "Square Head Black", + 10, /* pointSize */ + sFSquareHead_10ptDescriptors, + sFSquareHead_10ptBlackBitmaps + }, + { + "Square Head", 16, /* pointSize */ sFSquareHead_16ptDescriptors, sFSquareHead_16ptBitmaps }, { - "Square Head 16pt Black", + "Square Head Black", 16, /* pointSize */ sFSquareHead_16ptDescriptors, sFSquareHead_16ptBlackBitmaps }, + { + "Square Head Black", + 20, /* pointSize */ + sFSquareHead_20ptDescriptors, + sFSquareHead_20ptBlackBitmaps + }, + { + "Century Gothic Black", + 9, /* pointSize */ + centuryGothic_9ptDescriptors, + centuryGothic_9ptBlackBitmaps + }, + { + "Century Gothic Black", + 20, /* pointSize */ + centuryGothic_20ptDescriptors, + centuryGothic_20ptBlackBitmaps + }, + { + "Century Gothic Black", + 28, /* pointSize */ + centuryGothic_28ptDescriptors, + centuryGothic_28ptBlackBitmaps + },