Repo for ESP32 Weather Station Development
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

334 lignes
8.4KB

  1. // Default font
  2. // ========================================================================
  3. // This comes with no warranty, implied or otherwise
  4. // This data structure was designed to support Proportional fonts
  5. // fonts. Individual characters do not have to be multiples of 8 bits wide.
  6. // Any width is fine and does not need to be fixed.
  7. // The data bits are packed to minimize data requirements, but the tradeoff
  8. // is that a header is required per character.
  9. // Header Format:
  10. // ------------------------------------------------
  11. // Character Width (Used as a marker to indicate use this format. i.e.: = 0x00)
  12. // Character Height
  13. // First Character (Reserved. 0x00)
  14. // Number Of Characters (Reserved. 0x00)
  15. // Individual Character Format:
  16. // ----------------------------
  17. // Character Code
  18. // Adjusted Y Offset (start Y of visible pixels)
  19. // Width (width of the visible pixels)
  20. // Height (height of the visible pixels)
  21. // xOffset (start X of visible pixels)
  22. // xDelta (the distance to move the cursor. Effective width of the character.)
  23. // Data[n]
  24. // NOTE: You can remove any of these characters if they are not needed in
  25. // your application. The first character number in each Glyph indicates
  26. // the ASCII character code. Therefore, these do not have to be sequential.
  27. // Just remove all the content for a particular character to save space.
  28. // ========================================================================
  29. // dejavu
  30. // Point Size : 12
  31. // Memory usage : 1158 bytes
  32. // # characters : 95
  33. const unsigned char tft_DefaultFont[] =
  34. {
  35. 0x00, 0x0B, 0x86, 0x04,
  36. // ' '
  37. 0x20,0x0A,0x00,0x00,0x00,0x04,
  38. // '!'
  39. 0x21,0x01,0x01,0x09,0x02,0x05,
  40. 0xFD,0x80,
  41. // '"'
  42. 0x22,0x01,0x03,0x03,0x01,0x05,
  43. 0xB6,0x80,
  44. // '#'
  45. 0x23,0x02,0x08,0x08,0x01,0x0A,
  46. 0x12,0x14,0x7F,0x24,0x24,0xFE,0x28,0x48,
  47. // '$'
  48. 0x24,0x01,0x06,0x0B,0x02,0x08,
  49. 0x21,0xCA,0xA8,0xE0,0xE2,0xAA,0x70,0x82,0x00,
  50. // '%'
  51. 0x25,0x01,0x0A,0x09,0x00,0x0B,
  52. 0x61,0x24,0x89,0x22,0x50,0x6D,0x82,0x91,0x24,0x49,0x21,0x80,
  53. // '&'
  54. 0x26,0x01,0x09,0x09,0x01,0x0A,
  55. 0x30,0x24,0x10,0x0C,0x05,0x14,0x4A,0x19,0x8C,0x7B,0x00,
  56. // '''
  57. 0x27,0x01,0x01,0x03,0x01,0x03,
  58. 0xE0,
  59. // '('
  60. 0x28,0x00,0x03,0x0B,0x01,0x05,
  61. 0x69,0x49,0x24,0x48,0x80,
  62. // ')'
  63. 0x29,0x00,0x03,0x0B,0x01,0x05,
  64. 0x89,0x12,0x49,0x4A,0x00,
  65. // '*'
  66. 0x2A,0x01,0x05,0x06,0x01,0x06,
  67. 0x25,0x5C,0xEA,0x90,
  68. // '+'
  69. 0x2B,0x03,0x07,0x07,0x01,0x0A,
  70. 0x10,0x20,0x47,0xF1,0x02,0x04,0x00,
  71. // ','
  72. 0x2C,0x08,0x01,0x03,0x01,0x04,
  73. 0xE0,
  74. // '-'
  75. 0x2D,0x06,0x03,0x01,0x01,0x04,
  76. 0xE0,
  77. // '.'
  78. 0x2E,0x08,0x01,0x02,0x01,0x04,
  79. 0xC0,
  80. // '/'
  81. 0x2F,0x01,0x04,0x0A,0x00,0x04,
  82. 0x11,0x22,0x24,0x44,0x88,
  83. // '0'
  84. 0x30,0x01,0x06,0x09,0x01,0x08,
  85. 0x79,0x28,0x61,0x86,0x18,0x52,0x78,
  86. // '1'
  87. 0x31,0x01,0x05,0x09,0x01,0x08,
  88. 0xE1,0x08,0x42,0x10,0x84,0xF8,
  89. // '2'
  90. 0x32,0x01,0x07,0x09,0x01,0x08,
  91. 0x79,0x18,0x10,0x20,0x82,0x08,0x20,0xFC,
  92. // '3'
  93. 0x33,0x01,0x06,0x09,0x01,0x08,
  94. 0x7A,0x10,0x41,0x38,0x30,0x63,0x78,
  95. // '4'
  96. 0x34,0x01,0x06,0x09,0x01,0x08,
  97. 0x18,0x62,0x92,0x4A,0x2F,0xC2,0x08,
  98. // '5'
  99. 0x35,0x01,0x06,0x09,0x01,0x08,
  100. 0xFA,0x08,0x3C,0x0C,0x10,0x63,0x78,
  101. // '6'
  102. 0x36,0x01,0x06,0x09,0x01,0x08,
  103. 0x39,0x18,0x3E,0xCE,0x18,0x53,0x78,
  104. // '7'
  105. 0x37,0x01,0x06,0x09,0x01,0x08,
  106. 0xFC,0x10,0x82,0x10,0x42,0x08,0x40,
  107. // '8'
  108. 0x38,0x01,0x06,0x09,0x01,0x08,
  109. 0x7B,0x38,0x73,0x7B,0x38,0x73,0x78,
  110. // '9'
  111. 0x39,0x01,0x06,0x09,0x01,0x08,
  112. 0x7B,0x28,0x61,0xCD,0xD0,0x62,0x70,
  113. // ':'
  114. 0x3A,0x04,0x01,0x06,0x01,0x04,
  115. 0xCC,
  116. // ';'
  117. 0x3B,0x04,0x01,0x07,0x01,0x04,
  118. 0xCE,
  119. // '<'
  120. 0x3C,0x03,0x08,0x06,0x01,0x0A,
  121. 0x03,0x1E,0xE0,0xE0,0x1E,0x03,
  122. // '='
  123. 0x3D,0x05,0x08,0x03,0x01,0x0A,
  124. 0xFF,0x00,0xFF,
  125. // '>'
  126. 0x3E,0x03,0x08,0x06,0x01,0x0A,
  127. 0xC0,0x78,0x07,0x07,0x78,0xC0,
  128. // '?'
  129. 0x3F,0x01,0x05,0x09,0x00,0x06,
  130. 0x74,0x42,0x22,0x10,0x04,0x20,
  131. // '@'
  132. 0x40,0x01,0x0B,0x0B,0x01,0x0D,
  133. 0x1F,0x06,0x19,0x01,0x46,0x99,0x13,0x22,0x64,0x54,0x6C,0x40,0x04,0x10,0x7C,0x00,
  134. // 'A'
  135. 0x41,0x01,0x08,0x09,0x00,0x08,
  136. 0x18,0x18,0x24,0x24,0x24,0x42,0x7E,0x42,0x81,
  137. // 'B'
  138. 0x42,0x01,0x06,0x09,0x01,0x08,
  139. 0xFA,0x18,0x61,0xFA,0x18,0x61,0xF8,
  140. // 'C'
  141. 0x43,0x01,0x06,0x09,0x01,0x08,
  142. 0x39,0x18,0x20,0x82,0x08,0x11,0x38,
  143. // 'D'
  144. 0x44,0x01,0x07,0x09,0x01,0x09,
  145. 0xF9,0x0A,0x0C,0x18,0x30,0x60,0xC2,0xF8,
  146. // 'E'
  147. 0x45,0x01,0x06,0x09,0x01,0x08,
  148. 0xFE,0x08,0x20,0xFE,0x08,0x20,0xFC,
  149. // 'F'
  150. 0x46,0x01,0x05,0x09,0x01,0x07,
  151. 0xFC,0x21,0x0F,0xC2,0x10,0x80,
  152. // 'G'
  153. 0x47,0x01,0x07,0x09,0x01,0x09,
  154. 0x3C,0x86,0x04,0x08,0xF0,0x60,0xA1,0x3C,
  155. // 'H'
  156. 0x48,0x01,0x07,0x09,0x01,0x09,
  157. 0x83,0x06,0x0C,0x1F,0xF0,0x60,0xC1,0x82,
  158. // 'I'
  159. 0x49,0x01,0x01,0x09,0x01,0x03,
  160. 0xFF,0x80,
  161. // 'J'
  162. 0x4A,0x01,0x03,0x0B,0xFF,0x03,
  163. 0x24,0x92,0x49,0x27,0x00,
  164. // 'K'
  165. 0x4B,0x01,0x07,0x09,0x01,0x07,
  166. 0x85,0x12,0x45,0x0C,0x14,0x24,0x44,0x84,
  167. // 'L'
  168. 0x4C,0x01,0x05,0x09,0x01,0x06,
  169. 0x84,0x21,0x08,0x42,0x10,0xF8,
  170. // 'M'
  171. 0x4D,0x01,0x08,0x09,0x01,0x0A,
  172. 0x81,0xC3,0xC3,0xA5,0xA5,0x99,0x99,0x81,0x81,
  173. // 'N'
  174. 0x4E,0x01,0x07,0x09,0x01,0x09,
  175. 0xC3,0x86,0x8D,0x19,0x31,0x62,0xC3,0x86,
  176. // 'O'
  177. 0x4F,0x01,0x07,0x09,0x01,0x09,
  178. 0x38,0x8A,0x0C,0x18,0x30,0x60,0xA2,0x38,
  179. // 'P'
  180. 0x50,0x01,0x06,0x09,0x01,0x08,
  181. 0xFA,0x38,0x63,0xFA,0x08,0x20,0x80,
  182. // 'Q'
  183. 0x51,0x01,0x07,0x0B,0x01,0x09,
  184. 0x38,0x8A,0x0C,0x18,0x30,0x60,0xA2,0x38,0x10,0x10,
  185. // 'R'
  186. 0x52,0x01,0x07,0x09,0x01,0x08,
  187. 0xF9,0x1A,0x14,0x6F,0x91,0x21,0x42,0x82,
  188. // 'S'
  189. 0x53,0x01,0x06,0x09,0x01,0x08,
  190. 0x7B,0x18,0x30,0x78,0x30,0x63,0x78,
  191. // 'T'
  192. 0x54,0x01,0x07,0x09,0x00,0x07,
  193. 0xFE,0x20,0x40,0x81,0x02,0x04,0x08,0x10,
  194. // 'U'
  195. 0x55,0x01,0x07,0x09,0x01,0x09,
  196. 0x83,0x06,0x0C,0x18,0x30,0x60,0xA2,0x38,
  197. // 'V'
  198. 0x56,0x01,0x0A,0x09,0xFF,0x08,
  199. 0x40,0x90,0x22,0x10,0x84,0x21,0x04,0x81,0x20,0x30,0x0C,0x00,
  200. // 'W'
  201. 0x57,0x01,0x0B,0x09,0x00,0x0B,
  202. 0x84,0x28,0x89,0x11,0x27,0x22,0xA8,0x55,0x0E,0xE0,0x88,0x11,0x00,
  203. // 'X'
  204. 0x58,0x01,0x07,0x09,0x00,0x07,
  205. 0xC6,0x88,0xA1,0xC1,0x07,0x0A,0x22,0x82,
  206. // 'Y'
  207. 0x59,0x01,0x07,0x09,0x00,0x07,
  208. 0x82,0x89,0x11,0x43,0x82,0x04,0x08,0x10,
  209. // 'Z'
  210. 0x5A,0x01,0x07,0x09,0x01,0x09,
  211. 0xFE,0x04,0x10,0x41,0x04,0x10,0x40,0xFE,
  212. // '['
  213. 0x5B,0x01,0x02,0x0B,0x02,0x05,
  214. 0xEA,0xAA,0xAC,
  215. // '\'
  216. 0x5C,0x01,0x04,0x0A,0x00,0x04,
  217. 0x88,0x44,0x42,0x22,0x11,
  218. // ']'
  219. 0x5D,0x01,0x02,0x0B,0x01,0x05,
  220. 0xD5,0x55,0x5C,
  221. // '^'
  222. 0x5E,0x01,0x08,0x03,0x01,0x0A,
  223. 0x18,0x24,0x42,
  224. // '_'
  225. 0x5F,0x0C,0x06,0x01,0x00,0x06,
  226. 0xFC,
  227. // '`'
  228. 0x60,0x00,0x03,0x02,0x01,0x06,
  229. 0x44,
  230. // 'a'
  231. 0x61,0x03,0x06,0x07,0x01,0x08,
  232. 0x7A,0x30,0x5F,0x86,0x37,0x40,
  233. // 'b'
  234. 0x62,0x00,0x06,0x0A,0x01,0x08,
  235. 0x82,0x08,0x2E,0xCA,0x18,0x61,0xCE,0xE0,
  236. // 'c'
  237. 0x63,0x03,0x05,0x07,0x01,0x07,
  238. 0x72,0x61,0x08,0x25,0xC0,
  239. // 'd'
  240. 0x64,0x00,0x06,0x0A,0x01,0x08,
  241. 0x04,0x10,0x5D,0xCE,0x18,0x61,0xCD,0xD0,
  242. // 'e'
  243. 0x65,0x03,0x06,0x07,0x01,0x08,
  244. 0x39,0x38,0x7F,0x81,0x13,0x80,
  245. // 'f'
  246. 0x66,0x00,0x04,0x0A,0x00,0x04,
  247. 0x34,0x4F,0x44,0x44,0x44,
  248. // 'g'
  249. 0x67,0x03,0x06,0x0A,0x01,0x08,
  250. 0x77,0x38,0x61,0x87,0x37,0x41,0x4C,0xE0,
  251. // 'h'
  252. 0x68,0x00,0x06,0x0A,0x01,0x08,
  253. 0x82,0x08,0x2E,0xC6,0x18,0x61,0x86,0x10,
  254. // 'i'
  255. 0x69,0x01,0x01,0x09,0x01,0x03,
  256. 0xBF,0x80,
  257. // 'j'
  258. 0x6A,0x01,0x02,0x0C,0x00,0x03,
  259. 0x45,0x55,0x56,
  260. // 'k'
  261. 0x6B,0x00,0x06,0x0A,0x01,0x07,
  262. 0x82,0x08,0x22,0x92,0x8E,0x28,0x92,0x20,
  263. // 'l'
  264. 0x6C,0x00,0x01,0x0A,0x01,0x03,
  265. 0xFF,0xC0,
  266. // 'm'
  267. 0x6D,0x03,0x09,0x07,0x01,0x0B,
  268. 0xB3,0x66,0x62,0x31,0x18,0x8C,0x46,0x22,
  269. // 'n'
  270. 0x6E,0x03,0x06,0x07,0x01,0x08,
  271. 0xBB,0x18,0x61,0x86,0x18,0x40,
  272. // 'o'
  273. 0x6F,0x03,0x06,0x07,0x01,0x08,
  274. 0x7B,0x38,0x61,0x87,0x37,0x80,
  275. // 'p'
  276. 0x70,0x03,0x06,0x0A,0x01,0x08,
  277. 0xBB,0x28,0x61,0x87,0x3B,0xA0,0x82,0x00,
  278. // 'q'
  279. 0x71,0x03,0x06,0x0A,0x01,0x08,
  280. 0x77,0x38,0x61,0x87,0x37,0x41,0x04,0x10,
  281. // 'r'
  282. 0x72,0x03,0x04,0x07,0x01,0x05,
  283. 0xBC,0x88,0x88,0x80,
  284. // 's'
  285. 0x73,0x03,0x06,0x07,0x01,0x07,
  286. 0x72,0x28,0x1C,0x0A,0x27,0x00,
  287. // 't'
  288. 0x74,0x01,0x04,0x09,0x00,0x05,
  289. 0x44,0xF4,0x44,0x44,0x30,
  290. // 'u'
  291. 0x75,0x03,0x06,0x07,0x01,0x08,
  292. 0x86,0x18,0x61,0x86,0x37,0x40,
  293. // 'v'
  294. 0x76,0x03,0x08,0x07,0xFF,0x06,
  295. 0x42,0x42,0x24,0x24,0x24,0x18,0x18,
  296. // 'w'
  297. 0x77,0x03,0x09,0x07,0x00,0x09,
  298. 0x88,0xC4,0x57,0x4A,0xA5,0x51,0x10,0x88,
  299. // 'x'
  300. 0x78,0x03,0x06,0x07,0x00,0x06,
  301. 0x85,0x24,0x8C,0x49,0x28,0x40,
  302. // 'y'
  303. 0x79,0x03,0x08,0x0A,0xFF,0x06,
  304. 0x42,0x42,0x24,0x24,0x14,0x18,0x08,0x08,0x10,0x60,
  305. // 'z'
  306. 0x7A,0x03,0x05,0x07,0x00,0x05,
  307. 0xF8,0x44,0x44,0x43,0xE0,
  308. // '{'
  309. 0x7B,0x01,0x05,0x0B,0x02,0x08,
  310. 0x19,0x08,0x42,0x60,0x84,0x21,0x06,
  311. // '|'
  312. 0x7C,0x01,0x01,0x0C,0x02,0x04,
  313. 0xFF,0xF0,
  314. // '}'
  315. 0x7D,0x01,0x05,0x0B,0x01,0x08,
  316. 0xC1,0x08,0x42,0x0C,0x84,0x21,0x30,
  317. // '~'
  318. 0x7E,0x04,0x08,0x03,0x01,0x0A,
  319. 0x00,0x71,0x8E,
  320. // Terminator
  321. 0xFF
  322. };