fontdata-beta.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
  2. /* vim: set ts=2 et sw=2 tw=80: */
  3. /*************************************************************
  4. *
  5. * MathJax/jax/output/HTML-CSS/font/STIX/fontdata-beta.js
  6. *
  7. * Patches the STIX font data to work with the beta version of
  8. * the STIX fonts (as opposed to the release version, assuming
  9. * there ever is one).
  10. *
  11. * ---------------------------------------------------------------------
  12. *
  13. * Copyright (c) 2010-2013 The MathJax Consortium
  14. *
  15. * Licensed under the Apache License, Version 2.0 (the "License");
  16. * you may not use this file except in compliance with the License.
  17. * You may obtain a copy of the License at
  18. *
  19. * http://www.apache.org/licenses/LICENSE-2.0
  20. *
  21. * Unless required by applicable law or agreed to in writing, software
  22. * distributed under the License is distributed on an "AS IS" BASIS,
  23. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  24. * See the License for the specific language governing permissions and
  25. * limitations under the License.
  26. */
  27. (function (HTMLCSS,TEX) {
  28. HTMLCSS.FONTDATA.STIXversion = "1.0-beta";
  29. var GENERAL = "STIXGeneral",
  30. BOLD = "STIXGeneral-bold",
  31. ITALIC = "STIXGeneral-italic",
  32. // NONUNI = "STIXNonUnicode",
  33. SIZE1 = "STIXSizeOneSym",
  34. SIZE2 = "STIXSizeTwoSym",
  35. SIZE3 = "STIXSizeThreeSym",
  36. SIZE4 = "STIXSizeFourSym",
  37. SIZE5 = "STIXSizeFiveSym";
  38. var REPLACE = function (name,data) {
  39. var FONT = HTMLCSS.FONTDATA.FONTS[name];
  40. for (var id in data) {if (data.hasOwnProperty(id)) {FONT[id] = data[id]}}
  41. };
  42. REPLACE(GENERAL,{
  43. 0x300: [678,-507,0,109,333], // COMBINING GRAVE ACCENT
  44. 0x301: [678,-507,0,109,333], // COMBINING ACUTE ACCENT
  45. 0x302: [674,-507,0,94,405], // COMBINING CIRCUMFLEX ACCENT
  46. 0x303: [638,-532,0,85,415], // COMBINING TILDE
  47. 0x304: [601,-547,0,95,406], // COMBINING MACRON
  48. 0x305: [820,-770,0,0,500], // COMBINING OVERLINE
  49. 0x306: [664,-507,0,107,388], // COMBINING BREVE
  50. 0x307: [622,-523,0,200,299], // COMBINING DOT ABOVE
  51. 0x308: [622,-523,0,101,399], // COMBINING DIAERESIS
  52. 0x309: [751,-492,0,173,362], // COMBINING HOOK ABOVE
  53. 0x30A: [711,-512,0,151,350], // COMBINING RING ABOVE
  54. 0x30B: [678,-507,0,79,458], // COMBINING DOUBLE ACUTE ACCENT
  55. 0x30C: [674,-507,0,95,406], // COMBINING CARON
  56. 0x30D: [700,-500,0,230,285], // COMBINING VERTICAL LINE ABOVE
  57. 0x30E: [700,-500,0,154,347], // COMBINING DOUBLE VERTICAL LINE ABOVE
  58. 0x30F: [678,-507,0,79,458], // COMBINING DOUBLE GRAVE ACCENT
  59. 0x310: [767,-507,0,107,388], // COMBINING CANDRABINDU
  60. 0x311: [664,-507,0,107,388], // COMBINING INVERTED BREVE
  61. 0x312: [745,-502,0,181,320], // COMBINING TURNED COMMA ABOVE
  62. 0x313: [745,-502,0,181,320], // COMBINING COMMA ABOVE
  63. 0x314: [745,-502,0,181,320], // COMBINING REVERSED COMMA ABOVE
  64. 0x315: [745,-502,0,395,534], // COMBINING COMMA ABOVE RIGHT
  65. 0x316: [-53,224,0,109,333], // COMBINING GRAVE ACCENT BELOW
  66. 0x317: [-53,224,0,109,333], // COMBINING ACUTE ACCENT BELOW
  67. 0x318: [-53,283,0,83,270], // COMBINING LEFT TACK BELOW
  68. 0x319: [-53,283,0,83,270], // COMBINING RIGHT TACK BELOW
  69. 0x31A: [735,-531,0,100,400], // COMBINING LEFT ANGLE ABOVE
  70. 0x31B: [474,-345,0,436,531], // COMBINING HORN
  71. 0x31C: [-71,266,0,120,248], // COMBINING LEFT HALF RING BELOW
  72. 0x31D: [-53,240,0,135,365], // COMBINING UP TACK BELOW
  73. 0x31E: [-53,240,0,135,365], // COMBINING DOWN TACK BELOW
  74. 0x31F: [-53,250,0,154,346], // COMBINING PLUS SIGN BELOW
  75. 0x320: [-124,168,0,154,346], // COMBINING MINUS SIGN BELOW
  76. 0x321: [75,287,0,245,481], // COMBINING PALATALIZED HOOK BELOW
  77. 0x322: [75,287,0,426,662], // COMBINING RETROFLEX HOOK BELOW
  78. 0x323: [-118,217,0,200,299], // COMBINING DOT BELOW
  79. 0x324: [-119,218,0,101,399], // COMBINING DIAERESIS BELOW
  80. 0x325: [-69,268,0,151,350], // COMBINING RING BELOW
  81. 0x326: [-110,353,0,181,320], // COMBINING COMMA BELOW
  82. 0x327: [0,215,0,146,355], // COMBINING CEDILLA
  83. 0x328: [0,165,0,158,343], // COMBINING OGONEK
  84. 0x329: [-102,234,0,230,270], // COMBINING VERTICAL LINE BELOW
  85. 0x32A: [-98,235,0,95,407], // COMBINING BRIDGE BELOW
  86. 0x32B: [-110,227,0,100,405], // COMBINING INVERTED DOUBLE ARCH BELOW
  87. 0x32C: [-73,240,0,95,406], // COMBINING CARON BELOW
  88. 0x32D: [-73,240,0,95,406], // COMBINING CIRCUMFLEX ACCENT BELOW
  89. 0x32E: [-68,225,0,110,391], // COMBINING BREVE BELOW
  90. 0x32F: [-59,216,0,110,391], // COMBINING INVERTED BREVE BELOW
  91. 0x330: [-113,219,0,85,415], // COMBINING TILDE BELOW
  92. 0x331: [-141,195,0,95,406], // COMBINING MACRON BELOW
  93. 0x332: [-141,191,0,0,500], // COMBINING LOW LINE
  94. 0x333: [-141,300,0,0,500], // COMBINING DOUBLE LOW LINE
  95. 0x334: [320,-214,0,79,409], // COMBINING TILDE OVERLAY
  96. 0x335: [274,-230,0,96,402], // COMBINING SHORT STROKE OVERLAY
  97. 0x336: [274,-230,0,0,500], // COMBINING LONG STROKE OVERLAY
  98. 0x337: [580,74,0,100,439], // COMBINING SHORT SOLIDUS OVERLAY
  99. 0x338: [662,156,0,100,511], // COMBINING LONG SOLIDUS OVERLAY
  100. 0x339: [-71,266,0,120,248], // COMBINING RIGHT HALF RING BELOW
  101. 0x33A: [-53,190,0,95,407], // COMBINING INVERTED BRIDGE BELOW
  102. 0x33B: [-53,227,0,167,333], // COMBINING SQUARE BELOW
  103. 0x33C: [-65,189,0,100,401], // COMBINING SEAGULL BELOW
  104. 0x33D: [715,-525,0,154,345], // COMBINING X ABOVE
  105. 0x33E: [829,-499,0,197,303], // COMBINING VERTICAL TILDE
  106. 0x33F: [928,-770,0,0,500], // COMBINING DOUBLE OVERLINE
  107. 0x346: [681,-538,0,0,282], // COMBINING BRIDGE ABOVE
  108. 0x34C: [777,-532,0,94,424], // COMBINING ALMOST EQUAL TO ABOVE
  109. 0x359: [-65,367,0,123,393], // COMBINING ASTERISK BELOW
  110. 0x35C: [-76,233,0,107,775], // COMBINING DOUBLE BREVE BELOW
  111. 0x360: [633,-517,0,85,845], // COMBINING DOUBLE TILDE
  112. 0x361: [664,-507,0,107,775], // COMBINING DOUBLE INVERTED BREVE
  113. 0x362: [-65,270,0,85,835], // COMBINING DOUBLE RIGHTWARDS ARROW BELOW
  114. 0x20D0: [760,-627,0,27,463], // COMBINING LEFT HARPOON ABOVE
  115. 0x20D1: [760,-627,0,27,463], // COMBINING RIGHT HARPOON ABOVE
  116. 0x20D2: [662,156,0,238,288], // COMBINING LONG VERTICAL LINE OVERLAY
  117. 0x20D6: [760,-548,0,27,463], // COMBINING LEFT ARROW ABOVE
  118. 0x20D7: [760,-548,0,27,463], // COMBINING RIGHT ARROW ABOVE
  119. 0x20DB: [622,-523,0,18,515], // COMBINING THREE DOTS ABOVE
  120. 0x20DC: [622,-523,0,0,696], // COMBINING FOUR DOTS ABOVE
  121. 0x20DD: [725,221,1000,27,973], // COMBINING ENCLOSING CIRCLE
  122. 0x20DE: [780,180,0,0,960], // COMBINING ENCLOSING SQUARE
  123. 0x20DF: [843,341,0,0,1184], // COMBINING ENCLOSING DIAMOND
  124. 0x20E1: [760,-548,0,27,505], // COMBINING LEFT RIGHT ARROW ABOVE
  125. 0x20E4: [1023,155,1510,25,1485], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE
  126. 0x20E5: [662,156,0,50,440], // COMBINING REVERSE SOLIDUS OVERLAY
  127. 0x20E6: [662,156,0,145,378], // COMBINING DOUBLE VERTICAL STROKE OVERLAY
  128. 0x20E7: [725,178,0,0,816], // COMBINING ANNUITY SYMBOL
  129. 0x20E8: [-119,218,0,18,515], // COMBINING TRIPLE UNDERDOT
  130. 0x20E9: [681,-538,0,0,533], // COMBINING WIDE BRIDGE ABOVE
  131. 0x20EA: [419,-87,0,-178,598], // COMBINING LEFTWARDS ARROW OVERLAY
  132. 0x20EB: [756,217,0,32,673], // COMBINING LONG DOUBLE SOLIDUS OVERLAY
  133. 0x20EC: [-119,252,0,27,463], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  134. 0x20ED: [-119,252,0,27,463], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  135. 0x20EE: [-40,252,0,27,463], // COMBINING LEFT ARROW BELOW
  136. 0x20EF: [-40,252,0,27,463], // COMBINING RIGHT ARROW BELOW
  137. 0x20F0: [819,-517,0,123,393] // COMBINING ASTERISK ABOVE
  138. });
  139. REPLACE(BOLD,{
  140. 0x300: [713,-528,0,141,379], // COMBINING GRAVE ACCENT
  141. 0x301: [713,-528,0,141,379], // COMBINING ACUTE ACCENT
  142. 0x302: [704,-528,0,92,429], // COMBINING CIRCUMFLEX ACCENT
  143. 0x303: [674,-547,0,78,443], // COMBINING TILDE
  144. 0x304: [637,-565,0,95,425], // COMBINING MACRON
  145. 0x305: [838,-788,0,10,510], // COMBINING OVERLINE
  146. 0x306: [691,-528,0,109,412], // COMBINING BREVE
  147. 0x307: [666,-537,0,196,325], // COMBINING DOT ABOVE
  148. 0x308: [666,-537,0,91,430], // COMBINING DIAERESIS
  149. 0x309: [751,-491,0,174,379], // COMBINING HOOK ABOVE
  150. 0x30A: [750,-537,0,154,367], // COMBINING RING ABOVE
  151. 0x30B: [713,-528,0,41,479], // COMBINING DOUBLE ACUTE ACCENT
  152. 0x30C: [704,-528,0,92,429], // COMBINING CARON
  153. 0x30D: [730,-530,0,233,299], // COMBINING VERTICAL LINE ABOVE
  154. 0x30E: [730,-530,0,152,368], // COMBINING DOUBLE VERTICAL LINE ABOVE
  155. 0x30F: [713,-528,0,41,479], // COMBINING DOUBLE GRAVE ACCENT
  156. 0x310: [828,-528,0,109,412], // COMBINING CANDRABINDU
  157. 0x311: [691,-528,0,109,412], // COMBINING INVERTED BREVE
  158. 0x312: [867,-532,0,168,352], // COMBINING TURNED COMMA ABOVE
  159. 0x313: [867,-532,0,168,352], // COMBINING COMMA ABOVE
  160. 0x314: [867,-532,0,168,352], // COMBINING REVERSED COMMA ABOVE
  161. 0x315: [867,-532,0,394,578], // COMBINING COMMA ABOVE RIGHT
  162. 0x316: [-70,255,0,141,379], // COMBINING GRAVE ACCENT BELOW
  163. 0x317: [-70,255,0,141,379], // COMBINING ACUTE ACCENT BELOW
  164. 0x318: [-58,288,0,85,287], // COMBINING LEFT TACK BELOW
  165. 0x319: [-58,288,0,232,434], // COMBINING RIGHT TACK BELOW
  166. 0x31A: [752,-531,0,100,417], // COMBINING LEFT ANGLE ABOVE
  167. 0x31B: [505,-352,0,448,576], // COMBINING HORN
  168. 0x31C: [-33,313,0,135,320], // COMBINING LEFT HALF RING BELOW
  169. 0x31D: [-70,272,0,145,375], // COMBINING UP TACK BELOW
  170. 0x31E: [-70,272,0,145,375], // COMBINING DOWN TACK BELOW
  171. 0x31F: [-70,287,0,154,366], // COMBINING PLUS SIGN BELOW
  172. 0x320: [-140,206,0,154,366], // COMBINING MINUS SIGN BELOW
  173. 0x321: [75,287,0,269,488], // COMBINING PALATALIZED HOOK BELOW
  174. 0x322: [75,287,0,416,635], // COMBINING RETROFLEX HOOK BELOW
  175. 0x323: [-109,238,0,196,325], // COMBINING DOT BELOW
  176. 0x324: [-109,238,0,91,430], // COMBINING DIAERESIS BELOW
  177. 0x325: [-66,279,0,154,367], // COMBINING RING BELOW
  178. 0x326: [-88,423,0,168,352], // COMBINING COMMA BELOW
  179. 0x327: [0,218,0,147,373], // COMBINING CEDILLA
  180. 0x328: [44,173,0,146,375], // COMBINING OGONEK
  181. 0x329: [-107,239,0,233,288], // COMBINING VERTICAL LINE BELOW
  182. 0x32A: [-86,260,0,85,417], // COMBINING BRIDGE BELOW
  183. 0x32B: [-104,242,0,90,415], // COMBINING INVERTED DOUBLE ARCH BELOW
  184. 0x32C: [-83,259,0,92,429], // COMBINING CARON BELOW
  185. 0x32D: [-85,261,0,92,429], // COMBINING CIRCUMFLEX ACCENT BELOW
  186. 0x32E: [-78,241,0,109,412], // COMBINING BREVE BELOW
  187. 0x32F: [-78,241,0,109,412], // COMBINING INVERTED BREVE BELOW
  188. 0x330: [-108,235,0,78,443], // COMBINING TILDE BELOW
  189. 0x331: [-137,209,0,95,425], // COMBINING MACRON BELOW
  190. 0x332: [-137,187,0,10,510], // COMBINING LOW LINE
  191. 0x333: [-137,287,0,10,510], // COMBINING DOUBLE LOW LINE
  192. 0x334: [316,-189,0,78,443], // COMBINING TILDE OVERLAY
  193. 0x335: [282,-224,0,96,402], // COMBINING SHORT STROKE OVERLAY
  194. 0x336: [282,-224,0,0,500], // COMBINING LONG STROKE OVERLAY
  195. 0x337: [580,74,0,100,467], // COMBINING SHORT SOLIDUS OVERLAY
  196. 0x338: [662,156,0,100,541], // COMBINING LONG SOLIDUS OVERLAY
  197. 0x339: [-33,313,0,135,320], // COMBINING RIGHT HALF RING BELOW
  198. 0x33A: [-71,245,0,85,417], // COMBINING INVERTED BRIDGE BELOW
  199. 0x33B: [-70,264,0,157,343], // COMBINING SQUARE BELOW
  200. 0x33C: [-89,234,0,100,401], // COMBINING SEAGULL BELOW
  201. 0x33D: [719,-520,0,160,360], // COMBINING X ABOVE
  202. 0x33E: [881,-516,0,196,323], // COMBINING VERTICAL TILDE
  203. 0x33F: [938,-788,0,10,510], // COMBINING DOUBLE OVERLINE
  204. 0x346: [717,-544,0,0,303], // COMBINING BRIDGE ABOVE
  205. 0x34C: [837,-547,333,-16,349], // COMBINING ALMOST EQUAL TO ABOVE
  206. 0x359: [-66,368,0,151,421], // COMBINING ASTERISK BELOW
  207. 0x35C: [-79,242,0,109,810], // COMBINING DOUBLE BREVE BELOW
  208. 0x360: [674,-529,0,78,908], // COMBINING DOUBLE TILDE
  209. 0x361: [691,-534,0,107,775], // COMBINING DOUBLE INVERTED BREVE
  210. 0x362: [-54,293,0,78,887], // COMBINING DOUBLE RIGHTWARDS ARROW BELOW
  211. 0x20D0: [846,-637,0,40,524], // COMBINING LEFT HARPOON ABOVE
  212. 0x20D1: [846,-637,0,40,524], // COMBINING RIGHT HARPOON ABOVE
  213. 0x20D2: [662,156,0,232,307], // COMBINING LONG VERTICAL LINE OVERLAY
  214. 0x20D6: [846,-508,0,40,524], // COMBINING LEFT ARROW ABOVE
  215. 0x20D7: [846,-508,0,40,524], // COMBINING RIGHT ARROW ABOVE
  216. 0x20DB: [666,-537,0,-2,547], // COMBINING THREE DOTS ABOVE
  217. 0x20DC: [666,-537,0,-2,757], // COMBINING FOUR DOTS ABOVE
  218. 0x20DD: [760,254,1073,32,1041], // COMBINING ENCLOSING CIRCLE
  219. 0x20E1: [846,-508,0,35,629], // COMBINING LEFT RIGHT ARROW ABOVE
  220. 0x20E4: [1055,169,1581,32,1549], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE
  221. 0x20E5: [662,155,0,40,522], // COMBINING REVERSE SOLIDUS OVERLAY
  222. 0x20E6: [662,156,0,130,409], // COMBINING DOUBLE VERTICAL STROKE OVERLAY
  223. 0x20E7: [760,172,0,67,910], // COMBINING ANNUITY SYMBOL
  224. 0x20E8: [-109,238,0,-2,547], // COMBINING TRIPLE UNDERDOT
  225. 0x20E9: [717,-544,0,0,564], // COMBINING WIDE BRIDGE ABOVE
  226. 0x20EA: [441,-65,1073,-178,658], // COMBINING LEFTWARDS ARROW OVERLAY
  227. 0x20EB: [775,235,0,25,738], // COMBINING LONG DOUBLE SOLIDUS OVERLAY
  228. 0x20EC: [-166,375,0,40,524], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  229. 0x20ED: [-166,375,0,40,524], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  230. 0x20EE: [-35,373,0,40,524], // COMBINING LEFT ARROW BELOW
  231. 0x20EF: [-35,373,0,40,524], // COMBINING RIGHT ARROW BELOW
  232. 0x20F0: [845,-543,0,125,395] // COMBINING ASTERISK ABOVE
  233. });
  234. REPLACE(ITALIC,{
  235. 0x20D0: [760,-627,0,27,463], // COMBINING LEFT HARPOON ABOVE
  236. 0x20D1: [760,-627,0,54,490], // COMBINING RIGHT HARPOON ABOVE
  237. 0x20D2: [662,156,266,100,166], // COMBINING LONG VERTICAL LINE OVERLAY
  238. 0x20D6: [760,-548,0,27,463], // COMBINING LEFT ARROW ABOVE
  239. 0x20D7: [760,-548,0,27,463], // COMBINING RIGHT ARROW ABOVE
  240. 0x20DB: [622,-523,0,27,524], // COMBINING THREE DOTS ABOVE
  241. 0x20DC: [622,-523,0,18,714], // COMBINING FOUR DOTS ABOVE
  242. 0x20DD: [725,221,1000,27,973], // COMBINING ENCLOSING CIRCLE
  243. 0x20E1: [760,-548,0,27,505], // COMBINING LEFT RIGHT ARROW ABOVE
  244. 0x20E4: [1023,155,1510,25,1485], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE
  245. 0x20E5: [662,156,506,50,456], // COMBINING REVERSE SOLIDUS OVERLAY
  246. 0x20E6: [662,156,523,129,394], // COMBINING DOUBLE VERTICAL STROKE OVERLAY
  247. 0x20E7: [725,178,926,55,871], // COMBINING ANNUITY SYMBOL
  248. 0x20E8: [-119,218,0,18,515], // COMBINING TRIPLE UNDERDOT
  249. 0x20E9: [681,-538,0,2,535], // COMBINING WIDE BRIDGE ABOVE
  250. 0x20EA: [419,-87,1000,27,973], // COMBINING LEFTWARDS ARROW OVERLAY
  251. 0x20EC: [681,-548,0,27,463], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  252. 0x20ED: [681,-548,0,27,463], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  253. 0x20EE: [-40,252,490,27,463], // COMBINING LEFT ARROW BELOW
  254. 0x20EF: [-40,252,490,27,463] // COMBINING RIGHT ARROW BELOW
  255. });
  256. REPLACE(SIZE1,{
  257. 0x302: [767,-554,0,0,560], // COMBINING CIRCUMFLEX ACCENT
  258. 0x303: [750,-598,0,-2,558], // COMBINING TILDE
  259. 0x305: [820,-770,0,0,1000], // COMBINING OVERLINE
  260. 0x30C: [767,-554,0,0,560], // COMBINING CARON
  261. 0x330: [-117,269,0,-2,558], // COMBINING TILDE BELOW
  262. 0x332: [-127,177,0,0,1000], // COMBINING LOW LINE
  263. 0x338: [532,21,0,0,563], // COMBINING LONG SOLIDUS OVERLAY
  264. 0x20D0: [749,-584,0,28,899], // COMBINING LEFT HARPOON ABOVE
  265. 0x20D1: [749,-584,0,27,898], // COMBINING RIGHT HARPOON ABOVE
  266. 0x20D6: [735,-482,0,27,899], // COMBINING LEFT ARROW ABOVE
  267. 0x20D7: [736,-482,0,27,899], // COMBINING RIGHT ARROW ABOVE
  268. 0x20EC: [-123,288,0,27,898], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  269. 0x20ED: [-123,288,0,28,899], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  270. 0x20EE: [-26,279,0,27,899], // COMBINING LEFT ARROW BELOW
  271. 0x20EF: [-25,279,0,27,899] // COMBINING RIGHT ARROW BELOW
  272. });
  273. REPLACE(SIZE2,{
  274. 0x302: [777,-564,0,0,979], // COMBINING CIRCUMFLEX ACCENT
  275. 0x303: [760,-608,0,-2,977], // COMBINING TILDE
  276. 0x305: [820,-770,0,0,1500], // COMBINING OVERLINE
  277. 0x30C: [777,-564,0,0,979], // COMBINING CARON
  278. 0x330: [-117,269,0,-2,977], // COMBINING TILDE BELOW
  279. 0x332: [-127,177,0,0,1000], // COMBINING LOW LINE
  280. 0x338: [662,0,0,0,714], // COMBINING LONG SOLIDUS OVERLAY
  281. 0x20D0: [749,-584,0,27,1335], // COMBINING LEFT HARPOON ABOVE
  282. 0x20D1: [749,-584,0,27,1335], // COMBINING RIGHT HARPOON ABOVE
  283. 0x20D6: [735,-482,0,27,1335], // COMBINING LEFT ARROW ABOVE
  284. 0x20D7: [735,-482,0,27,1335], // COMBINING RIGHT ARROW ABOVE
  285. 0x20EC: [-123,288,0,27,1335], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  286. 0x20ED: [-123,288,0,27,1335], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  287. 0x20EE: [-26,279,0,27,1335], // COMBINING LEFT ARROW BELOW
  288. 0x20EF: [-26,279,0,27,1335] // COMBINING RIGHT ARROW BELOW
  289. });
  290. REPLACE(SIZE3,{
  291. 0x302: [777,-564,0,0,1460], // COMBINING CIRCUMFLEX ACCENT
  292. 0x303: [774,-608,0,-2,1458], // COMBINING TILDE
  293. 0x305: [820,-770,0,0,2000], // COMBINING OVERLINE
  294. 0x30C: [777,-564,0,0,1460], // COMBINING CARON
  295. 0x330: [-117,283,0,-2,1458], // COMBINING TILDE BELOW
  296. 0x332: [-127,177,0,0,2000], // COMBINING LOW LINE
  297. 0x338: [662,156,0,137,548], // COMBINING LONG SOLIDUS OVERLAY
  298. 0x20D0: [749,-584,0,27,1771], // COMBINING LEFT HARPOON ABOVE
  299. 0x20D1: [749,-584,0,27,1771], // COMBINING RIGHT HARPOON ABOVE
  300. 0x20D6: [735,-482,0,27,1771], // COMBINING LEFT ARROW ABOVE
  301. 0x20D7: [735,-482,0,27,1771], // COMBINING RIGHT ARROW ABOVE
  302. 0x20EC: [-123,288,0,27,1771], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  303. 0x20ED: [-123,288,0,27,1771], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  304. 0x20EE: [-26,279,0,27,1771], // COMBINING LEFT ARROW BELOW
  305. 0x20EF: [-26,279,0,27,1771] // COMBINING RIGHT ARROW BELOW
  306. });
  307. REPLACE(SIZE4,{
  308. 0x302: [796,-573,0,0,1886], // COMBINING CIRCUMFLEX ACCENT
  309. 0x303: [771,-608,0,0,1886], // COMBINING TILDE
  310. 0x305: [820,-770,0,0,2500], // COMBINING OVERLINE
  311. 0x30C: [796,-573,0,0,1886], // COMBINING CARON
  312. 0x330: [-117,280,0,0,1886], // COMBINING TILDE BELOW
  313. 0x332: [-127,177,0,0,2500], // COMBINING LOW LINE
  314. 0x338: [731,228,0,170,491], // COMBINING LONG SOLIDUS OVERLAY
  315. 0x20D0: [749,-584,0,27,2207], // COMBINING LEFT HARPOON ABOVE
  316. 0x20D1: [749,-584,0,27,2207], // COMBINING RIGHT HARPOON ABOVE
  317. 0x20D6: [735,-482,0,27,2207], // COMBINING LEFT ARROW ABOVE
  318. 0x20D7: [735,-482,0,27,2207], // COMBINING RIGHT ARROW ABOVE
  319. 0x20EC: [-123,288,0,27,2207], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  320. 0x20ED: [-123,288,0,27,2207], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  321. 0x20EE: [-26,279,0,27,2207], // COMBINING LEFT ARROW BELOW
  322. 0x20EF: [-26,279,0,27,2207] // COMBINING RIGHT ARROW BELOW
  323. });
  324. REPLACE(SIZE5,{
  325. 0x302: [816,-572,0,0,2328], // COMBINING CIRCUMFLEX ACCENT
  326. 0x303: [780,-617,0,0,2328], // COMBINING TILDE
  327. 0x305: [820,-770,0,0,3000], // COMBINING OVERLINE
  328. 0x30C: [816,-572,0,0,2328], // COMBINING CARON
  329. 0x330: [-117,280,0,0,2328], // COMBINING TILDE BELOW
  330. 0x332: [-127,177,0,0,3000], // COMBINING LOW LINE
  331. 0x338: [960,454,0,119,557], // COMBINING LONG SOLIDUS OVERLAY
  332. 0x20D0: [749,-584,0,0,3000], // COMBINING LEFT HARPOON ABOVE
  333. 0x20D1: [749,-584,0,0,3000], // COMBINING RIGHT HARPOON ABOVE
  334. 0x20D6: [735,-482,0,0,3000], // COMBINING LEFT ARROW ABOVE
  335. 0x20D7: [735,-482,0,0,3000], // COMBINING RIGHT ARROW ABOVE
  336. 0x20EC: [-123,288,0,0,3000], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  337. 0x20ED: [-123,288,0,0,3000], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS
  338. 0x20EE: [-26,279,0,0,3000], // COMBINING LEFT ARROW BELOW
  339. 0x20EF: [-26,279,0,0,3000] // COMBINING RIGHT ARROW BELOW
  340. });
  341. MathJax.Hub.Register.LoadHook(HTMLCSS.fontDir+"/General/BoldItalic/CombDiactForSymbols.js",
  342. function () {
  343. REPLACE("STIXGeneral-bold-italic",{
  344. 0x20DD: [760,254,1073,32,1041] // COMBINING ENCLOSING CIRCLE
  345. });
  346. }
  347. );
  348. var SIZES = [SIZE1,SIZE2,SIZE3,SIZE4];
  349. var CHARS = [0x2C6,0x2C7,0x2DC,0x2E7];
  350. for (var i = 0; i < SIZES.length; i++) {
  351. for (var j = 0; j < CHARS.length; j++) {
  352. delete HTMLCSS.FONTDATA.FONTS[SIZES[i]][j];
  353. }
  354. }
  355. MathJax.Ajax.loadComplete(HTMLCSS.fontDir+"/fontdata-beta.js");
  356. })(MathJax.OutputJax["HTML-CSS"],MathJax.InputJax.TeX);