fontcmss12.c 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. //*****************************************************************************
  2. //
  3. // fontcmss12.c - Font definition for the 12 point Cmss font.
  4. //
  5. // Copyright (c) 2008-2010 Texas Instruments Incorporated. All rights reserved.
  6. // Software License Agreement
  7. //
  8. // Texas Instruments (TI) is supplying this software for use solely and
  9. // exclusively on TI's microcontroller products. The software is owned by
  10. // TI and/or its suppliers, and is protected under applicable copyright
  11. // laws. You may not combine this software with "viral" open-source
  12. // software in order to form a larger program.
  13. //
  14. // THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
  15. // NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
  16. // NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17. // A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
  18. // CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
  19. // DAMAGES, FOR ANY REASON WHATSOEVER.
  20. //
  21. // This is part of revision 6288 of the Stellaris Graphics Library.
  22. //
  23. //*****************************************************************************
  24. //*****************************************************************************
  25. //
  26. // This file is generated by ftrasterize; DO NOT EDIT BY HAND!
  27. //
  28. //*****************************************************************************
  29. #include "grlib.h"
  30. //*****************************************************************************
  31. //
  32. // Details of this font:
  33. // Style: cmss
  34. // Size: 12 point
  35. // Bold: no
  36. // Italic: no
  37. // Memory usage: 1500 bytes
  38. //
  39. //*****************************************************************************
  40. //*****************************************************************************
  41. //
  42. // The compressed data for the 12 point Cmss font.
  43. //
  44. //*****************************************************************************
  45. static const unsigned char g_pucCmss12Data[1300] =
  46. {
  47. 5, 5, 0, 8, 16, 10, 2, 65, 17, 17, 17, 17,
  48. 17, 49, 112, 9, 4, 129, 17, 17, 17, 240, 240, 112,
  49. 21, 9, 240, 145, 81, 17, 81, 33, 56, 49, 33, 56,
  50. 33, 33, 81, 33, 81, 33, 81, 240, 16, 16, 5, 17,
  51. 66, 36, 18, 50, 50, 67, 33, 17, 33, 17, 19, 49,
  52. 208, 28, 9, 161, 113, 17, 33, 49, 17, 17, 65, 17,
  53. 17, 65, 18, 97, 17, 113, 20, 49, 17, 33, 33, 33,
  54. 33, 33, 50, 240, 80, 20, 9, 240, 98, 97, 17, 97,
  55. 17, 98, 114, 33, 34, 17, 33, 33, 50, 67, 19, 240,
  56. 208, 6, 2, 65, 17, 240, 64, 15, 4, 33, 33, 49,
  57. 33, 49, 49, 49, 49, 49, 49, 65, 49, 65, 16, 4,
  58. 1, 65, 49, 65, 49, 49, 49, 49, 49, 49, 33, 49,
  59. 33, 48, 10, 4, 17, 49, 49, 35, 19, 33, 240, 240,
  60. 13, 8, 240, 193, 113, 113, 71, 65, 113, 113, 113, 240,
  61. 80, 6, 2, 240, 49, 17, 80, 6, 4, 240, 211, 240,
  62. 96, 5, 2, 240, 49, 112, 14, 5, 129, 49, 65, 65,
  63. 49, 65, 65, 65, 49, 65, 65, 144, 18, 6, 211, 33,
  64. 49, 17, 49, 17, 49, 17, 49, 17, 49, 17, 34, 35,
  65. 240, 80, 11, 4, 145, 34, 49, 49, 49, 49, 49, 35,
  66. 208, 13, 6, 211, 33, 49, 81, 81, 65, 65, 65, 84,
  67. 240, 64, 13, 5, 178, 33, 33, 65, 34, 81, 65, 65,
  68. 19, 240, 32, 15, 6, 241, 66, 49, 17, 49, 17, 33,
  69. 33, 37, 65, 81, 240, 80, 13, 5, 164, 17, 65, 67,
  70. 33, 33, 65, 65, 19, 240, 32, 16, 6, 227, 33, 65,
  71. 81, 18, 34, 33, 17, 49, 17, 49, 35, 240, 80, 12,
  72. 5, 164, 65, 49, 65, 65, 49, 65, 65, 240, 48, 17,
  73. 6, 211, 33, 49, 17, 49, 35, 34, 18, 17, 49, 17,
  74. 49, 35, 240, 80, 16, 6, 211, 33, 49, 17, 49, 17,
  75. 49, 17, 49, 36, 65, 36, 240, 80, 5, 2, 161, 113,
  76. 112, 6, 2, 161, 113, 17, 80, 11, 2, 129, 17, 17,
  77. 17, 17, 17, 17, 17, 48, 9, 8, 240, 240, 167, 151,
  78. 240, 240, 176, 12, 4, 240, 33, 49, 49, 49, 33, 49,
  79. 49, 51, 80, 11, 5, 163, 81, 65, 49, 49, 65, 145,
  80. 240, 48, 23, 7, 240, 19, 49, 19, 17, 17, 33, 17,
  81. 17, 33, 17, 17, 33, 17, 17, 33, 33, 18, 67, 240,
  82. 128, 19, 8, 240, 65, 97, 17, 81, 17, 81, 17, 65,
  83. 49, 53, 49, 49, 33, 81, 240, 160, 17, 7, 229, 33,
  84. 65, 17, 65, 21, 33, 50, 17, 65, 17, 50, 21, 240,
  85. 128, 14, 7, 240, 20, 33, 49, 17, 97, 97, 97, 113,
  86. 116, 240, 112, 18, 7, 228, 49, 49, 33, 65, 17, 65,
  87. 17, 65, 17, 65, 17, 49, 36, 240, 144, 12, 6, 197,
  88. 17, 81, 85, 17, 81, 81, 85, 240, 64, 12, 6, 197,
  89. 17, 81, 84, 33, 81, 81, 81, 240, 128, 16, 7, 240,
  90. 20, 33, 81, 97, 97, 50, 17, 65, 33, 49, 52, 240,
  91. 112, 19, 7, 225, 65, 17, 65, 17, 65, 22, 17, 65,
  92. 17, 65, 17, 65, 17, 65, 240, 112, 11, 2, 65, 17,
  93. 17, 17, 17, 17, 17, 17, 112, 12, 5, 209, 65, 65,
  94. 65, 65, 65, 65, 19, 240, 32, 20, 7, 225, 50, 17,
  95. 34, 33, 33, 49, 17, 66, 17, 49, 34, 33, 49, 33,
  96. 65, 240, 112, 12, 6, 193, 81, 81, 81, 81, 81, 81,
  97. 85, 240, 64, 29, 9, 240, 50, 66, 18, 66, 18, 49,
  98. 17, 17, 17, 33, 17, 17, 17, 33, 17, 17, 34, 33,
  99. 17, 34, 33, 17, 34, 33, 240, 208, 24, 7, 226, 49,
  100. 18, 49, 17, 17, 33, 17, 17, 33, 17, 33, 17, 17,
  101. 33, 17, 17, 50, 17, 50, 240, 112, 19, 8, 240, 51,
  102. 65, 49, 33, 81, 17, 81, 17, 81, 17, 81, 33, 49,
  103. 67, 240, 192, 15, 6, 196, 33, 49, 17, 49, 17, 49,
  104. 20, 33, 81, 81, 240, 128, 20, 8, 240, 51, 65, 49,
  105. 33, 81, 17, 81, 17, 81, 17, 81, 33, 34, 68, 113,
  106. 240, 48, 18, 7, 229, 33, 65, 17, 65, 21, 33, 33,
  107. 49, 49, 33, 49, 33, 65, 240, 112, 12, 6, 211, 33,
  108. 81, 98, 98, 81, 81, 35, 240, 80, 13, 8, 240, 23,
  109. 65, 113, 113, 113, 113, 113, 113, 240, 208, 19, 7, 225,
  110. 65, 17, 65, 17, 65, 17, 65, 17, 65, 17, 65, 18,
  111. 34, 36, 240, 128, 19, 8, 240, 17, 81, 33, 65, 33,
  112. 49, 49, 49, 65, 33, 65, 17, 98, 97, 240, 208, 30,
  113. 11, 240, 113, 65, 49, 33, 34, 49, 33, 34, 49, 33,
  114. 33, 17, 17, 49, 17, 33, 17, 66, 33, 17, 66, 34,
  115. 82, 49, 240, 240, 96, 18, 7, 225, 49, 34, 33, 49,
  116. 17, 81, 98, 65, 17, 49, 49, 33, 65, 240, 112, 17,
  117. 8, 240, 17, 81, 33, 49, 50, 17, 81, 17, 97, 113,
  118. 113, 113, 240, 208, 12, 6, 197, 81, 65, 65, 81, 65,
  119. 65, 85, 240, 64, 14, 3, 50, 17, 33, 33, 33, 33,
  120. 33, 33, 33, 33, 33, 34, 9, 4, 129, 17, 17, 17,
  121. 240, 240, 112, 14, 3, 50, 33, 33, 33, 33, 33, 33,
  122. 33, 33, 33, 33, 18, 7, 4, 146, 17, 240, 240, 144,
  123. 5, 2, 65, 240, 96, 6, 2, 65, 17, 240, 64, 11,
  124. 5, 240, 178, 81, 35, 17, 33, 20, 240, 16, 15, 5,
  125. 161, 65, 65, 67, 33, 33, 17, 33, 17, 33, 19, 240,
  126. 32, 10, 5, 240, 179, 17, 65, 65, 83, 240, 16, 16,
  127. 6, 240, 17, 81, 81, 36, 17, 49, 17, 49, 17, 49,
  128. 36, 240, 64, 12, 6, 240, 240, 19, 33, 49, 21, 17,
  129. 100, 240, 64, 12, 5, 194, 33, 65, 51, 49, 65, 65,
  130. 65, 240, 48, 15, 6, 240, 240, 20, 33, 17, 49, 17,
  131. 50, 68, 17, 49, 35, 128, 16, 5, 161, 65, 65, 68,
  132. 17, 33, 17, 33, 17, 33, 17, 33, 240, 16, 9, 2,
  133. 65, 81, 17, 17, 17, 17, 112, 11, 4, 161, 177, 49,
  134. 49, 49, 49, 49, 19, 80, 16, 5, 161, 65, 65, 65,
  135. 33, 17, 17, 35, 33, 17, 33, 33, 240, 16, 11, 2,
  136. 65, 17, 17, 17, 17, 17, 17, 17, 112, 19, 8, 240,
  137. 240, 167, 17, 33, 33, 17, 33, 33, 17, 33, 33, 17,
  138. 33, 33, 240, 160, 14, 5, 240, 164, 17, 33, 17, 33,
  139. 17, 33, 17, 33, 240, 16, 14, 6, 240, 240, 19, 33,
  140. 49, 17, 49, 17, 49, 35, 240, 80, 14, 5, 240, 163,
  141. 33, 33, 17, 33, 17, 33, 19, 33, 65, 144, 15, 6,
  142. 240, 240, 20, 17, 49, 17, 49, 17, 49, 36, 81, 81,
  143. 112, 9, 4, 240, 83, 17, 49, 49, 49, 240, 10, 5,
  144. 240, 164, 17, 82, 81, 20, 240, 16, 12, 5, 240, 17,
  145. 65, 52, 33, 65, 65, 67, 240, 16, 14, 5, 240, 161,
  146. 33, 17, 33, 17, 33, 17, 33, 20, 240, 16, 14, 6,
  147. 240, 241, 49, 33, 17, 49, 17, 49, 17, 65, 240, 96,
  148. 19, 8, 240, 240, 161, 33, 33, 33, 18, 17, 34, 17,
  149. 17, 34, 18, 65, 33, 240, 176, 14, 6, 240, 242, 17,
  150. 49, 17, 65, 65, 17, 33, 49, 240, 64, 14, 6, 240,
  151. 241, 49, 33, 17, 49, 17, 66, 65, 81, 50, 160, 10,
  152. 5, 240, 164, 49, 49, 65, 52, 240, 16, 8, 7, 240,
  153. 240, 198, 240, 240, 208, 8, 12, 0, 9, 11, 0, 9,
  154. 16, 9, 5, 177, 17, 17, 17, 0, 5, 112, 6, 4,
  155. 131, 240, 240, 176,
  156. };
  157. //*****************************************************************************
  158. //
  159. // The font definition for the 12 point Cmss font.
  160. //
  161. //*****************************************************************************
  162. const tFont g_sFontCmss12 =
  163. {
  164. //
  165. // The format of the font.
  166. //
  167. FONT_FMT_PIXEL_RLE,
  168. //
  169. // The maximum width of the font.
  170. //
  171. 10,
  172. //
  173. // The height of the font.
  174. //
  175. 13,
  176. //
  177. // The baseline of the font.
  178. //
  179. 10,
  180. //
  181. // The offset to each character in the font.
  182. //
  183. {
  184. 0, 5, 15, 24, 45, 61, 89, 109,
  185. 115, 130, 146, 156, 169, 175, 181, 186,
  186. 200, 218, 229, 242, 255, 270, 283, 299,
  187. 311, 328, 344, 349, 355, 366, 375, 387,
  188. 398, 421, 440, 457, 471, 489, 501, 513,
  189. 529, 548, 559, 571, 591, 603, 632, 656,
  190. 675, 690, 710, 728, 740, 753, 772, 791,
  191. 821, 839, 856, 868, 882, 891, 905, 912,
  192. 917, 923, 934, 949, 959, 975, 987, 999,
  193. 1014, 1030, 1039, 1050, 1066, 1077, 1096, 1110,
  194. 1124, 1138, 1153, 1162, 1172, 1184, 1198, 1212,
  195. 1231, 1245, 1259, 1269, 1277, 1285, 1294,
  196. },
  197. //
  198. // A pointer to the actual font data
  199. //
  200. g_pucCmss12Data
  201. };