fontdata.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/SVG/fonts/Neo-Euler/fontdata.js
  4. *
  5. * Initializes the SVG OutputJax to use the Neo-Euler fonts
  6. * Copyright (c) 2013-2017 The MathJax Consortium
  7. *
  8. * Licensed under the Apache License, Version 2.0 (the "License");
  9. * you may not use this file except in compliance with the License.
  10. * You may obtain a copy of the License at
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. *
  14. * Unless required by applicable law or agreed to in writing, software
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. (function (SVG,MML,AJAX,HUB) {
  21. var VERSION = "2.7.2";
  22. var ALPHABETS = "NeoEulerMathJax_Alphabets",
  23. ARROWS = "NeoEulerMathJax_Arrows",
  24. FRAKTUR = "NeoEulerMathJax_Fraktur",
  25. MAIN = "NeoEulerMathJax_Main",
  26. MARKS = "NeoEulerMathJax_Marks",
  27. NONUNICODE = "NeoEulerMathJax_NonUnicode",
  28. NORMAL = "NeoEulerMathJax_Normal",
  29. OPERATORS = "NeoEulerMathJax_Operators",
  30. SCRIPT = "NeoEulerMathJax_Script",
  31. SHAPES = "NeoEulerMathJax_Shapes",
  32. SIZE1 = "NeoEulerMathJax_Size1",
  33. SIZE2 = "NeoEulerMathJax_Size2",
  34. SIZE3 = "NeoEulerMathJax_Size3",
  35. SIZE4 = "NeoEulerMathJax_Size4",
  36. SIZE5 = "NeoEulerMathJax_Size5",
  37. SYMBOLS = "NeoEulerMathJax_Symbols",
  38. VARIANTS = "NeoEulerMathJax_Variants",
  39. DOUBLESTRUCK = "NeoEulerMathJax_Normal",
  40. SANSSERIF = "NeoEulerMathJax_Normal",
  41. MONOSPACE = "NeoEulerMathJax_Normal";
  42. var H = "H", V = "V", EXTRAH = {load:"extra", dir:H}, EXTRAV = {load:"extra", dir:V};
  43. SVG.Augment({
  44. FONTDATA: {
  45. version: VERSION,
  46. baselineskip: 1200,
  47. lineH: 800, lineD: 200,
  48. FONTS: {
  49. "NeoEulerMathJax_Alphabets": "Alphabets/Regular/Main.js",
  50. "NeoEulerMathJax_Arrows": "Arrows/Regular/Main.js",
  51. "NeoEulerMathJax_Fraktur": "Fraktur/Regular/Main.js",
  52. "NeoEulerMathJax_Main": "Main/Regular/Main.js",
  53. "NeoEulerMathJax_Marks": "Marks/Regular/Main.js",
  54. "NeoEulerMathJax_NonUnicode": "NonUnicode/Regular/Main.js",
  55. "NeoEulerMathJax_Normal": "Normal/Regular/Main.js",
  56. "NeoEulerMathJax_Operators": "Operators/Regular/Main.js",
  57. "NeoEulerMathJax_Script": "Script/Regular/Main.js",
  58. "NeoEulerMathJax_Shapes": "Shapes/Regular/Main.js",
  59. "NeoEulerMathJax_Size1": "Size1/Regular/Main.js",
  60. "NeoEulerMathJax_Size2": "Size2/Regular/Main.js",
  61. "NeoEulerMathJax_Size3": "Size3/Regular/Main.js",
  62. "NeoEulerMathJax_Size4": "Size4/Regular/Main.js",
  63. "NeoEulerMathJax_Size5": "Size5/Regular/Main.js",
  64. "NeoEulerMathJax_Symbols": "Symbols/Regular/Main.js",
  65. "NeoEulerMathJax_Variants": "Variants/Regular/Main.js"
  66. },
  67. VARIANT: {
  68. "normal": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1]},
  69. "bold": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], bold:true
  70. , offsetA: 0x1D400, offsetG: 0x1D6A8, offsetN: 0x1D7CE},
  71. "italic": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic:true},
  72. "bold-italic": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], bold: true, italic:true},
  73. "double-struck": {
  74. fonts: [DOUBLESTRUCK],
  75. offsetA: 0x1D538,
  76. offsetN: 0x1D7D8,
  77. remap: {0x1D53A: 0x2102, 0x1D53F: 0x210D, 0x1D545: 0x2115, 0x1D547: 0x2119, 0x1D548: 0x211A, 0x1D549: 0x211D, 0x1D551: 0x2124}
  78. },
  79. "fraktur": {
  80. fonts: [FRAKTUR],
  81. offsetA: 0x1D504,
  82. remap: {0x1D506: 0x212D, 0x1D50B: 0x210C, 0x1D50C: 0x2111, 0x1D515: 0x211C, 0x1D51D: 0x2128}
  83. },
  84. "bold-fraktur": {
  85. fonts: [FRAKTUR], bold:true,
  86. offsetA: 0x1D56C
  87. },
  88. "script": {
  89. fonts: [SCRIPT], italic:true,
  90. offsetA: 0x1D49C,
  91. remap: {0x1D49D: 0x212C, 0x1D4A0: 0x2130, 0x1D4A1: 0x2131, 0x1D4A3: 0x210B, 0x1D4A4: 0x2110, 0x1D4A7: 0x2112, 0x1D4A8: 0x2133, 0x1D4AD: 0x211B, 0x1D4BA: 0x212F, 0x1D4BC: 0x210A, 0x1D4C4: 0x2134}
  92. },
  93. "bold-script": {
  94. fonts: [SCRIPT], bold:true, italic:true,
  95. offsetA: 0x1D4D0
  96. },
  97. "sans-serif": {
  98. fonts: [SANSSERIF],
  99. offsetA: 0x1D5A0,
  100. offsetN: 0x1D7E2
  101. },
  102. "bold-sans-serif": {
  103. fonts: [SANSSERIF], bold:true,
  104. offsetA: 0x1D5D4,
  105. offsetN: 0x1D7EC,
  106. offsetG: 0x1D756
  107. },
  108. "sans-serif-italic": {
  109. fonts: [SANSSERIF], italic: true,
  110. offsetA: 0x1D608
  111. },
  112. "sans-serif-bold-italic": {
  113. fonts: [SANSSERIF], bold:true, italic: true,
  114. offsetA: 0x1D63C,
  115. offsetG: 0x1D790
  116. },
  117. "monospace": {
  118. fonts: [MONOSPACE],
  119. offsetA: 0x1D670,
  120. offsetN: 0x1D7F6
  121. },
  122. "-Neo-Euler-variant": {fonts: [VARIANTS,MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,NONUNICODE,SIZE1]},
  123. "-tex-caligraphic": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic: true},
  124. "-tex-oldstyle": {offsetN: 0xE200, fonts: [VARIANTS,MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,NONUNICODE,SIZE1]},
  125. "-tex-caligraphic-bold": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic: true, bold: true},
  126. "-tex-oldstyle-bold": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], bold: true},
  127. "-tex-mathit": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic:true, noIC:true},
  128. "-largeOp": {fonts:[SIZE1,MAIN]},
  129. "-smallOp": {}
  130. },
  131. RANGES: [
  132. {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 26},
  133. {name: "Alpha", low: 0x41, high: 0x5A, offset: "A"},
  134. {name: "number", low: 0x30, high: 0x39, offset: "N"},
  135. {name: "greek", low: 0x03B1, high: 0x03C9, offset: "G", add: 26},
  136. {name: "Greek", low: 0x0391, high: 0x03F6, offset: "G",
  137. remap: {0x03F5: 52, 0x03D1: 53, 0x03F0: 54, 0x03D5: 55, 0x03F1: 56, 0x03D6: 57, 0x03F4: 17}}
  138. ],
  139. RULECHAR: 0x2212,
  140. REMAP: {
  141. 0xA: 0x20,
  142. 0x20F0: 0x002A,
  143. 0x2022: 0x2219,
  144. 0x22E3: "\u2292\u0338",
  145. 0x22E2: "\u2291\u0338",
  146. 0x3008: 0x27E8,
  147. 0x02C9: 0x00AF,
  148. 0x2017: 0x005F,
  149. 0x20EC: 0x21C1,
  150. 0x20ED: 0x21BD,
  151. 0x2A2F: 0x00D7,
  152. 0x20D0: 0x21BC,
  153. 0x20D1: 0x21C0,
  154. 0x03D2: 0x03A5,
  155. 0x2014: 0x00AF,
  156. 0x2015: 0x00AF,
  157. 0x3009: 0x27E9,
  158. 0xFE37: 0x23DE,
  159. 0xFE38: 0x23DF,
  160. 0x02B9: 0x2032,
  161. 0x2758: 0x2223,
  162. 0x203E: 0x00AF
  163. },
  164. REMAPACCENT: {
  165. "\u007E": "\u0303",
  166. "\u2192": "\u20D7",
  167. "\u0060": "\u0300",
  168. "\u005E": "\u0302",
  169. "\u00B4": "\u0301",
  170. "\u2032": "\u0301",
  171. "\u2035": "\u0300"
  172. },
  173. REMAPACCENTUNDER: {
  174. },
  175. DELIMITERS: {
  176. 0x28:
  177. {
  178. dir: V,
  179. HW: [[925,MAIN], [1198,SIZE1], [1798,SIZE2], [1961,SIZE2,1.091], [2398,SIZE3], [2998,SIZE4]],
  180. stretch: {bot:[0x239D,SYMBOLS], ext:[0x239C,SYMBOLS], top:[0x239B,SYMBOLS]}
  181. },
  182. 0x29:
  183. {
  184. dir: V,
  185. HW: [[925,MAIN], [1198,SIZE1], [1798,SIZE2], [1961,SIZE2,1.091], [2398,SIZE3], [2998,SIZE4]],
  186. stretch: {bot:[0x23A0,SYMBOLS], ext:[0x239F,SYMBOLS], top:[0x239E,SYMBOLS]}
  187. },
  188. 0x2D: {alias: 0xAF, dir: H},
  189. 0x2F:
  190. {
  191. dir: V,
  192. HW: [[912,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]]
  193. },
  194. 0x3D:
  195. {
  196. dir: H,
  197. HW: [[668,MAIN]],
  198. stretch: {rep:[0x3D,MAIN]}
  199. },
  200. 0x5B:
  201. {
  202. dir: V,
  203. HW: [[866,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  204. stretch: {bot:[0x23A3,SYMBOLS], ext:[0x23A2,SYMBOLS], top:[0x23A1,SYMBOLS]}
  205. },
  206. 0x5C:
  207. {
  208. dir: V,
  209. HW: [[914,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]]
  210. },
  211. 0x5D:
  212. {
  213. dir: V,
  214. HW: [[866,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  215. stretch: {bot:[0x23A6,SYMBOLS], ext:[0x23A5,SYMBOLS], top:[0x23A4,SYMBOLS]}
  216. },
  217. 0x5F: {alias: 0xAF, dir: H},
  218. 0x7B:
  219. {
  220. dir: V,
  221. HW: [[908,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  222. stretch: {bot:[0x23A9,SYMBOLS], ext:[0x23AA,SYMBOLS], mid:[0x23A8,SYMBOLS], top:[0x23A7,SYMBOLS]}
  223. },
  224. 0x7C:
  225. {
  226. dir: V,
  227. HW: [[905,MAIN], [1505,SIZE1], [2105,SIZE2], [2706,SIZE3], [3306,SIZE4]],
  228. stretch: {bot:[0xE000,SIZE5], ext:[0xE001,SIZE5]}
  229. },
  230. 0x7D:
  231. {
  232. dir: V,
  233. HW: [[908,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  234. stretch: {bot:[0x23AD,SYMBOLS], ext:[0x23AA,SYMBOLS], mid:[0x23AC,SYMBOLS], top:[0x23AB,SYMBOLS]}
  235. },
  236. 0xAF:
  237. {
  238. dir: H,
  239. HW: [[312,MAIN]],
  240. stretch: {rep:[0xAF,MAIN]}
  241. },
  242. 0xC9: {alias: 0xAF, dir: H},
  243. 0x332: {alias: 0xAF, dir: H},
  244. 0x2015: {alias: 0xAF, dir: H},
  245. 0x2016:
  246. {
  247. dir: V,
  248. HW: [[905,MAIN], [1505,SIZE1], [2105,SIZE2], [2706,SIZE3], [3306,SIZE4]],
  249. stretch: {bot:[0xE002,SIZE5], ext:[0xE003,SIZE5]}
  250. },
  251. 0x2017: {alias: 0xAF, dir: H},
  252. 0x203E: {alias: 0xAF, dir: H},
  253. 0x2044: EXTRAV,
  254. 0x20D6:
  255. {
  256. dir: H,
  257. HW: [[418,MARKS]],
  258. stretch: {left:[0x20D6,MARKS], rep:[0xE004,SIZE5]}
  259. },
  260. 0x20D7:
  261. {
  262. dir: H,
  263. HW: [[418,MAIN]],
  264. stretch: {rep:[0xE004,SIZE5], right:[0x20D7,MAIN]}
  265. },
  266. 0x20E1: EXTRAH,
  267. 0x20EE: EXTRAH,
  268. 0x20EF: EXTRAH,
  269. 0x2190: {alias: 0x20D6, dir: H},
  270. 0x2191:
  271. {
  272. dir: V,
  273. HW: [[887,MAIN]],
  274. stretch: {top:[0x2191,MAIN], ext:[0x7C,MAIN]}
  275. },
  276. 0x2192: {alias: 0x20D7, dir: H},
  277. 0x2193:
  278. {
  279. dir: V,
  280. HW: [[867,MAIN]],
  281. stretch: {ext:[0x7C,MAIN], bot:[0x2193,MAIN]}
  282. },
  283. 0x2194: {alias: 0x20E1, dir: H},
  284. 0x2195:
  285. {
  286. dir: V,
  287. HW: [[1042,MAIN]],
  288. stretch: {top:[0x2191,MAIN], ext:[0x7C,MAIN], bot:[0x2193,MAIN]}
  289. },
  290. 0x21D0:
  291. {
  292. dir: H,
  293. HW: [[867,MAIN], [1567,SIZE1]]
  294. },
  295. 0x21D1:
  296. {
  297. dir: H,
  298. HW: [[640,MAIN]],
  299. stretch: {top:[0x21D1,MAIN], ext:[0x2016,MAIN]}
  300. },
  301. 0x21D2:
  302. {
  303. dir: H,
  304. HW: [[867,MAIN], [1567,SIZE1]]
  305. },
  306. 0x21D3:
  307. {
  308. dir: H,
  309. HW: [[640,MAIN]],
  310. stretch: {ext:[0x2016,MAIN], bot:[0x21D3,MAIN]}
  311. },
  312. 0x21D4:
  313. {
  314. dir: H,
  315. HW: [[867,MAIN,null,0x21D0], [1632,SIZE1]]
  316. },
  317. 0x21D5:
  318. {
  319. dir: H,
  320. HW: [[640,MAIN]],
  321. stretch: {top:[0x21D1,MAIN], ext:[0x2016,MAIN], bot:[0x21D3,MAIN]}
  322. },
  323. 0x220F: EXTRAV,
  324. 0x2210: EXTRAV,
  325. 0x2211: EXTRAV,
  326. 0x2212: {
  327. dir: H,
  328. HW: [],
  329. stretch: {rep:[0x2212,MAIN,0,0,0,-.31,-.31]}
  330. },
  331. 0x2215:
  332. {
  333. dir: V,
  334. HW: [[912,MAIN], [1199,SIZE1], [1799,SIZE2], [2399,SIZE3], [2999,SIZE4]]
  335. },
  336. 0x221A:
  337. {
  338. dir: V,
  339. HW: [[989,MAIN], [1209,SIZE1], [1801,SIZE2], [2403,SIZE3], [3003,SIZE4]],
  340. stretch: {bot:[0xE006,SIZE5], ext:[0xE007,SIZE5], top:[0xE008,SIZE5]}
  341. },
  342. 0x2223:
  343. {
  344. dir: V,
  345. HW: [[795,MAIN], [1505,SIZE1], [2105,SIZE2], [2706,SIZE3], [3306,SIZE4]]
  346. },
  347. 0x2225:
  348. {
  349. dir: V,
  350. HW: [[905,MAIN], [905,SIZE1], [1505,SIZE2], [2105,SIZE3], [2706,SIZE4], [3306,SIZE5]],
  351. stretch: {bot:[0xE002,SIZE5], ext:[0xE003,SIZE5]}
  352. },
  353. 0x2227: EXTRAV,
  354. 0x2228: EXTRAV,
  355. 0x2229: EXTRAV,
  356. 0x222A: EXTRAV,
  357. 0x222B: EXTRAV,
  358. 0x222C: EXTRAV,
  359. 0x222D: EXTRAV,
  360. 0x222E: EXTRAV,
  361. 0x228E: EXTRAV,
  362. 0x22C0: EXTRAV,
  363. 0x22C1: EXTRAV,
  364. 0x22C2: EXTRAV,
  365. 0x22C3: EXTRAV,
  366. 0x2308:
  367. {
  368. dir: V,
  369. HW: [[980,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  370. stretch: {ext:[0x23A2,SYMBOLS], top:[0x23A1,SYMBOLS]}
  371. },
  372. 0x2309:
  373. {
  374. dir: V,
  375. HW: [[980,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  376. stretch: {ext:[0x23A5,SYMBOLS], top:[0x23A4,SYMBOLS]}
  377. },
  378. 0x230A:
  379. {
  380. dir: V,
  381. HW: [[980,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  382. stretch: {bot:[0x23A3,SYMBOLS], ext:[0x23A2,SYMBOLS]}
  383. },
  384. 0x230B:
  385. {
  386. dir: V,
  387. HW: [[980,MAIN], [1199,SIZE1], [1799,SIZE2], [1961,SIZE2,1.090], [2399,SIZE3], [2999,SIZE4]],
  388. stretch: {bot:[0x23A6,SYMBOLS], ext:[0x23A5,SYMBOLS]}
  389. },
  390. 0x2312: {alias: 0x23DC, dir:H},
  391. 0x2322: {alias: 0x23DC, dir:H},
  392. 0x2323: {alias: 0x23DD, dir:H},
  393. 0x2329:
  394. {
  395. dir: V,
  396. HW: [[974,SYMBOLS], [1176,SIZE1], [1770,SIZE2], [2366,SIZE3], [2958,SIZE4]]
  397. },
  398. 0x232A:
  399. {
  400. dir: V,
  401. HW: [[974,SYMBOLS], [1176,SIZE1], [1770,SIZE2], [2366,SIZE3], [2958,SIZE4]]
  402. },
  403. 0x23AA:
  404. {
  405. dir: V,
  406. HW: [[320,SYMBOLS]],
  407. stretch: {ext:[0x23AA,SYMBOLS]}
  408. },
  409. 0x23AF: {alias: 0xAF, dir: H},
  410. 0x23B0:
  411. {
  412. dir: V,
  413. HW: [[909,SYMBOLS,null,0x23A7]],
  414. stretch: {top:[0x23A7,SYMBOLS], ext:[0x23AA,SYMBOLS], bot:[0x23AD,SYMBOLS]}
  415. },
  416. 0x23B1:
  417. {
  418. dir: V,
  419. HW: [[909,SYMBOLS,null,0x23AB]],
  420. stretch: {top:[0x23AB,SYMBOLS], ext:[0x23AA,SYMBOLS], bot:[0x23A9,SYMBOLS]}
  421. },
  422. 0x23D0:
  423. {
  424. dir: V,
  425. HW: [[905,MAIN,null,0x7C], [1150,MAIN,1.271,0x7C], [1556,MAIN,1.719,0x7C], [1961,MAIN,2.167,0x7C], [2367,MAIN,2.615,0x7C]],
  426. stretch: {ext:[0x7C,MAIN]}
  427. },
  428. 0x23DC: EXTRAH,
  429. 0x23DD: EXTRAH,
  430. 0x23DE:
  431. {
  432. dir: H,
  433. HW: [[908,MAIN], [1199,SIZE1], [1799,SIZE2], [2399,SIZE3], [2999,SIZE4]],
  434. stretch: {left:[0xE00F,SIZE5], rep:[0xE010,SIZE5], mid:[0xE011,SIZE5], right:[0xE012,SIZE5]}
  435. },
  436. 0x23DF:
  437. {
  438. dir: H,
  439. HW: [[908,MAIN], [1199,SIZE1], [1799,SIZE2], [2399,SIZE3], [2999,SIZE4]],
  440. stretch: {left:[0xE013,SIZE5], rep:[0xE014,SIZE5], mid:[0xE015,SIZE5], right:[0xE016,SIZE5]}
  441. },
  442. 0x2500: {alias: 0xAF, dir: H},
  443. 0x2758: {alias: 0x23D0, dir: V},
  444. 0x27E8:
  445. {
  446. dir: V,
  447. HW: [[974,MAIN], [974,SIZE1], [1176,SIZE2], [1770,SIZE3], [2366,SIZE4], [2958,SIZE5]]
  448. },
  449. 0x27E9:
  450. {
  451. dir: V,
  452. HW: [[974,MAIN], [974,SIZE1], [1176,SIZE2], [1770,SIZE3], [2366,SIZE4], [2958,SIZE5]]
  453. },
  454. 0x27EE: {alias: 0x28, dir: V},
  455. 0x27EF: {alias: 0x29, dir: V},
  456. 0x27F5: {alias: 0x20D6, dir: H},
  457. 0x27F6: {alias: 0x20D7, dir: H},
  458. 0x27F7: {alias: 0x20E1, dir: H},
  459. 0x27F8: {alias: 0x21D0, dir: H},
  460. 0x27F9: {alias: 0x21D2, dir: H},
  461. 0x27FA: {alias: 0x21D4, dir: H},
  462. 0x27FB: {alias: 0x20D6, dir: H},
  463. 0x27FC: {alias: 0x20D7, dir: H},
  464. 0x27FD: {alias: 0x21D0, dir: H},
  465. 0x27FE: {alias: 0x21D2, dir: H},
  466. 0x2A0C: EXTRAV,
  467. 0x3008: {alias: 0x27E8, dir: V},
  468. 0x3009: {alias: 0x27E9, dir: V},
  469. 0xFE37: {alias: 0x23DE, dir: H},
  470. 0xFE38: {alias: 0x23DF, dir: H}
  471. }
  472. }
  473. });
  474. MathJax.Hub.Register.LoadHook(SVG.fontDir+"/Main/Regular/Main.js",function () {
  475. SVG.FONTDATA.FONTS[MAIN][0x2212][0] = SVG.FONTDATA.FONTS[MAIN][0x002B][0]; // - needs height and depth of +
  476. SVG.FONTDATA.FONTS[MAIN][0x2212][1] = SVG.FONTDATA.FONTS[MAIN][0x002B][1]; // - needs height and depth of +
  477. });
  478. MathJax.Hub.Register.LoadHook(SVG.fontDir+"/Size5/Regular/Main.js",function () {
  479. var u;
  480. u = SVG.FONTDATA.DELIMITERS[0x23DE].stretch.rep[0];
  481. SVG.FONTDATA.FONTS[SIZE5][u][0] += 200; // adjust height for brace extender
  482. SVG.FONTDATA.FONTS[SIZE5][u][1] += 200; // adjust depth for brace extender
  483. u = SVG.FONTDATA.DELIMITERS[0x23DF].stretch.rep[0];
  484. SVG.FONTDATA.FONTS[SIZE5][u][0] += 200; // adjust height for brace extender
  485. SVG.FONTDATA.FONTS[SIZE5][u][1] += 200; // adjust depth for brace extender
  486. });
  487. AJAX.loadComplete(SVG.fontDir + "/fontdata.js");
  488. })(MathJax.OutputJax.SVG,MathJax.ElementJax.mml,MathJax.Ajax,MathJax.Hub);