Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. //
  2. // Font data for Lucida Sans 10pt
  3. //
  4.  
  5. // Character bitmaps for Lucida Sans 10pt
  6. const uint8_t lucidaSans_10ptBitmaps[] =
  7. {
  8. // @0 'a' (6 pixels wide)
  9. 0x00, //
  10. 0x00, //
  11. 0x00, //
  12. 0x30, // ##
  13. 0x48, // # #
  14. 0x08, // #
  15. 0x78, // ####
  16. 0x88, // # #
  17. 0x98, // # ##
  18. 0x64, // ## #
  19.  
  20. // @10 'b' (6 pixels wide)
  21. 0x80, // #
  22. 0x80, // #
  23. 0x80, // #
  24. 0xB8, // # ###
  25. 0xC4, // ## #
  26. 0x84, // # #
  27. 0x84, // # #
  28. 0x84, // # #
  29. 0xC4, // ## #
  30. 0xB8, // # ###
  31.  
  32. // @20 'c' (5 pixels wide)
  33. 0x00, //
  34. 0x00, //
  35. 0x00, //
  36. 0x70, // ###
  37. 0x88, // # #
  38. 0x80, // #
  39. 0x80, // #
  40. 0x80, // #
  41. 0x88, // # #
  42. 0x70, // ###
  43. };
  44.  
  45. // Character descriptors for Lucida Sans 10pt
  46. // { [Char width in bits], [Offset into lucidaSans_10ptCharBitmaps in bytes] }
  47. const FONT_CHAR_INFO lucidaSans_10ptDescriptors[] =
  48. {
  49. {6, 0}, // a
  50. {6, 10}, // b
  51. {5, 20}, // c
  52. };
  53.  
  54. // Font information for Lucida Sans 10pt
  55. const FONT_INFO lucidaSans_10ptFontInfo =
  56. {
  57. 10, // Character height
  58. 'a', // Start character
  59. 'c', // End character
  60. lucidaSans_10ptDescriptors, // Character descriptor array
  61. lucidaSans_10ptBitmaps, // Character bitmap array
  62. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement