Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Font data for Lucida Sans 10pt
- //
- // Character bitmaps for Lucida Sans 10pt
- const uint8_t lucidaSans_10ptBitmaps[] =
- {
- // @0 'a' (6 pixels wide)
- 0x00, //
- 0x00, //
- 0x00, //
- 0x30, // ##
- 0x48, // # #
- 0x08, // #
- 0x78, // ####
- 0x88, // # #
- 0x98, // # ##
- 0x64, // ## #
- // @10 'b' (6 pixels wide)
- 0x80, // #
- 0x80, // #
- 0x80, // #
- 0xB8, // # ###
- 0xC4, // ## #
- 0x84, // # #
- 0x84, // # #
- 0x84, // # #
- 0xC4, // ## #
- 0xB8, // # ###
- // @20 'c' (5 pixels wide)
- 0x00, //
- 0x00, //
- 0x00, //
- 0x70, // ###
- 0x88, // # #
- 0x80, // #
- 0x80, // #
- 0x80, // #
- 0x88, // # #
- 0x70, // ###
- };
- // Character descriptors for Lucida Sans 10pt
- // { [Char width in bits], [Offset into lucidaSans_10ptCharBitmaps in bytes] }
- const FONT_CHAR_INFO lucidaSans_10ptDescriptors[] =
- {
- {6, 0}, // a
- {6, 10}, // b
- {5, 20}, // c
- };
- // Font information for Lucida Sans 10pt
- const FONT_INFO lucidaSans_10ptFontInfo =
- {
- 10, // Character height
- 'a', // Start character
- 'c', // End character
- lucidaSans_10ptDescriptors, // Character descriptor array
- lucidaSans_10ptBitmaps, // Character bitmap array
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement