SansSerif-Regular.js 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js
  4. *
  5. * Copyright (c) 2015-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_SansSerif';
  22. CHTML.FONTDATA.FONTS[font] = {
  23. className: CHTML.FONTDATA.familyName(font),
  24. centerline: 250, ascent: 750, descent: 250,
  25. 0x20: [0,0,250,0,0], // SPACE
  26. 0x21: [694,0,319,110,208], // EXCLAMATION MARK
  27. 0x22: [694,-471,500,32,325], // QUOTATION MARK
  28. 0x23: [694,194,833,56,777], // NUMBER SIGN
  29. 0x24: [750,56,500,44,444], // DOLLAR SIGN
  30. 0x25: [750,56,833,56,776], // PERCENT SIGN
  31. 0x26: [716,22,758,42,702], // AMPERSAND
  32. 0x27: [694,-471,278,89,188], // APOSTROPHE
  33. 0x28: [750,250,389,74,333], // LEFT PARENTHESIS
  34. 0x29: [750,250,389,55,314], // RIGHT PARENTHESIS
  35. 0x2A: [750,-306,500,63,436], // ASTERISK
  36. 0x2B: [583,82,778,56,722], // PLUS SIGN
  37. 0x2C: [98,125,278,89,188], // COMMA
  38. 0x2D: [259,-186,333,11,277], // HYPHEN-MINUS
  39. 0x2E: [98,0,278,90,188], // FULL STOP
  40. 0x2F: [750,250,500,56,445], // SOLIDUS
  41. 0x30: [678,22,500,39,460], // DIGIT ZERO
  42. 0x31: [678,0,500,83,430], // DIGIT ONE
  43. 0x32: [677,0,500,42,449], // DIGIT TWO
  44. 0x33: [678,22,500,42,457], // DIGIT THREE
  45. 0x34: [656,0,500,28,471], // DIGIT FOUR
  46. 0x35: [656,21,500,33,449], // DIGIT FIVE
  47. 0x36: [677,22,500,42,457], // DIGIT SIX
  48. 0x37: [656,11,500,42,457], // DIGIT SEVEN
  49. 0x38: [678,22,500,43,456], // DIGIT EIGHT
  50. 0x39: [677,22,500,42,457], // DIGIT NINE
  51. 0x3A: [444,0,278,90,188], // COLON
  52. 0x3B: [444,125,278,89,188], // SEMICOLON
  53. 0x3D: [370,-130,778,56,722], // EQUALS SIGN
  54. 0x3F: [704,0,472,55,416], // QUESTION MARK
  55. 0x40: [704,11,667,56,612], // COMMERCIAL AT
  56. 0x41: [694,0,667,28,638], // LATIN CAPITAL LETTER A
  57. 0x42: [694,0,667,90,610], // LATIN CAPITAL LETTER B
  58. 0x43: [705,11,639,59,587], // LATIN CAPITAL LETTER C
  59. 0x44: [694,0,722,88,666], // LATIN CAPITAL LETTER D
  60. 0x45: [691,0,597,86,554], // LATIN CAPITAL LETTER E
  61. 0x46: [691,0,569,86,526], // LATIN CAPITAL LETTER F
  62. 0x47: [704,11,667,59,599], // LATIN CAPITAL LETTER G
  63. 0x48: [694,0,708,86,621], // LATIN CAPITAL LETTER H
  64. 0x49: [694,0,278,87,191], // LATIN CAPITAL LETTER I
  65. 0x4A: [694,22,472,42,388], // LATIN CAPITAL LETTER J
  66. 0x4B: [694,0,694,88,651], // LATIN CAPITAL LETTER K
  67. 0x4C: [694,0,542,87,499], // LATIN CAPITAL LETTER L
  68. 0x4D: [694,0,875,92,782], // LATIN CAPITAL LETTER M
  69. 0x4E: [694,0,708,88,619], // LATIN CAPITAL LETTER N
  70. 0x4F: [715,22,736,55,680], // LATIN CAPITAL LETTER O
  71. 0x50: [694,0,639,88,583], // LATIN CAPITAL LETTER P
  72. 0x51: [715,125,736,55,680], // LATIN CAPITAL LETTER Q
  73. 0x52: [694,0,646,88,617], // LATIN CAPITAL LETTER R
  74. 0x53: [716,22,556,44,500], // LATIN CAPITAL LETTER S
  75. 0x54: [688,0,681,36,644], // LATIN CAPITAL LETTER T
  76. 0x55: [694,22,688,87,600], // LATIN CAPITAL LETTER U
  77. 0x56: [694,0,667,14,652], // LATIN CAPITAL LETTER V
  78. 0x57: [694,0,944,14,929], // LATIN CAPITAL LETTER W
  79. 0x58: [694,0,667,14,652], // LATIN CAPITAL LETTER X
  80. 0x59: [694,0,667,3,663], // LATIN CAPITAL LETTER Y
  81. 0x5A: [694,0,611,55,560], // LATIN CAPITAL LETTER Z
  82. 0x5B: [750,250,289,94,266], // LEFT SQUARE BRACKET
  83. 0x5D: [750,250,289,22,194], // RIGHT SQUARE BRACKET
  84. 0x5E: [694,-527,500,78,421], // CIRCUMFLEX ACCENT
  85. 0x5F: [-38,114,500,0,499], // LOW LINE
  86. 0x61: [460,10,481,38,407], // LATIN SMALL LETTER A
  87. 0x62: [694,11,517,75,482], // LATIN SMALL LETTER B
  88. 0x63: [460,10,444,34,415], // LATIN SMALL LETTER C
  89. 0x64: [694,10,517,33,441], // LATIN SMALL LETTER D
  90. 0x65: [461,10,444,28,415], // LATIN SMALL LETTER E
  91. 0x66: [705,0,306,27,347], // LATIN SMALL LETTER F
  92. 0x67: [455,206,500,28,485], // LATIN SMALL LETTER G
  93. 0x68: [694,0,517,73,443], // LATIN SMALL LETTER H
  94. 0x69: [680,0,239,67,171], // LATIN SMALL LETTER I
  95. 0x6A: [680,205,267,-59,192], // LATIN SMALL LETTER J
  96. 0x6B: [694,0,489,76,471], // LATIN SMALL LETTER K
  97. 0x6C: [694,0,239,74,164], // LATIN SMALL LETTER L
  98. 0x6D: [455,0,794,73,720], // LATIN SMALL LETTER M
  99. 0x6E: [455,0,517,73,443], // LATIN SMALL LETTER N
  100. 0x6F: [460,10,500,28,471], // LATIN SMALL LETTER O
  101. 0x70: [455,194,517,75,483], // LATIN SMALL LETTER P
  102. 0x71: [455,194,517,33,441], // LATIN SMALL LETTER Q
  103. 0x72: [455,0,342,74,327], // LATIN SMALL LETTER R
  104. 0x73: [460,10,383,28,360], // LATIN SMALL LETTER S
  105. 0x74: [571,10,361,18,333], // LATIN SMALL LETTER T
  106. 0x75: [444,10,517,73,443], // LATIN SMALL LETTER U
  107. 0x76: [444,0,461,14,446], // LATIN SMALL LETTER V
  108. 0x77: [444,0,683,14,668], // LATIN SMALL LETTER W
  109. 0x78: [444,0,461,0,460], // LATIN SMALL LETTER X
  110. 0x79: [444,204,461,14,446], // LATIN SMALL LETTER Y
  111. 0x7A: [444,0,435,28,402], // LATIN SMALL LETTER Z
  112. 0x7E: [327,-193,500,83,416], // TILDE
  113. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  114. 0x131: [444,0,239,74,164], // LATIN SMALL LETTER DOTLESS I
  115. 0x237: [444,205,267,-59,192], // LATIN SMALL LETTER DOTLESS J
  116. 0x300: [694,-527,0,-417,-199], // COMBINING GRAVE ACCENT
  117. 0x301: [694,-527,0,-302,-84], // COMBINING ACUTE ACCENT
  118. 0x302: [694,-527,0,-422,-79], // COMBINING CIRCUMFLEX ACCENT
  119. 0x303: [677,-543,0,-417,-84], // COMBINING TILDE
  120. 0x304: [631,-552,0,-431,-70], // COMBINING MACRON
  121. 0x306: [694,-508,0,-427,-74], // COMBINING BREVE
  122. 0x307: [680,-576,0,-302,-198], // COMBINING DOT ABOVE
  123. 0x308: [680,-582,0,-397,-104], // COMBINING DIAERESIS
  124. 0x30A: [694,-527,0,-319,-99], // COMBINING RING ABOVE
  125. 0x30B: [694,-527,0,-399,-84], // COMBINING DOUBLE ACUTE ACCENT
  126. 0x30C: [654,-487,0,-422,-79], // COMBINING CARON
  127. 0x393: [691,0,542,87,499], // GREEK CAPITAL LETTER GAMMA
  128. 0x394: [694,0,833,42,790], // GREEK CAPITAL LETTER DELTA
  129. 0x398: [716,21,778,56,722], // GREEK CAPITAL LETTER THETA
  130. 0x39B: [694,0,611,28,582], // GREEK CAPITAL LETTER LAMDA
  131. 0x39E: [688,0,667,42,624], // GREEK CAPITAL LETTER XI
  132. 0x3A0: [691,0,708,86,621], // GREEK CAPITAL LETTER PI
  133. 0x3A3: [694,0,722,55,666], // GREEK CAPITAL LETTER SIGMA
  134. 0x3A5: [716,0,778,55,722], // GREEK CAPITAL LETTER UPSILON
  135. 0x3A6: [694,0,722,55,666], // GREEK CAPITAL LETTER PHI
  136. 0x3A8: [694,0,778,55,722], // GREEK CAPITAL LETTER PSI
  137. 0x3A9: [716,0,722,44,677], // GREEK CAPITAL LETTER OMEGA
  138. 0x2013: [312,-236,500,0,499], // EN DASH
  139. 0x2014: [312,-236,1000,0,999], // EM DASH
  140. 0x2018: [694,-471,278,90,189], // LEFT SINGLE QUOTATION MARK
  141. 0x2019: [694,-471,278,89,188], // RIGHT SINGLE QUOTATION MARK
  142. 0x201C: [694,-471,500,174,467], // LEFT DOUBLE QUOTATION MARK
  143. 0x201D: [694,-471,500,32,325] // RIGHT DOUBLE QUOTATION MARK
  144. };
  145. CHTML.fontLoaded("TeX/"+font.substr(8));
  146. })(MathJax.OutputJax.CommonHTML);