font.py 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # Standard ASCII 5x7 font from <gldfont.c> in Adafruit GFX lib.
  2. ASCII = {'width': 5, 'height': 7, 'value': [
  3. 0x00, 0x00, 0x00, 0x00, 0x00,
  4. 0x00, 0x00, 0x5F, 0x00, 0x00,
  5. 0x00, 0x07, 0x00, 0x07, 0x00,
  6. 0x14, 0x7F, 0x14, 0x7F, 0x14,
  7. 0x24, 0x2A, 0x7F, 0x2A, 0x12,
  8. 0x23, 0x13, 0x08, 0x64, 0x62,
  9. 0x36, 0x49, 0x56, 0x20, 0x50,
  10. 0x00, 0x08, 0x07, 0x03, 0x00,
  11. 0x00, 0x1C, 0x22, 0x41, 0x00,
  12. 0x00, 0x41, 0x22, 0x1C, 0x00,
  13. 0x2A, 0x1C, 0x7F, 0x1C, 0x2A,
  14. 0x08, 0x08, 0x3E, 0x08, 0x08,
  15. 0x00, 0x80, 0x70, 0x30, 0x00,
  16. 0x08, 0x08, 0x08, 0x08, 0x08,
  17. 0x00, 0x00, 0x60, 0x60, 0x00,
  18. 0x20, 0x10, 0x08, 0x04, 0x02,
  19. 0x3E, 0x51, 0x49, 0x45, 0x3E,
  20. 0x00, 0x42, 0x7F, 0x40, 0x00,
  21. 0x72, 0x49, 0x49, 0x49, 0x46,
  22. 0x21, 0x41, 0x49, 0x4D, 0x33,
  23. 0x18, 0x14, 0x12, 0x7F, 0x10,
  24. 0x27, 0x45, 0x45, 0x45, 0x39,
  25. 0x3C, 0x4A, 0x49, 0x49, 0x31,
  26. 0x41, 0x21, 0x11, 0x09, 0x07,
  27. 0x36, 0x49, 0x49, 0x49, 0x36,
  28. 0x46, 0x49, 0x49, 0x29, 0x1E,
  29. 0x00, 0x00, 0x14, 0x00, 0x00,
  30. 0x00, 0x40, 0x34, 0x00, 0x00,
  31. 0x00, 0x08, 0x14, 0x22, 0x41,
  32. 0x14, 0x14, 0x14, 0x14, 0x14,
  33. 0x00, 0x41, 0x22, 0x14, 0x08,
  34. 0x02, 0x01, 0x59, 0x09, 0x06,
  35. 0x3E, 0x41, 0x5D, 0x59, 0x4E,
  36. 0x7C, 0x12, 0x11, 0x12, 0x7C,
  37. 0x7F, 0x49, 0x49, 0x49, 0x36,
  38. 0x3E, 0x41, 0x41, 0x41, 0x22,
  39. 0x7F, 0x41, 0x41, 0x41, 0x3E,
  40. 0x7F, 0x49, 0x49, 0x49, 0x41,
  41. 0x7F, 0x09, 0x09, 0x09, 0x01,
  42. 0x3E, 0x41, 0x41, 0x51, 0x73,
  43. 0x7F, 0x08, 0x08, 0x08, 0x7F,
  44. 0x00, 0x41, 0x7F, 0x41, 0x00,
  45. 0x20, 0x40, 0x41, 0x3F, 0x01,
  46. 0x7F, 0x08, 0x14, 0x22, 0x41,
  47. 0x7F, 0x40, 0x40, 0x40, 0x40,
  48. 0x7F, 0x02, 0x1C, 0x02, 0x7F,
  49. 0x7F, 0x04, 0x08, 0x10, 0x7F,
  50. 0x3E, 0x41, 0x41, 0x41, 0x3E,
  51. 0x7F, 0x09, 0x09, 0x09, 0x06,
  52. 0x3E, 0x41, 0x51, 0x21, 0x5E,
  53. 0x7F, 0x09, 0x19, 0x29, 0x46,
  54. 0x26, 0x49, 0x49, 0x49, 0x32,
  55. 0x03, 0x01, 0x7F, 0x01, 0x03,
  56. 0x3F, 0x40, 0x40, 0x40, 0x3F,
  57. 0x1F, 0x20, 0x40, 0x20, 0x1F,
  58. 0x3F, 0x40, 0x38, 0x40, 0x3F,
  59. 0x63, 0x14, 0x08, 0x14, 0x63,
  60. 0x03, 0x04, 0x78, 0x04, 0x03,
  61. 0x61, 0x59, 0x49, 0x4D, 0x43,
  62. 0x00, 0x7F, 0x41, 0x41, 0x41,
  63. 0x02, 0x04, 0x08, 0x10, 0x20,
  64. 0x00, 0x41, 0x41, 0x41, 0x7F,
  65. 0x04, 0x02, 0x01, 0x02, 0x04,
  66. 0x40, 0x40, 0x40, 0x40, 0x40,
  67. 0x00, 0x03, 0x07, 0x08, 0x00,
  68. 0x20, 0x54, 0x54, 0x78, 0x40,
  69. 0x7F, 0x28, 0x44, 0x44, 0x38,
  70. 0x38, 0x44, 0x44, 0x44, 0x28,
  71. 0x38, 0x44, 0x44, 0x28, 0x7F,
  72. 0x38, 0x54, 0x54, 0x54, 0x18,
  73. 0x00, 0x08, 0x7E, 0x09, 0x02,
  74. 0x18, 0xA4, 0xA4, 0x9C, 0x78,
  75. 0x7F, 0x08, 0x04, 0x04, 0x78,
  76. 0x00, 0x44, 0x7D, 0x40, 0x00,
  77. 0x20, 0x40, 0x40, 0x3D, 0x00,
  78. 0x7F, 0x10, 0x28, 0x44, 0x00,
  79. 0x00, 0x41, 0x7F, 0x40, 0x00,
  80. 0x7C, 0x04, 0x78, 0x04, 0x78,
  81. 0x7C, 0x08, 0x04, 0x04, 0x78,
  82. 0x38, 0x44, 0x44, 0x44, 0x38,
  83. 0xFC, 0x18, 0x24, 0x24, 0x18,
  84. 0x18, 0x24, 0x24, 0x18, 0xFC,
  85. 0x7C, 0x08, 0x04, 0x04, 0x08,
  86. 0x48, 0x54, 0x54, 0x54, 0x24,
  87. 0x04, 0x04, 0x3F, 0x44, 0x24,
  88. 0x3C, 0x40, 0x40, 0x20, 0x7C,
  89. 0x1C, 0x20, 0x40, 0x20, 0x1C,
  90. 0x3C, 0x40, 0x30, 0x40, 0x3C,
  91. 0x44, 0x28, 0x10, 0x28, 0x44,
  92. 0x4C, 0x90, 0x90, 0x90, 0x7C,
  93. 0x44, 0x64, 0x54, 0x4C, 0x44,
  94. 0x00, 0x08, 0x36, 0x41, 0x00,
  95. 0x00, 0x00, 0x77, 0x00, 0x00,
  96. 0x00, 0x41, 0x36, 0x08, 0x00,
  97. 0x02, 0x01, 0x02, 0x04, 0x02,
  98. 0x3C, 0x26, 0x23, 0x26, 0x3C
  99. ]}