arialGlyphRects.h 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /*
  2. Copyright (C) 2009 Id Software, Inc.
  3. This program is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License
  5. as published by the Free Software Foundation; either version 2
  6. of the License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  14. */
  15. // generated by fontimg
  16. //
  17. // struct GlyphRect { unsigned short x0, y0, x1, y1; float xoff, yoff, xadvance; };
  18. GlyphRect glyphRects[] = {
  19. /* ' ' */ { 2, 2, 2, 2, 0.000000, 0.000000, 7.958042 },
  20. /* '!' */ { 6, 2, 9, 22, 2.250000, -20.750000, 7.958042 },
  21. /* '"' */ { 14, 2, 21, 9, 1.250000, -20.750000, 10.167832 },
  22. /* '#' */ { 26, 2, 41, 23, 0.250000, -21.000000, 15.930070 },
  23. /* '$' */ { 46, 2, 59, 27, 1.000000, -22.500000, 15.930070 },
  24. /* '%' */ { 64, 2, 86, 24, 1.500000, -21.000000, 25.468531 },
  25. /* '&' */ { 92, 2, 109, 23, 1.000000, -21.000000, 19.104895 },
  26. /* ''' */ { 114, 2, 117, 9, 1.250000, -20.750000, 5.468532 },
  27. /* '(' */ { 122, 2, 129, 29, 1.500000, -21.000000, 9.538462 },
  28. /* ')' */ { 134, 2, 141, 29, 1.500000, -21.000000, 9.538462 },
  29. /* '*' */ { 146, 2, 155, 11, 0.750000, -21.000000, 11.146853 },
  30. /* '+' */ { 160, 2, 173, 15, 1.500000, -17.000000, 16.727272 },
  31. /* ',' */ { 178, 2, 181, 9, 2.250000, -3.000000, 7.958042 },
  32. /* '-' */ { 186, 2, 194, 4, 0.750000, -8.750000, 9.538462 },
  33. /* '.' */ { 198, 2, 201, 5, 2.500000, -3.000000, 7.958042 },
  34. /* '/' */ { 206, 2, 214, 23, 0.000000, -21.000000, 7.958042 },
  35. /* '0' */ { 218, 2, 231, 23, 1.000000, -20.750000, 15.930070 },
  36. /* '1' */ { 236, 2, 243, 22, 3.000000, -20.750000, 15.930070 },
  37. /* '2' */ { 2, 34, 15, 54, 0.750000, -20.750000, 15.930070 },
  38. /* '3' */ { 20, 34, 33, 55, 1.000000, -20.750000, 15.930070 },
  39. /* '4' */ { 38, 34, 52, 54, 0.250000, -20.750000, 15.930070 },
  40. /* '5' */ { 58, 34, 72, 54, 1.000000, -20.250000, 15.930070 },
  41. /* '6' */ { 76, 34, 89, 55, 1.000000, -20.750000, 15.930070 },
  42. /* '7' */ { 94, 34, 107, 54, 1.250000, -20.250000, 15.930070 },
  43. /* '8' */ { 112, 34, 125, 55, 1.000000, -20.750000, 15.930070 },
  44. /* '9' */ { 130, 34, 143, 55, 1.000000, -20.750000, 15.930070 },
  45. /* ':' */ { 148, 34, 151, 49, 2.500000, -15.000000, 7.958042 },
  46. /* ';' */ { 156, 34, 159, 53, 2.250000, -15.000000, 7.958042 },
  47. /* '<' */ { 164, 34, 177, 48, 1.500000, -17.250000, 16.727272 },
  48. /* '=' */ { 182, 34, 195, 42, 1.500000, -14.500000, 16.727272 },
  49. /* '>' */ { 200, 34, 213, 48, 1.500000, -17.250000, 16.727272 },
  50. /* '?' */ { 218, 34, 231, 55, 1.250000, -21.000000, 15.930070 },
  51. /* '@' */ { 2, 60, 28, 87, 1.500000, -21.000000, 29.076923 },
  52. /* 'A' */ { 34, 60, 53, 80, -0.250000, -20.750000, 19.104895 },
  53. /* 'B' */ { 58, 60, 73, 80, 2.000000, -20.750000, 19.104895 },
  54. /* 'C' */ { 78, 60, 96, 81, 1.250000, -21.000000, 20.685314 },
  55. /* 'D' */ { 102, 60, 119, 80, 2.000000, -20.750000, 20.685314 },
  56. /* 'E' */ { 124, 60, 139, 80, 2.250000, -20.750000, 19.104895 },
  57. /* 'F' */ { 144, 60, 158, 80, 2.250000, -20.750000, 17.496504 },
  58. /* 'G' */ { 162, 60, 181, 81, 1.500000, -21.000000, 22.279720 },
  59. /* 'H' */ { 186, 60, 202, 80, 2.250000, -20.750000, 20.685314 },
  60. /* 'I' */ { 208, 60, 211, 80, 2.500000, -20.750000, 7.958042 },
  61. /* 'J' */ { 216, 60, 227, 81, 0.750000, -20.750000, 14.321678 },
  62. /* 'K' */ { 232, 60, 249, 80, 2.000000, -20.750000, 19.104895 },
  63. /* 'L' */ { 2, 92, 15, 112, 2.000000, -20.750000, 15.930070 },
  64. /* 'M' */ { 20, 92, 39, 112, 2.000000, -20.750000, 23.860140 },
  65. /* 'N' */ { 44, 92, 60, 112, 2.000000, -20.750000, 20.685314 },
  66. /* 'O' */ { 66, 92, 85, 113, 1.250000, -21.000000, 22.279720 },
  67. /* 'P' */ { 90, 92, 106, 112, 2.000000, -20.750000, 19.104895 },
  68. /* 'Q' */ { 110, 92, 130, 114, 1.000000, -21.000000, 22.279720 },
  69. /* 'R' */ { 136, 92, 154, 112, 2.250000, -20.750000, 20.685314 },
  70. /* 'S' */ { 160, 92, 176, 113, 1.250000, -21.000000, 19.104895 },
  71. /* 'T' */ { 182, 92, 198, 112, 0.500000, -20.750000, 17.496504 },
  72. /* 'U' */ { 204, 92, 220, 113, 2.250000, -20.750000, 20.685314 },
  73. /* 'V' */ { 226, 92, 245, 112, 0.000000, -20.750000, 19.104895 },
  74. /* 'W' */ { 2, 120, 28, 140, 0.250000, -20.750000, 27.034966 },
  75. /* 'X' */ { 34, 120, 53, 140, 0.000000, -20.750000, 19.104895 },
  76. /* 'Y' */ { 58, 120, 77, 140, 0.000000, -20.750000, 19.104895 },
  77. /* 'Z' */ { 82, 120, 98, 140, 0.500000, -20.750000, 17.496504 },
  78. /* '[' */ { 104, 120, 109, 146, 1.750000, -20.750000, 7.958042 },
  79. /* '\' */ { 114, 120, 122, 141, 0.000000, -21.000000, 7.958042 },
  80. /* ']' */ { 126, 120, 131, 146, 0.500000, -20.750000, 7.958042 },
  81. /* '^' */ { 136, 120, 148, 131, 0.750000, -21.000000, 13.440559 },
  82. /* '_' */ { 152, 120, 169, 122, -0.500000, 3.750000, 15.930070 },
  83. /* '`' */ { 174, 120, 179, 124, 1.000000, -20.750000, 9.538462 },
  84. /* 'a' */ { 184, 120, 197, 135, 1.000000, -15.250000, 15.930070 },
  85. /* 'b' */ { 202, 120, 215, 141, 1.750000, -20.750000, 15.930070 },
  86. /* 'c' */ { 220, 120, 233, 135, 1.000000, -15.250000, 14.321678 },
  87. /* 'd' */ { 238, 120, 251, 141, 0.750000, -20.750000, 15.930070 },
  88. /* 'e' */ { 2, 152, 15, 167, 1.000000, -15.250000, 15.930070 },
  89. /* 'f' */ { 20, 152, 28, 173, 0.250000, -21.000000, 7.958042 },
  90. /* 'g' */ { 34, 152, 47, 173, 0.750000, -15.250000, 15.930070 },
  91. /* 'h' */ { 52, 152, 64, 172, 1.750000, -20.750000, 15.930070 },
  92. /* 'i' */ { 70, 152, 72, 172, 1.750000, -20.750000, 6.363636 },
  93. /* 'j' */ { 78, 152, 84, 179, -1.500000, -20.750000, 6.363636 },
  94. /* 'k' */ { 88, 152, 100, 172, 1.750000, -20.750000, 14.321678 },
  95. /* 'l' */ { 106, 152, 108, 172, 1.750000, -20.750000, 6.363636 },
  96. /* 'm' */ { 114, 152, 134, 167, 1.750000, -15.250000, 23.860140 },
  97. /* 'n' */ { 140, 152, 152, 167, 1.750000, -15.250000, 15.930070 },
  98. /* 'o' */ { 158, 152, 172, 167, 0.750000, -15.250000, 15.930070 },
  99. /* 'p' */ { 178, 152, 191, 173, 1.750000, -15.250000, 15.930070 },
  100. /* 'q' */ { 196, 152, 209, 173, 1.000000, -15.250000, 15.930070 },
  101. /* 'r' */ { 214, 152, 222, 167, 1.750000, -15.250000, 9.538462 },
  102. /* 's' */ { 228, 152, 240, 167, 0.750000, -15.250000, 14.321678 },
  103. /* 't' */ { 246, 152, 253, 172, 0.500000, -20.250000, 7.958042 },
  104. /* 'u' */ { 2, 184, 14, 199, 1.750000, -15.000000, 15.930070 },
  105. /* 'v' */ { 20, 184, 33, 199, 0.250000, -15.000000, 14.321678 },
  106. /* 'w' */ { 38, 184, 58, 199, 0.000000, -15.000000, 20.685314 },
  107. /* 'x' */ { 64, 184, 78, 199, 0.000000, -15.000000, 14.321678 },
  108. /* 'y' */ { 84, 184, 98, 205, 0.250000, -15.000000, 14.321678 },
  109. /* 'z' */ { 102, 184, 115, 199, 0.500000, -15.000000, 14.321678 },
  110. /* '{' */ { 120, 184, 128, 211, 0.750000, -21.000000, 9.566434 },
  111. /* '|' */ { 134, 184, 136, 211, 2.500000, -21.000000, 7.440559 },
  112. /* '}' */ { 142, 184, 150, 211, 0.500000, -21.000000, 9.566434 },
  113. /* '~' */ { 156, 184, 170, 188, 1.000000, -12.500000, 16.727272 },
  114. /* '' */ { 176, 184, 190, 202, 3.500000, -18.000000, 21.482517 }
  115. };