Math-BoldItalic.js 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js
  4. *
  5. * Copyright (c) 2009-2017 The MathJax Consortium
  6. *
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. */
  20. (function (CHTML) {
  21. var font = 'MathJax_Math-BoldItalic';
  22. CHTML.FONTDATA.FONTS[font] = {
  23. className: CHTML.FONTDATA.familyName(font),
  24. centerline: 255, ascent: 725, descent: 216,
  25. weight: 'bold',
  26. style: 'italic',
  27. skew: {
  28. 0x41: 0.16,
  29. 0x42: 0.0958,
  30. 0x43: 0.0958,
  31. 0x44: 0.0639,
  32. 0x45: 0.0958,
  33. 0x46: 0.0958,
  34. 0x47: 0.0958,
  35. 0x48: 0.0639,
  36. 0x49: 0.128,
  37. 0x4A: 0.192,
  38. 0x4B: 0.0639,
  39. 0x4C: 0.0319,
  40. 0x4D: 0.0958,
  41. 0x4E: 0.0958,
  42. 0x4F: 0.0958,
  43. 0x50: 0.0958,
  44. 0x51: 0.0958,
  45. 0x52: 0.0958,
  46. 0x53: 0.0958,
  47. 0x54: 0.0958,
  48. 0x55: 0.0319,
  49. 0x58: 0.0958,
  50. 0x5A: 0.0958,
  51. 0x63: 0.0639,
  52. 0x64: 0.192,
  53. 0x65: 0.0639,
  54. 0x66: 0.192,
  55. 0x67: 0.0319,
  56. 0x68: -0.0319,
  57. 0x6C: 0.0958,
  58. 0x6F: 0.0639,
  59. 0x70: 0.0958,
  60. 0x71: 0.0958,
  61. 0x72: 0.0639,
  62. 0x73: 0.0639,
  63. 0x74: 0.0958,
  64. 0x75: 0.0319,
  65. 0x76: 0.0319,
  66. 0x77: 0.0958,
  67. 0x78: 0.0319,
  68. 0x79: 0.0639,
  69. 0x7A: 0.0639,
  70. 0x393: 0.0958,
  71. 0x394: 0.192,
  72. 0x398: 0.0958,
  73. 0x39B: 0.192,
  74. 0x39E: 0.0958,
  75. 0x3A0: 0.0639,
  76. 0x3A3: 0.0958,
  77. 0x3A5: 0.0639,
  78. 0x3A6: 0.0958,
  79. 0x3A8: 0.0639,
  80. 0x3A9: 0.0958,
  81. 0x3B1: 0.0319,
  82. 0x3B2: 0.0958,
  83. 0x3B4: 0.0639,
  84. 0x3B5: 0.0958,
  85. 0x3B6: 0.0958,
  86. 0x3B7: 0.0639,
  87. 0x3B8: 0.0958,
  88. 0x3B9: 0.0639,
  89. 0x3BC: 0.0319,
  90. 0x3BD: 0.0319,
  91. 0x3BE: 0.128,
  92. 0x3BF: 0.0639,
  93. 0x3C1: 0.0958,
  94. 0x3C2: 0.0958,
  95. 0x3C4: 0.0319,
  96. 0x3C5: 0.0319,
  97. 0x3C6: 0.0958,
  98. 0x3C7: 0.0639,
  99. 0x3C8: 0.128,
  100. 0x3D1: 0.0958,
  101. 0x3D5: 0.0958,
  102. 0x3F1: 0.0958,
  103. 0x3F5: 0.0639
  104. },
  105. 0x20: [0,0,250,0,0], // SPACE
  106. 0x2F: [711,210,894,160,733], // SOLIDUS
  107. 0x41: [711,0,869,45,839], // LATIN CAPITAL LETTER A
  108. 0x42: [686,0,866,43,853], // LATIN CAPITAL LETTER B
  109. 0x43: [703,17,817,55,855], // LATIN CAPITAL LETTER C
  110. 0x44: [686,0,938,43,914], // LATIN CAPITAL LETTER D
  111. 0x45: [680,0,810,43,825], // LATIN CAPITAL LETTER E
  112. 0x46: [680,0,689,43,809], // LATIN CAPITAL LETTER F
  113. 0x47: [703,16,887,56,854], // LATIN CAPITAL LETTER G
  114. 0x48: [686,0,982,43,1027], // LATIN CAPITAL LETTER H
  115. 0x49: [686,0,511,30,573], // LATIN CAPITAL LETTER I
  116. 0x4A: [686,17,631,42,694], // LATIN CAPITAL LETTER J
  117. 0x4B: [686,0,971,43,1003], // LATIN CAPITAL LETTER K
  118. 0x4C: [686,0,756,43,711], // LATIN CAPITAL LETTER L
  119. 0x4D: [686,0,1142,43,1219], // LATIN CAPITAL LETTER M
  120. 0x4E: [686,0,950,43,1027], // LATIN CAPITAL LETTER N
  121. 0x4F: [703,17,837,53,815], // LATIN CAPITAL LETTER O
  122. 0x50: [686,0,723,43,847], // LATIN CAPITAL LETTER P
  123. 0x51: [703,194,869,53,815], // LATIN CAPITAL LETTER Q
  124. 0x52: [686,17,872,43,881], // LATIN CAPITAL LETTER R
  125. 0x53: [703,17,693,63,714], // LATIN CAPITAL LETTER S
  126. 0x54: [675,0,637,22,772], // LATIN CAPITAL LETTER T
  127. 0x55: [686,16,800,63,877], // LATIN CAPITAL LETTER U
  128. 0x56: [686,16,678,62,886], // LATIN CAPITAL LETTER V
  129. 0x57: [686,17,1093,61,1207], // LATIN CAPITAL LETTER W
  130. 0x58: [686,0,947,38,953], // LATIN CAPITAL LETTER X
  131. 0x59: [686,0,675,40,876], // LATIN CAPITAL LETTER Y
  132. 0x5A: [686,0,773,68,805], // LATIN CAPITAL LETTER Z
  133. 0x61: [452,8,633,38,607], // LATIN SMALL LETTER A
  134. 0x62: [694,8,521,45,513], // LATIN SMALL LETTER B
  135. 0x63: [451,8,513,40,509], // LATIN SMALL LETTER C
  136. 0x64: [694,8,610,38,612], // LATIN SMALL LETTER D
  137. 0x65: [452,8,554,42,509], // LATIN SMALL LETTER E
  138. 0x66: [701,201,568,64,624], // LATIN SMALL LETTER F
  139. 0x67: [452,202,545,0,540], // LATIN SMALL LETTER G
  140. 0x68: [694,8,668,45,642], // LATIN SMALL LETTER H
  141. 0x69: [694,8,405,24,367], // LATIN SMALL LETTER I
  142. 0x6A: [694,202,471,-12,456], // LATIN SMALL LETTER J
  143. 0x6B: [694,8,604,45,578], // LATIN SMALL LETTER K
  144. 0x6C: [694,8,348,27,296], // LATIN SMALL LETTER L
  145. 0x6D: [452,8,1032,24,1006], // LATIN SMALL LETTER M
  146. 0x6E: [452,8,713,24,687], // LATIN SMALL LETTER N
  147. 0x6F: [452,8,585,39,576], // LATIN SMALL LETTER O
  148. 0x70: [452,194,601,-23,593], // LATIN SMALL LETTER P
  149. 0x71: [452,194,542,38,550], // LATIN SMALL LETTER Q
  150. 0x72: [452,8,529,24,500], // LATIN SMALL LETTER R
  151. 0x73: [451,8,531,57,476], // LATIN SMALL LETTER S
  152. 0x74: [643,7,415,21,387], // LATIN SMALL LETTER T
  153. 0x75: [452,8,681,24,655], // LATIN SMALL LETTER U
  154. 0x76: [453,8,567,24,540], // LATIN SMALL LETTER V
  155. 0x77: [453,8,831,24,796], // LATIN SMALL LETTER W
  156. 0x78: [452,8,659,43,599], // LATIN SMALL LETTER X
  157. 0x79: [452,202,590,24,587], // LATIN SMALL LETTER Y
  158. 0x7A: [452,8,555,34,539], // LATIN SMALL LETTER Z
  159. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  160. 0x393: [680,0,657,43,777], // GREEK CAPITAL LETTER GAMMA
  161. 0x394: [711,0,958,59,904], // GREEK CAPITAL LETTER DELTA
  162. 0x398: [702,17,867,54,844], // GREEK CAPITAL LETTER THETA
  163. 0x39B: [711,0,806,44,776], // GREEK CAPITAL LETTER LAMDA
  164. 0x39E: [675,0,841,62,867], // GREEK CAPITAL LETTER XI
  165. 0x3A0: [680,0,982,43,1026], // GREEK CAPITAL LETTER PI
  166. 0x3A3: [686,0,885,69,902], // GREEK CAPITAL LETTER SIGMA
  167. 0x3A5: [703,0,671,32,802], // GREEK CAPITAL LETTER UPSILON
  168. 0x3A6: [686,0,767,29,737], // GREEK CAPITAL LETTER PHI
  169. 0x3A8: [686,0,714,22,790], // GREEK CAPITAL LETTER PSI
  170. 0x3A9: [703,0,879,93,886], // GREEK CAPITAL LETTER OMEGA
  171. 0x3B1: [452,8,761,39,712], // GREEK SMALL LETTER ALPHA
  172. 0x3B2: [701,194,660,28,637], // GREEK SMALL LETTER BETA
  173. 0x3B3: [451,211,590,5,617], // GREEK SMALL LETTER GAMMA
  174. 0x3B4: [725,8,522,39,513], // GREEK SMALL LETTER DELTA
  175. 0x3B5: [461,17,529,36,481], // GREEK SMALL LETTER EPSILON
  176. 0x3B6: [711,202,508,48,521], // GREEK SMALL LETTER ZETA
  177. 0x3B7: [452,211,600,24,600], // GREEK SMALL LETTER ETA
  178. 0x3B8: [702,8,562,40,554], // GREEK SMALL LETTER THETA
  179. 0x3B9: [452,8,412,38,386], // GREEK SMALL LETTER IOTA
  180. 0x3BA: [452,8,668,45,642], // GREEK SMALL LETTER KAPPA
  181. 0x3BB: [694,13,671,40,652], // GREEK SMALL LETTER LAMDA
  182. 0x3BC: [452,211,708,33,682], // GREEK SMALL LETTER MU
  183. 0x3BD: [452,2,577,38,608], // GREEK SMALL LETTER NU
  184. 0x3BE: [711,201,508,23,490], // GREEK SMALL LETTER XI
  185. 0x3BF: [452,8,585,39,576], // GREEK SMALL LETTER OMICRON
  186. 0x3C0: [444,8,682,23,674], // GREEK SMALL LETTER PI
  187. 0x3C1: [451,211,612,34,603], // GREEK SMALL LETTER RHO
  188. 0x3C2: [451,105,424,33,457], // GREEK SMALL LETTER FINAL SIGMA
  189. 0x3C3: [444,8,686,35,677], // GREEK SMALL LETTER SIGMA
  190. 0x3C4: [444,13,521,23,610], // GREEK SMALL LETTER TAU
  191. 0x3C5: [453,8,631,24,604], // GREEK SMALL LETTER UPSILON
  192. 0x3C6: [452,216,747,53,703], // GREEK SMALL LETTER PHI
  193. 0x3C7: [452,201,718,32,685], // GREEK SMALL LETTER CHI
  194. 0x3C8: [694,202,758,24,732], // GREEK SMALL LETTER PSI
  195. 0x3C9: [453,8,718,24,691], // GREEK SMALL LETTER OMEGA
  196. 0x3D1: [701,8,692,24,656], // GREEK THETA SYMBOL
  197. 0x3D5: [694,202,712,51,693], // GREEK PHI SYMBOL
  198. 0x3D6: [444,8,975,23,961], // GREEK PI SYMBOL
  199. 0x3F1: [451,194,612,75,603], // GREEK RHO SYMBOL
  200. 0x3F5: [444,7,483,44,450] // GREEK LUNATE EPSILON SYMBOL
  201. };
  202. CHTML.fontLoaded("TeX/"+font.substr(8));
  203. })(MathJax.OutputJax.CommonHTML);