Repo for ESP32 Weather Station Development
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

333 lines
7.1KB

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