BasicLatin.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /*************************************************************
  2. *
  3. * MathJax/fonts/HTML-CSS/TeX/png/Script/Regular/BasicLatin.js
  4. *
  5. * Defines the image size data needed for the HTML-CSS OutputJax
  6. * to display mathematics using fallback images when the fonts
  7. * are not available to the client browser.
  8. *
  9. * ---------------------------------------------------------------------
  10. *
  11. * Copyright (c) 2009-2013 The MathJax Consortium
  12. *
  13. * Licensed under the Apache License, Version 2.0 (the "License");
  14. * you may not use this file except in compliance with the License.
  15. * You may obtain a copy of the
  16. *
  17. * http://www.apache.org/licenses/LICENSE-2.0
  18. *
  19. * Unless required by applicable law or agreed to in writing, software
  20. * distributed under the License is distributed on an "AS IS" BASIS,
  21. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. * See the License for the specific language governing permissions and
  23. * limitations under the License.
  24. *
  25. */
  26. MathJax.OutputJax["HTML-CSS"].defineImageData({
  27. "MathJax_Script": {
  28. 0x20: [ // SPACE
  29. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  30. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  31. ],
  32. 0x41: [ // LATIN CAPITAL LETTER A
  33. [7,5,0],[9,6,0],[10,7,0],[12,9,0],[14,10,0],[17,12,0],[20,14,0],[24,17,0],
  34. [28,20,0],[34,25,1],[40,29,1],[48,34,1],[56,41,1],[67,48,1]
  35. ],
  36. 0x42: [ // LATIN CAPITAL LETTER B
  37. [7,5,0],[8,6,0],[10,7,0],[11,8,0],[13,10,0],[16,12,0],[19,14,0],[22,17,0],
  38. [26,20,0],[31,24,1],[37,30,1],[44,35,1],[52,40,2],[62,48,2]
  39. ],
  40. 0x43: [ // LATIN CAPITAL LETTER C
  41. [6,5,0],[7,6,0],[9,7,0],[10,9,0],[12,10,0],[14,12,0],[16,14,0],[20,17,0],
  42. [23,20,0],[27,25,1],[33,29,1],[39,34,1],[46,41,1],[54,50,3]
  43. ],
  44. 0x44: [ // LATIN CAPITAL LETTER D
  45. [6,5,0],[8,6,0],[9,7,0],[11,8,0],[12,10,0],[15,12,0],[17,14,0],[20,17,0],
  46. [24,20,0],[29,25,1],[34,30,2],[40,35,2],[48,42,2],[57,49,2]
  47. ],
  48. 0x45: [ // LATIN CAPITAL LETTER E
  49. [5,5,0],[6,6,0],[8,7,0],[9,8,0],[10,10,0],[12,12,0],[14,14,0],[17,17,0],
  50. [20,20,0],[24,24,1],[29,28,1],[34,33,1],[40,40,0],[48,47,1]
  51. ],
  52. 0x46: [ // LATIN CAPITAL LETTER F
  53. [7,5,0],[9,6,0],[10,7,0],[12,8,0],[14,10,0],[17,12,0],[20,14,0],[24,17,0],
  54. [28,21,1],[33,26,2],[39,31,2],[47,36,2],[55,43,2],[66,51,2]
  55. ],
  56. 0x47: [ // LATIN CAPITAL LETTER G
  57. [6,5,0],[7,6,0],[8,7,0],[9,9,0],[11,10,0],[13,12,0],[15,14,0],[18,17,0],
  58. [21,22,2],[25,25,1],[29,30,2],[35,35,2],[41,42,2],[49,50,3]
  59. ],
  60. 0x48: [ // LATIN CAPITAL LETTER H
  61. [9,5,0],[11,6,0],[13,7,0],[15,8,0],[18,10,0],[21,12,0],[25,14,0],[29,17,0],
  62. [35,20,0],[41,25,1],[49,30,2],[58,35,2],[69,42,2],[82,50,3]
  63. ],
  64. 0x49: [ // LATIN CAPITAL LETTER I
  65. [7,5,0],[8,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[22,17,0],
  66. [27,20,0],[32,25,1],[38,29,1],[44,34,1],[53,41,1],[63,48,1]
  67. ],
  68. 0x4A: [ // LATIN CAPITAL LETTER J
  69. [8,7,2],[10,9,3],[12,10,3],[14,12,4],[16,14,4],[19,17,5],[22,20,6],[27,24,7],
  70. [32,28,8],[38,36,12],[45,41,13],[53,48,15],[63,57,17],[75,68,21]
  71. ],
  72. 0x4B: [ // LATIN CAPITAL LETTER K
  73. [9,5,0],[10,6,0],[12,7,0],[15,8,0],[17,10,0],[20,12,0],[24,14,0],[28,17,0],
  74. [34,21,1],[40,26,2],[48,30,2],[56,35,2],[67,43,3],[80,50,3]
  75. ],
  76. 0x4C: [ // LATIN CAPITAL LETTER L
  77. [8,5,0],[9,6,0],[11,7,0],[13,8,0],[15,10,0],[18,12,0],[21,14,0],[25,17,0],
  78. [29,20,0],[35,25,1],[41,29,1],[49,34,1],[58,41,1],[69,48,1]
  79. ],
  80. 0x4D: [ // LATIN CAPITAL LETTER M
  81. [9,5,0],[11,6,0],[12,7,0],[15,8,0],[17,10,0],[21,12,0],[24,15,1],[29,18,1],
  82. [34,21,1],[40,27,3],[48,31,3],[57,36,3],[68,43,3],[80,51,4]
  83. ],
  84. 0x4E: [ // LATIN CAPITAL LETTER N
  85. [9,5,0],[11,6,0],[12,7,0],[15,8,0],[17,10,0],[21,12,0],[24,14,0],[29,17,0],
  86. [34,22,2],[40,27,3],[48,31,3],[57,36,2],[67,42,2],[80,51,2]
  87. ],
  88. 0x4F: [ // LATIN CAPITAL LETTER O
  89. [6,5,0],[7,6,0],[8,7,0],[10,8,0],[12,10,0],[14,12,0],[16,14,0],[19,17,0],
  90. [23,20,0],[27,25,1],[32,29,1],[38,33,0],[45,40,0],[53,47,0]
  91. ],
  92. 0x50: [ // LATIN CAPITAL LETTER P
  93. [8,5,0],[9,6,0],[11,7,0],[13,8,0],[15,10,0],[18,12,0],[21,14,0],[24,17,0],
  94. [29,22,2],[34,25,1],[41,30,2],[48,35,2],[57,42,2],[68,50,3]
  95. ],
  96. 0x51: [ // LATIN CAPITAL LETTER Q
  97. [7,5,0],[8,6,0],[9,7,0],[11,8,0],[13,10,0],[15,12,0],[18,14,0],[21,17,0],
  98. [25,20,0],[30,25,1],[35,29,1],[42,34,1],[49,41,1],[59,48,1]
  99. ],
  100. 0x52: [ // LATIN CAPITAL LETTER R
  101. [8,5,0],[9,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[22,17,0],
  102. [26,20,0],[31,25,1],[36,29,1],[43,34,1],[50,41,1],[60,48,1]
  103. ],
  104. 0x53: [ // LATIN CAPITAL LETTER S
  105. [8,5,0],[9,6,0],[10,7,0],[12,9,0],[15,10,0],[17,12,0],[20,14,0],[24,17,0],
  106. [29,21,1],[34,25,1],[40,30,2],[48,35,2],[57,42,2],[67,49,2]
  107. ],
  108. 0x54: [ // LATIN CAPITAL LETTER T
  109. [7,5,0],[9,6,0],[10,7,0],[12,8,0],[14,10,0],[17,12,0],[20,14,0],[24,17,0],
  110. [28,22,2],[33,27,2],[39,31,2],[47,36,2],[55,43,2],[66,51,2]
  111. ],
  112. 0x55: [ // LATIN CAPITAL LETTER U
  113. [7,5,0],[8,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[23,17,0],
  114. [27,20,0],[32,25,1],[38,29,1],[45,34,1],[53,41,1],[64,48,1]
  115. ],
  116. 0x56: [ // LATIN CAPITAL LETTER V
  117. [6,5,0],[8,6,0],[9,7,0],[10,8,0],[12,10,0],[15,12,0],[17,14,0],[20,17,0],
  118. [24,20,0],[28,25,1],[34,29,1],[40,34,1],[47,41,1],[56,48,1]
  119. ],
  120. 0x57: [ // LATIN CAPITAL LETTER W
  121. [8,6,1],[9,7,1],[11,8,1],[13,9,1],[15,11,1],[18,13,1],[20,15,1],[24,18,1],
  122. [29,21,1],[34,26,2],[41,30,2],[48,35,2],[57,42,2],[68,49,2]
  123. ],
  124. 0x58: [ // LATIN CAPITAL LETTER X
  125. [8,5,0],[10,6,0],[12,7,0],[14,8,0],[16,10,0],[19,12,0],[23,14,0],[27,17,0],
  126. [32,20,0],[38,25,1],[45,29,1],[53,34,1],[63,41,1],[75,48,1]
  127. ],
  128. 0x59: [ // LATIN CAPITAL LETTER Y
  129. [7,5,0],[8,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[23,17,0],
  130. [27,20,0],[32,25,1],[38,29,1],[45,34,1],[54,41,1],[64,48,1]
  131. ],
  132. 0x5A: [ // LATIN CAPITAL LETTER Z
  133. [8,5,0],[9,6,0],[11,7,0],[13,8,0],[15,10,0],[18,12,0],[21,14,0],[24,17,0],
  134. [29,20,0],[34,25,1],[41,29,1],[48,34,1],[57,41,1],[68,48,1]
  135. ]
  136. }
  137. });
  138. MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Script/Regular"+
  139. MathJax.OutputJax["HTML-CSS"].imgPacked+"/BasicLatin.js");