fontdata-extra.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/fonts/Asana-Math/fontdata-extra.js
  4. *
  5. * Adds extra stretchy characters to the Asana-Math 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 (HTMLCSS) {
  21. var VERSION = "2.7.2";
  22. var DELIMITERS = HTMLCSS.FONTDATA.DELIMITERS;
  23. var H = "H", V = "V";
  24. var ALPHABETS = "AsanaMathJax_Alphabets",
  25. ARROWS = "AsanaMathJax_Arrows",
  26. DOUBLESTRUCK = "AsanaMathJax_DoubleStruck",
  27. FRAKTUR = "AsanaMathJax_Fraktur",
  28. LATIN = "AsanaMathJax_Latin",
  29. MAIN = "AsanaMathJax_Main",
  30. MARKS = "AsanaMathJax_Marks",
  31. MISC = "AsanaMathJax_Misc",
  32. MONOSPACE = "AsanaMathJax_Monospace",
  33. NONUNICODE = "AsanaMathJax_NonUnicode",
  34. NORMAL = "AsanaMathJax_Normal",
  35. OPERATORS = "AsanaMathJax_Operators",
  36. SANSSERIF = "AsanaMathJax_SansSerif",
  37. SCRIPT = "AsanaMathJax_Script",
  38. SHAPES = "AsanaMathJax_Shapes",
  39. SIZE1 = "AsanaMathJax_Size1",
  40. SIZE2 = "AsanaMathJax_Size2",
  41. SIZE3 = "AsanaMathJax_Size3",
  42. SIZE4 = "AsanaMathJax_Size4",
  43. SIZE5 = "AsanaMathJax_Size5",
  44. SIZE6 = "AsanaMathJax_Size6",
  45. SYMBOLS = "AsanaMathJax_Symbols",
  46. VARIANTS = "AsanaMathJax_Variants";
  47. var delim = {
  48. 0x306:
  49. {
  50. dir: H,
  51. HW: [[0.282,MAIN], [0.384,SIZE1], [0.542,SIZE2], [0.922,SIZE3], [1.762,SIZE4]]
  52. },
  53. 0x333:
  54. {
  55. dir: H,
  56. HW: [[0.433,MARKS], [0.511,SIZE1], [0.675,SIZE2], [1.127,SIZE3]],
  57. stretch: {rep:[0xE003,SIZE6], right:[0xE003,SIZE6]}
  58. },
  59. 0x33F:
  60. {
  61. dir: H,
  62. HW: [[0.433,MARKS], [0.511,SIZE1], [0.675,SIZE2], [1.127,SIZE3]],
  63. stretch: {rep:[0xE004,SIZE6], right:[0xE004,SIZE6]}
  64. },
  65. 0x2045:
  66. {
  67. dir: V,
  68. HW: [[0.910,MARKS], [1.344,SIZE1], [1.862,SIZE2], [2.328,SIZE3]],
  69. stretch: {bot:[0xE006,SIZE6], ext:[0xE007,SIZE6], mid:[0xE008,SIZE6], top:[0xE009,SIZE6]}
  70. },
  71. 0x2046:
  72. {
  73. dir: V,
  74. HW: [[0.910,MARKS], [1.344,SIZE1], [1.862,SIZE2], [2.328,SIZE3]],
  75. stretch: {bot:[0xE00A,SIZE6], ext:[0xE00B,SIZE6], mid:[0xE00C,SIZE6], top:[0xE00D,SIZE6]}
  76. },
  77. 0x20D0:
  78. {
  79. dir: H,
  80. HW: [[0.558,MARKS]],
  81. stretch: {left:[0x20D0,MARKS], rep:[0xE00E,SIZE6]}
  82. },
  83. 0x20D1:
  84. {
  85. dir: H,
  86. HW: [[0.558,MARKS]],
  87. stretch: {rep:[0xE00E,SIZE6], right:[0x20D1,MARKS]}
  88. },
  89. 0x20D6:
  90. {
  91. dir: H,
  92. HW: [[0.558,MARKS], [0.807,SIZE1], [1.127,SIZE2], [1.878,SIZE3], [3.579,SIZE4]],
  93. stretch: {left:[0x20D6,MARKS], rep:[0xE00E,SIZE6]}
  94. },
  95. 0x20D7:
  96. {
  97. dir: H,
  98. HW: [[0.558,MAIN], [0.807,SIZE1], [1.127,SIZE2], [1.878,SIZE3], [3.579,SIZE4]],
  99. stretch: {rep:[0xE00E,SIZE6], right:[0x20D7,MAIN]}
  100. },
  101. 0x20E1:
  102. {
  103. dir: H,
  104. HW: [[0.557,MARKS]],
  105. stretch: {left:[0x20D6,MARKS], rep:[0xE00E,SIZE6], right:[0x20D7,MAIN]}
  106. },
  107. 0x20E9:
  108. {
  109. dir: H,
  110. HW: [[0.630,MARKS]],
  111. stretch: {left:[0xE00F,SIZE6], rep:[0xE010,SIZE6], right:[0xE011,SIZE6]}
  112. },
  113. 0x20EE:
  114. {
  115. dir: H,
  116. HW: [[0.557,MARKS]],
  117. stretch: {left:[0x20EE,MARKS], rep:[0xE012,SIZE6]}
  118. },
  119. 0x20EF:
  120. {
  121. dir: H,
  122. HW: [[0.557,MARKS]],
  123. stretch: {rep:[0xE012,SIZE6], right:[0x20EF,MARKS]}
  124. },
  125. 0x21A9:
  126. {
  127. dir: H,
  128. HW: [[0.884,MAIN]],
  129. stretch: {left:[0xE013,SIZE6], rep:[0x23AF,SYMBOLS], right:[0xE01A,SIZE6]}
  130. },
  131. 0x21AA:
  132. {
  133. dir: H,
  134. HW: [[0.884,MAIN]],
  135. stretch: {left:[0xE01B,SIZE6], rep:[0x23AF,SYMBOLS], right:[0xE017,SIZE6]}
  136. },
  137. 0x2210:
  138. {
  139. dir: V,
  140. HW: [[0.937,OPERATORS], [1.349,SIZE1], [1.942,SIZE2], [2.797,SIZE3]]
  141. },
  142. 0x2211:
  143. {
  144. dir: V,
  145. HW: [[0.930,OPERATORS], [1.339,SIZE1], [1.928,SIZE2], [2.776,SIZE3]]
  146. },
  147. 0x2229:
  148. {
  149. dir: V,
  150. HW: [[0.603,MAIN], [1.559,SIZE1], [2.245,SIZE2], [2.588,SIZE3]]
  151. },
  152. 0x222B:
  153. {
  154. dir: V,
  155. HW: [[1.327,MAIN], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]],
  156. stretch: {bot:[0x2321,SYMBOLS], ext:[0x23AE,SYMBOLS], top:[0x2320,SYMBOLS]}
  157. },
  158. 0x222C:
  159. {
  160. dir: V,
  161. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  162. },
  163. 0x222D:
  164. {
  165. dir: V,
  166. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  167. },
  168. 0x222E:
  169. {
  170. dir: V,
  171. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  172. },
  173. 0x222F:
  174. {
  175. dir: V,
  176. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  177. },
  178. 0x2230:
  179. {
  180. dir: V,
  181. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  182. },
  183. 0x2231:
  184. {
  185. dir: V,
  186. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  187. },
  188. 0x2232:
  189. {
  190. dir: V,
  191. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  192. },
  193. 0x2233:
  194. {
  195. dir: V,
  196. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  197. },
  198. 0x22C0:
  199. {
  200. dir: V,
  201. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.588,SIZE2]]
  202. },
  203. 0x22C1:
  204. {
  205. dir: V,
  206. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.588,SIZE2]]
  207. },
  208. 0x22C2:
  209. {
  210. dir: V,
  211. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.588,SIZE2]]
  212. },
  213. 0x22C3:
  214. {
  215. dir: V,
  216. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.245,SIZE2], [2.588,SIZE3]]
  217. },
  218. 0x23B4:
  219. {
  220. dir: H,
  221. HW: [[0.602,MAIN], [0.978,SIZE1], [1.353,SIZE2], [1.690,SIZE3]],
  222. stretch: {left:[0xE00F,SIZE6], rep:[0xE010,SIZE6], right:[0xE011,SIZE6]}
  223. },
  224. 0x23B5:
  225. {
  226. dir: H,
  227. HW: [[0.602,MAIN], [0.978,SIZE1], [1.353,SIZE2], [1.690,SIZE3]],
  228. stretch: {left:[0xE023,SIZE6], rep:[0xE024,SIZE6], right:[0xE025,SIZE6]}
  229. },
  230. 0x23DC:
  231. {
  232. dir: H,
  233. HW: [[0.942,MAIN], [0.973,SIZE1], [1.349,SIZE2], [1.686,SIZE3]],
  234. stretch: {left:[0xE026,SIZE6], rep:[0xE027,SIZE6], right:[0xE028,SIZE6]}
  235. },
  236. 0x23DD:
  237. {
  238. dir: H,
  239. HW: [[0.942,MAIN], [0.973,SIZE1], [1.349,SIZE2], [1.686,SIZE3]],
  240. stretch: {left:[0xE029,SIZE6], rep:[0xE02A,SIZE6], right:[0xE02B,SIZE6]}
  241. },
  242. 0x23E0:
  243. {
  244. dir: H,
  245. HW: [[0.900,MAIN], [1.360,SIZE1], [2.056,SIZE2], [3.108,SIZE3]]
  246. },
  247. 0x23E1:
  248. {
  249. dir: H,
  250. HW: [[0.900,MAIN], [1.360,SIZE1], [2.056,SIZE2], [3.108,SIZE3]]
  251. },
  252. 0x27E6:
  253. {
  254. dir: V,
  255. HW: [[0.910,SYMBOLS], [1.025,SIZE1], [1.535,SIZE2], [2.045,SIZE3], [2.556,SIZE4]]
  256. },
  257. 0x27E7:
  258. {
  259. dir: V,
  260. HW: [[0.910,SYMBOLS], [1.025,SIZE1], [1.535,SIZE2], [2.045,SIZE3], [2.556,SIZE4]]
  261. },
  262. 0x27EA:
  263. {
  264. dir: V,
  265. HW: [[0.885,SYMBOLS], [1.021,SIZE1], [2.042,SIZE2], [2.552,SIZE3]]
  266. },
  267. 0x27EB:
  268. {
  269. dir: V,
  270. HW: [[0.885,SYMBOLS], [1.021,SIZE1], [2.042,SIZE2], [2.552,SIZE3]]
  271. },
  272. 0x29FC:
  273. {
  274. dir: V,
  275. HW: [[0.953,SYMBOLS], [1.372,SIZE1], [1.893,SIZE2], [2.366,SIZE3]]
  276. },
  277. 0x29FD:
  278. {
  279. dir: V,
  280. HW: [[0.953,SYMBOLS], [1.372,SIZE1], [1.893,SIZE2], [2.366,SIZE3]]
  281. },
  282. 0x2A00:
  283. {
  284. dir: V,
  285. HW: [[1.146,OPERATORS], [1.650,SIZE1], [2.376,SIZE2]]
  286. },
  287. 0x2A01:
  288. {
  289. dir: V,
  290. HW: [[1.149,OPERATORS], [1.650,SIZE1], [2.376,SIZE2]]
  291. },
  292. 0x2A02:
  293. {
  294. dir: V,
  295. HW: [[1.149,OPERATORS], [1.650,SIZE1], [2.376,SIZE2]]
  296. },
  297. 0x2A03:
  298. {
  299. dir: V,
  300. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.588,SIZE2]]
  301. },
  302. 0x2A04:
  303. {
  304. dir: V,
  305. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.588,SIZE2]]
  306. },
  307. 0x2A05:
  308. {
  309. dir: V,
  310. HW: [[0.926,OPERATORS], [1.537,SIZE1], [2.552,SIZE2]]
  311. },
  312. 0x2A06:
  313. {
  314. dir: V,
  315. HW: [[0.926,OPERATORS], [1.537,SIZE1], [2.552,SIZE2]]
  316. },
  317. 0x2A07:
  318. {
  319. dir: V,
  320. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.588,SIZE2]]
  321. },
  322. 0x2A08:
  323. {
  324. dir: V,
  325. HW: [[0.939,OPERATORS], [1.559,SIZE1], [2.588,SIZE2]]
  326. },
  327. 0x2A09:
  328. {
  329. dir: V,
  330. HW: [[0.926,OPERATORS], [1.333,SIZE1], [1.920,SIZE2]]
  331. },
  332. 0x2A0C:
  333. {
  334. dir: V,
  335. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  336. },
  337. 0x2A0D:
  338. {
  339. dir: V,
  340. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  341. },
  342. 0x2A0E:
  343. {
  344. dir: V,
  345. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  346. },
  347. 0x2A0F:
  348. {
  349. dir: V,
  350. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  351. },
  352. 0x2A10:
  353. {
  354. dir: V,
  355. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  356. },
  357. 0x2A11:
  358. {
  359. dir: V,
  360. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  361. },
  362. 0x2A12:
  363. {
  364. dir: V,
  365. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  366. },
  367. 0x2A13:
  368. {
  369. dir: V,
  370. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  371. },
  372. 0x2A14:
  373. {
  374. dir: V,
  375. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  376. },
  377. 0x2A15:
  378. {
  379. dir: V,
  380. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  381. },
  382. 0x2A16:
  383. {
  384. dir: V,
  385. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  386. },
  387. 0x2A17:
  388. {
  389. dir: V,
  390. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  391. },
  392. 0x2A18:
  393. {
  394. dir: V,
  395. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  396. },
  397. 0x2A19:
  398. {
  399. dir: V,
  400. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  401. },
  402. 0x2A1A:
  403. {
  404. dir: V,
  405. HW: [[1.327,OPERATORS], [1.964,SIZE1], [2.711,SIZE2], [3.470,SIZE3]]
  406. },
  407. 0x2A1B:
  408. {
  409. dir: V,
  410. HW: [[1.436,OPERATORS], [2.125,SIZE1], [2.933,SIZE2], [3.754,SIZE3]]
  411. },
  412. 0x2A1C:
  413. {
  414. dir: V,
  415. HW: [[1.436,OPERATORS], [2.125,SIZE1], [2.933,SIZE2], [3.754,SIZE3]]
  416. }
  417. };
  418. for (var id in delim) {if (delim.hasOwnProperty(id)) {DELIMITERS[id] = delim[id]}};
  419. MathJax.Ajax.loadComplete(HTMLCSS.fontDir + "/fontdata-extra.js");
  420. })(MathJax.OutputJax["HTML-CSS"]);