Fork of SharpLCD by
Diff: font.c
- Revision:
- 4:15a8a86fddf8
- Parent:
- 0:62d7cfac67ca
--- a/font.c Thu Aug 07 14:27:12 2014 +0000 +++ b/font.c Mon Sep 01 13:42:54 2014 +0000 @@ -22,10 +22,12 @@ /* Externs private to the font subsystem. */ /* extern const glyph_t glyphs_DejaVu_Serif_10[]; */ /* extern const uint8_t bitmaps_DejaVu_Serif_10[]; */ -extern const glyph_t glyphs_DejaVu_Serif_9[]; -extern const uint8_t bitmaps_DejaVu_Serif_9[]; -extern const glyph_t glyphs_DejaVu_Serif_8[]; -extern const uint8_t bitmaps_DejaVu_Serif_8[]; +//extern const glyph_t glyphs_DejaVu_Serif_9[]; +//extern const uint8_t bitmaps_DejaVu_Serif_9[]; +//extern const glyph_t glyphs_DejaVu_Serif_8[]; +//extern const uint8_t bitmaps_DejaVu_Serif_8[]; +extern const uint8_t lucidaConsole_8ptBitmaps[]; +extern const glyph_t lucidaConsole_8ptDescriptors[]; /* Accumulation of all avaialble fonts */ const font_face_t fonts[] = { @@ -36,17 +38,23 @@ /* bitmaps_DejaVu_Serif_10 */ /* }, */ { - "DejaVu Serif", - 9, /* pointSize */ - glyphs_DejaVu_Serif_9, - bitmaps_DejaVu_Serif_9 + "Lucida 8pt", + 8, /* pointSize */ + lucidaConsole_8ptDescriptors, + lucidaConsole_8ptBitmaps }, - { - "DejaVu Serif", - 8, /* pointSize */ - glyphs_DejaVu_Serif_8, - bitmaps_DejaVu_Serif_8 - }, + //{ + // "DejaVu Serif", + // 9, /* pointSize */ + // glyphs_DejaVu_Serif_9, + // bitmaps_DejaVu_Serif_9 + // }, + //{ + //"DejaVu Serif", + //8, /* pointSize */ + //glyphs_DejaVu_Serif_8, + //bitmaps_DejaVu_Serif_8 + //}, /* sentinel value */ {