fontdata.js 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577
  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.js
  6. *
  7. * Initializes the HTML-CSS OutputJax to use the STIX fonts
  8. * for displaying mathematics.
  9. *
  10. * ---------------------------------------------------------------------
  11. *
  12. * Copyright (c) 2009-2013 The MathJax Consortium
  13. *
  14. * Licensed under the Apache License, Version 2.0 (the "License");
  15. * you may not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at
  17. *
  18. * http://www.apache.org/licenses/LICENSE-2.0
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an "AS IS" BASIS,
  22. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. */
  26. (function (HTMLCSS,MML,HTML) {
  27. var VERSION = "2.2";
  28. HTMLCSS.allowWebFonts = false;
  29. var GENERAL = "STIXGeneral",
  30. BOLD = "STIXGeneral-bold",
  31. ITALIC = "STIXGeneral-italic",
  32. BITALIC = "STIXGeneral-bold-italic",
  33. NONUNI = "STIXNonUnicode",
  34. NONUNII = "STIXNonUnicode-italic",
  35. SIZE1 = "STIXSizeOneSym",
  36. SIZE2 = "STIXSizeTwoSym",
  37. SIZE3 = "STIXSizeThreeSym",
  38. SIZE4 = "STIXSizeFourSym",
  39. SIZE5 = "STIXSizeFiveSym";
  40. var H = "H", V = "V", EXTRAH = {load:"extra", dir:H}, EXTRAV = {load:"extra", dir:V};
  41. HTMLCSS.Augment({
  42. FONTDATA: {
  43. version: VERSION,
  44. STIXversion: "1.1",
  45. TeX_factor: 1.125, // TeX em's to STIX em's seem to need this
  46. baselineskip: 1.2,
  47. lineH: .8, lineD: .2,
  48. FONTS: {
  49. "STIXGeneral": "General/Regular/Main.js",
  50. "STIXGeneral-italic": "General/Italic/Main.js",
  51. "STIXGeneral-bold": "General/Bold/Main.js",
  52. "STIXGeneral-bold-italic": "General/BoldItalic/Main.js",
  53. "STIXNonUnicode": "NonUnicode/Regular/Main.js",
  54. "STIXNonUnicode-italic": "NonUnicode/Italic/Main.js",
  55. "STIXNonUnicode-bold": "NonUnicode/Bold/Main.js",
  56. "STIXNonUnicode-bold-italic": "NonUnicode/BoldItalic/Main.js",
  57. "STIXVariants": "Variants/Regular/All.js",
  58. "STIXSizeOneSym": "SizeOneSym/Regular/All.js",
  59. "STIXSizeTwoSym": "SizeTwoSym/Regular/All.js",
  60. "STIXSizeThreeSym": "SizeThreeSym/Regular/All.js",
  61. "STIXSizeFourSym": "SizeFourSym/Regular/All.js",
  62. "STIXSizeFiveSym": "SizeFiveSym/Regular/All.js",
  63. "STIXIntegralsD": "IntegralsD/Regular/All.js"
  64. },
  65. VARIANT: {
  66. "normal": {fonts: [GENERAL,NONUNI,SIZE1],
  67. remap: {0x2205: [0x2205,"-STIX-variant"]}}, // \emptyset
  68. "bold": {fonts: [BOLD,"STIXNonUnicode-bold","STIXSizeOneSym-bold"], bold:true},
  69. "italic": {fonts: [ITALIC,NONUNII,GENERAL,NONUNI,SIZE1], italic:true},
  70. "bold-italic": {fonts: [BITALIC,"STIXNonUnicode-bold-italic"], bold:true, italic:true},
  71. "double-struck": {offsetA: 0x1D538, offsetN: 0x1D7D8,
  72. remap: {0x1D53A: 0x2102, 0x1D53F: 0x210D, 0x1D545: 0x2115, 0x1D547: 0x2119,
  73. 0x1D548: 0x211A, 0x1D549: 0x211D, 0x1D551: 0x2124}},
  74. "fraktur": {offsetA: 0x1D504,
  75. remap: {0x1D506: 0x212D, 0x1D50B: 0x210C, 0x1D50C: 0x2111, 0x1D515: 0x211C, 0x1D51D: 0x2128}},
  76. "bold-fraktur": {fonts: [BOLD], offsetA: 0x1D56C, bold:true},
  77. "script": {fonts: [ITALIC], offsetA: 0x1D49C, italic:true,
  78. remap: {0x1D49D: 0x212C, 0x1D4A0: 0x2130, 0x1D4A1: 0x2131, 0x1D4A3: 0x210B,
  79. 0x1D4A4: 0x2110, 0x1D4A7: 0x2112, 0x1D4A8: 0x2133, 0x1D4AD: 0x211B,
  80. 0x1D4BA: 0x212F, 0x1D4BC: 0x210A, 0x1D4C4: 0x2134}},
  81. "bold-script": {fonts: [BITALIC], offsetA: 0x1D4D0, bold:true, italic:true},
  82. "sans-serif": {offsetA: 0x1D5A0, offsetN: 0x1D7E2, offsetG: 0xE17D},
  83. "bold-sans-serif": {offsetA: 0x1D5D4, offsetG: 0x1D756, offsetN: 0x1D7EC, bold:true},
  84. "sans-serif-italic": {fonts: [ITALIC,NONUNII], offsetA: 0x1D608, offsetN: 0xE1B4, offsetG: 0xE1BF, italic:true},
  85. "sans-serif-bold-italic": {fonts: [BITALIC,"STIXNonUnicode-bold-italic"], offsetA: 0x1D63C, offsetN: 0xE1F6, offsetG: 0x1D790, bold:true, italic:true},
  86. "monospace": {offsetA: 0x1D670, offsetN: 0x1D7F6,
  87. remap: {0x20: [0x20,"-STIX-variant"]}}, // use a special space for monospace (see below)
  88. "-STIX-variant": {fonts:["STIXVariants",NONUNI,GENERAL],
  89. remap: {0x2A87: 0xE010, 0x2A88: 0xE00F, 0x2270: 0xE011, 0x2271: 0xE00E,
  90. 0x22E0: 0xE04B, 0x22E1: 0xE04F, 0x2288: 0xE016, 0x2289: 0xE018,
  91. 0x25B3: 0x25B5, 0x25BD: 0x25BF,
  92. 0x2205: [0x2205,MML.VARIANT.NORMAL]}}, // \varnothing
  93. "-tex-caligraphic": {fonts: [ITALIC,NONUNII,NONUNI,SIZE1], offsetA: 0xE22D, noLowerCase: 1},
  94. "-tex-oldstyle": {offsetN: 0xE261,
  95. remap: {0xE262: 0xE265, 0xE263: 0xE269, 0xE264: 0xE26D, 0xE265: 0xE271,
  96. 0xE266: 0xE275, 0xE267: 0xE279, 0xE268: 0xE27D, 0xE269: 0xE281,
  97. 0xE26A: 0xE285}},
  98. "-tex-mathit": {fonts: [ITALIC,NONUNII,GENERAL,NONUNI,SIZE1], italic:true, noIC:true},
  99. "-largeOp": {fonts:[SIZE1,"STIXIntegralsD",NONUNI,GENERAL]},
  100. "-smallOp": {}
  101. },
  102. RANGES: [
  103. {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 26},
  104. {name: "Alpha", low: 0x41, high: 0x5A, offset: "A"},
  105. {name: "number", low: 0x30, high: 0x39, offset: "N"},
  106. {name: "greek", low: 0x03B1, high: 0x03C9, offset: "G", add: 26},
  107. {name: "Greek", low: 0x0391, high: 0x03F6, offset: "G",
  108. remap: {0x03F5: 53, 0x03D1: 54, 0x03F0: 55, 0x03D5: 56, 0x03F1: 57, 0x03D6: 58, 0x03F4: 17}}
  109. ],
  110. RULECHAR: 0x203E,
  111. REMAP: {
  112. 0x2F3: 0x2DA, 0x2F4: 0x2CA, // ring below, middle grave
  113. 0xFE37: 0x23DE, 0xFE38: 0x23DF, // OverBrace, UnderBrace
  114. 0x3008: 0x27E8, 0x3009: 0x27E9, // langle, rangle
  115. 0x2758: 0x2223 // VerticalSeparator
  116. },
  117. REMAPACCENT: {
  118. "\u2192": "\u20D7"
  119. },
  120. REMAPACCENTUNDER: {
  121. },
  122. DELIMITERS: {
  123. 0x0028: // (
  124. {
  125. dir: V, HW: [[.844,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  126. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  127. stretch: {top:[0x239B,SIZE1], ext:[0x239C,SIZE1], bot:[0x239D,SIZE1]}
  128. },
  129. 0x0029: // )
  130. {
  131. dir: V, HW: [[.844,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  132. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  133. stretch: {top:[0x239E,SIZE1], ext:[0x239F,SIZE1], bot:[0x23A0,SIZE1]}
  134. },
  135. 0x002F: // /
  136. {
  137. dir: V, HW: [[.690,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  138. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]]
  139. },
  140. 0x005B: // [
  141. {
  142. dir: V, HW: [[.818,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  143. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  144. stretch: {top:[0x23A1,SIZE1], ext:[0x23A2,SIZE1], bot:[0x23A3,SIZE1]}
  145. },
  146. 0x005C: // \
  147. {
  148. dir: V, HW: [[.690,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  149. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]]
  150. },
  151. 0x005D: // ]
  152. {
  153. dir: V, HW: [[.818,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  154. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  155. stretch: {top:[0x23A4,SIZE1], ext:[0x23A5,SIZE1], bot:[0x23A6,SIZE1]}
  156. },
  157. 0x007B: // {
  158. {
  159. dir: V, HW: [[.861,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  160. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  161. stretch: {top:[0x23A7,SIZE1], mid:[0x23A8,SIZE1], bot:[0x23A9,SIZE1], ext:[0x23AA,SIZE1]}
  162. },
  163. 0x007C: // |
  164. {
  165. dir: V, HW: [[.69,GENERAL]], stretch: {ext:[0x2223,GENERAL]}
  166. },
  167. 0x007D: // }
  168. {
  169. dir: V, HW: [[.861,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  170. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  171. stretch: {top:[0x23AB,SIZE1], mid:[0x23AC,SIZE1], bot:[0x23AD,SIZE1], ext:[0x23AA,SIZE1]}
  172. },
  173. 0x02C6: // wide hat
  174. {
  175. dir: H, HW: [[.333,GENERAL],[.560,SIZE1],[.979,SIZE2],[1.46,SIZE3],[1.886,SIZE4],[2.328,SIZE5]]
  176. },
  177. 0x02C7: // wide caron
  178. {
  179. dir: H, HW: [[.333,GENERAL],[.560,SIZE1],[.979,SIZE2],[1.46,SIZE3],[1.886,SIZE4],[2.328,SIZE5]]
  180. },
  181. 0x02DC: // wide tilde
  182. {
  183. dir: H, HW: [[.333,GENERAL],[.558,SIZE1],[.978,SIZE2],[1.458,SIZE3],[1.886,SIZE4],[2.328,SIZE5]]
  184. },
  185. 0x2016: // double vertical line
  186. {
  187. dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2016,GENERAL]}
  188. },
  189. 0x203E: // horizontal line
  190. {
  191. dir: H, HW: [[.5,GENERAL]], stretch: {rep:[0x203E,GENERAL]}
  192. },
  193. 0x2190: // left arrow
  194. {
  195. dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x2190,GENERAL], rep:[0x2212,GENERAL]}
  196. },
  197. 0x2191: // \uparrow
  198. {
  199. dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x2191,GENERAL], ext:[0x23D0,GENERAL]}
  200. },
  201. 0x2192: // right arrow
  202. {
  203. dir: H, HW: [[.926,GENERAL]], stretch: {rep:[0x2212,GENERAL], right:[0x2192,GENERAL]}
  204. },
  205. 0x2193: // \downarrow
  206. {
  207. dir: V, HW: [[.818,GENERAL]], stretch: {ext:[0x23D0,GENERAL], bot:[0x2193,GENERAL]}
  208. },
  209. 0x2194: // left-right arrow
  210. {
  211. dir: H, HW: [[.926,GENERAL]],
  212. stretch: {left:[0x2190,GENERAL], rep:[0x2212,GENERAL], right:[0x2192,GENERAL]}
  213. },
  214. 0x2195: // \updownarrow
  215. {
  216. dir: V, HW: [[.818,GENERAL]],
  217. stretch: {top:[0x2191,GENERAL], ext:[0x23D0,GENERAL], bot:[0x2193,GENERAL]}
  218. },
  219. 0x21D0: // left double arrow
  220. {
  221. dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x21D0,GENERAL], rep:[0x3D,GENERAL]}
  222. },
  223. 0x21D1: // \Uparrow
  224. {
  225. dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x21D1,GENERAL], ext:[0x2225,GENERAL,.1]}
  226. },
  227. 0x21D2: // right double arrow
  228. {
  229. dir: H, HW: [[.926,GENERAL]], stretch: {rep:[0x3D,GENERAL], right:[0x21D2,GENERAL]}
  230. },
  231. 0x21D3: // \Downarrow
  232. {
  233. dir: V, HW: [[.818,GENERAL]], stretch: {ext:[0x2225,GENERAL,.1], bot:[0x21D3,GENERAL]}
  234. },
  235. 0x21D4: // left-right double arrow
  236. {
  237. dir: H, HW: [[.926,GENERAL]],
  238. stretch: {left:[0x21D0,GENERAL], rep:[0x3D,GENERAL], right:[0x21D2,GENERAL]}
  239. },
  240. 0x21D5: // \Updownarrow
  241. {
  242. dir: V, HW: [[.818,GENERAL]],
  243. stretch: {top:[0x21D1,GENERAL], ext:[0x2225,GENERAL,.1], bot:[0x21D3,GENERAL]}
  244. },
  245. 0x221A: // \surd
  246. {
  247. dir: V, HW: [[.954,"STIXVariants"],[1.232,GENERAL],[1.847,SIZE1],[2.460,SIZE2],[3.075,SIZE3]],
  248. stretch: {top: [0xE001,NONUNI], ext: [0xE000,NONUNI], bot: [0x23B7,SIZE1], fullExtenders:true}
  249. },
  250. 0x2223: // \vert
  251. {
  252. dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2223,GENERAL]}
  253. },
  254. 0x2225: // \Vert
  255. {
  256. dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2225,GENERAL]}
  257. },
  258. 0x2308: // \lceil
  259. {
  260. dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  261. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  262. stretch: {top:[0x23A1,SIZE1], ext:[0x23A2,SIZE1]}
  263. },
  264. 0x2309: // \rceil
  265. {
  266. dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  267. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  268. streth: {top:[0x23A4,SIZE1], ext:[0x23A5,SIZE1]}
  269. },
  270. 0x230A: // \lfloor
  271. {
  272. dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  273. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  274. stretch: {ext:[0x23A2,SIZE1], bot:[0x23A3,SIZE1]}
  275. },
  276. 0x230B: // \rfloor
  277. {
  278. dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  279. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]],
  280. stretch: {ext:[0x23A5,SIZE1], bot:[0x23A6,SIZE1]}
  281. },
  282. 0x23AA: // \bracevert
  283. {
  284. dir: V, HW: [[1.01,SIZE1]],
  285. stretch: {top:[0x23AA,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AA,SIZE1]}
  286. },
  287. 0x23AF: // horizontal line
  288. {
  289. dir: H, HW: [[.315,GENERAL]], stretch: {rep:[0x23AF,GENERAL]}
  290. },
  291. 0x23B0: // \lmoustache
  292. {
  293. dir: V, HW: [[1.0,SIZE1]],
  294. stretch: {top:[0x23A7,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AD,SIZE1]}
  295. },
  296. 0x23B1: // \rmoustache
  297. {
  298. dir: V, HW: [[1.0,SIZE1]],
  299. stretch: {top:[0x23AB,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23A9,SIZE1]}
  300. },
  301. 0x23D0: // vertical line extension
  302. {
  303. dir: V, HW: [[.304,GENERAL],[.690,GENERAL,null,0x7C],[.879,GENERAL,null,0x2223]],
  304. stretch: {ext:[0x2223,GENERAL]}
  305. },
  306. 0x23DE: // horizontal brace down
  307. {
  308. dir: H, HW: [[.926,SIZE1],[1,GENERAL],[1.46,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.238,SIZE5]],
  309. stretch: {left:[0xE13B,NONUNI], mid:[0xE140,NONUNI], right:[0xE13C,NONUNI], rep:[0xE14A,NONUNI]}
  310. },
  311. 0x23DF: // horizontal brace up
  312. {
  313. dir: H, HW: [[.926,SIZE1],[1,GENERAL],[1.46,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.238,SIZE5]],
  314. stretch: {left:[0xE13D,NONUNI], mid:[0xE141,NONUNI], right:[0xE13E,NONUNI], rep:[0xE14B,NONUNI]}
  315. },
  316. 0x27E8: // \langle
  317. {
  318. dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  319. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]]
  320. },
  321. 0x27E9: // \rangle
  322. {
  323. dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2],
  324. [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]]
  325. },
  326. 0x27EE: // \lgroup
  327. {
  328. dir: V, HW: [[.853,GENERAL]],
  329. stretch: {top:[0x23A7,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23A9,SIZE1]}
  330. },
  331. 0x27EF: // \rgroup
  332. {
  333. dir: V, HW: [[.853,GENERAL]],
  334. stretch: {top:[0x23AB,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AD,SIZE1]}
  335. },
  336. 0x002D: {alias: 0x23AF, dir:H}, // minus
  337. 0x005E: {alias: 0x02C6, dir:H}, // wide hat
  338. 0x005F: {alias: 0x23AF, dir:H}, // low line
  339. 0x007E: {alias: 0x02DC, dir:H}, // wide tilde
  340. 0x00AF: {alias: 0x23AF, dir:H}, // macron
  341. 0x02C9: {alias: 0x23AF, dir:H}, // macron
  342. 0x0302: {alias: 0x02C6, dir:H}, // wide hat
  343. 0x0303: {alias: 0x02DC, dir:H}, // wide tilde
  344. 0x030C: {alias: 0x02C7, dir:H}, // wide caron
  345. 0x0332: {alias: 0x23AF, dir:H}, // combining low line
  346. 0x2015: {alias: 0x23AF, dir:H}, // horizontal line
  347. 0x2017: {alias: 0x23AF, dir:H}, // horizontal line
  348. 0x2212: {alias: 0x23AF, dir:H}, // minus
  349. 0x2215: {alias: 0x002F, dir:V}, // division slash
  350. 0x2329: {alias: 0x27E8, dir:V}, // langle
  351. 0x232A: {alias: 0x27E9, dir:V}, // rangle
  352. 0x2500: {alias: 0x2212, dir:H}, // horizontal line
  353. 0x2758: {alias: 0x2223, dir:V}, // vertical separator
  354. 0x3008: {alias: 0x27E8, dir:V}, // langle
  355. 0x3009: {alias: 0x27E9, dir:V}, // rangle
  356. 0xFE37: {alias: 0x23DE, dir:H}, // horizontal brace down
  357. 0xFE38: {alias: 0x23DF, dir:H}, // horizontal brace up
  358. 0x003D: EXTRAH, // equal sign
  359. 0x219E: EXTRAH, // left two-headed arrow
  360. 0x21A0: EXTRAH, // right two-headed arrow
  361. 0x21A4: EXTRAH, // left arrow from bar
  362. 0x21A5: EXTRAV, // up arrow from bar
  363. 0x21A6: EXTRAH, // right arrow from bar
  364. 0x21A7: EXTRAV, // down arrow from bar
  365. 0x21B0: EXTRAV, // up arrow with top leftwards
  366. 0x21B1: EXTRAV, // up arrow with top right
  367. 0x21BC: EXTRAH, // left harpoon with barb up
  368. 0x21BD: EXTRAH, // left harpoon with barb down
  369. 0x21BE: EXTRAV, // up harpoon with barb right
  370. 0x21BF: EXTRAV, // up harpoon with barb left
  371. 0x21C0: EXTRAH, // right harpoon with barb up
  372. 0x21C1: EXTRAH, // right harpoon with barb down
  373. 0x21C2: EXTRAV, // down harpoon with barb right
  374. 0x21C3: EXTRAV, // down harpoon with barb left
  375. 0x21DA: EXTRAH, // left triple arrow
  376. 0x21DB: EXTRAH, // right triple arrow
  377. 0x23B4: EXTRAH, // top square bracket
  378. 0x23B5: EXTRAH, // bottom square bracket
  379. 0x23DC: EXTRAH, // top paren
  380. 0x23DD: EXTRAH, // bottom paren
  381. 0x23E0: EXTRAH, // top tortoise shell
  382. 0x23E1: EXTRAH, // bottom tortoise shell
  383. 0x2906: EXTRAH, // leftwards double arrow from bar
  384. 0x2907: EXTRAH, // rightwards double arrow from bar
  385. 0x294E: EXTRAH, // left barb up right barb up harpoon
  386. 0x294F: EXTRAV, // up barb right down barb right harpoon
  387. 0x2950: EXTRAH, // left barb dow right barb down harpoon
  388. 0x2951: EXTRAV, // up barb left down barb left harpoon
  389. 0x295A: EXTRAH, // leftwards harpoon with barb up from bar
  390. 0x295B: EXTRAH, // rightwards harpoon with barb up from bar
  391. 0x295C: EXTRAV, // up harpoon with barb right from bar
  392. 0x295D: EXTRAV, // down harpoon with barb right from bar
  393. 0x295E: EXTRAH, // leftwards harpoon with barb down from bar
  394. 0x295F: EXTRAH, // rightwards harpoon with barb down from bar
  395. 0x2960: EXTRAV, // up harpoon with barb left from bar
  396. 0x2961: EXTRAV, // down harpoon with barb left from bar
  397. 0x27F5: {alias: 0x2190, dir:H}, // long left arrow
  398. 0x27F6: {alias: 0x2192, dir:H}, // long right arrow
  399. 0x27F7: {alias: 0x2194, dir:H}, // long left-right arrow
  400. 0x27F8: {alias: 0x21D0, dir:H}, // long left double arrow
  401. 0x27F9: {alias: 0x21D2, dir:H}, // long right double arrow
  402. 0x27FA: {alias: 0x21D4, dir:H}, // long left-right double arrow
  403. 0x27FB: {alias: 0x21A4, dir:H}, // long left arrow from bar
  404. 0x27FC: {alias: 0x21A6, dir:H}, // long right arrow from bar
  405. 0x27FD: {alias: 0x2906, dir:H}, // long left double arrow from bar
  406. 0x27FE: {alias: 0x2907, dir:H}, // long right double arrow from bar
  407. 0x02C7: EXTRAH, // caron
  408. 0x02CD: EXTRAH, // low macron
  409. 0x02F7: EXTRAH, // low tilde
  410. 0x219F: EXTRAV, // upwards two headed arrow
  411. 0x21A1: EXTRAV, // downwards two headed arrow
  412. 0x21A8: EXTRAV, // up down arrow with base
  413. 0x21A9: EXTRAH, // left hook arrow
  414. 0x21AA: EXTRAH, // right hook arrow
  415. 0x21B2: EXTRAV, // down arrow with tip left
  416. 0x21B3: EXTRAV, // down arrow with tip right
  417. 0x21B4: EXTRAH, // right arrow with corner down
  418. 0x21B5: EXTRAV, // down arrow with corner left
  419. 0x21CB: EXTRAH, // left harpoon over right harpoon
  420. 0x21CC: EXTRAH, // right harpoon over left harpoon
  421. 0x21E0: EXTRAH, // left dashed arrow
  422. 0x21E1: EXTRAV, // up dashed arrow
  423. 0x21E2: EXTRAH, // right dashed arrow
  424. 0x21E3: EXTRAV, // down dahsed arrow
  425. 0x21E4: EXTRAH, // left arrow to bar
  426. 0x21E5: EXTRAH, // right arrow to bar
  427. 0x21FD: EXTRAH, // left open-headed arrow
  428. 0x21FE: EXTRAH, // right open-headed arrow
  429. 0x21FF: EXTRAH, // left right open-headed arrow
  430. 0x27E6: EXTRAV, // left white square bracket
  431. 0x27E7: EXTRAV, // right white square bracket
  432. 0x27EA: EXTRAV, // left double angle bracket
  433. 0x27EB: EXTRAV, // right double angle bracket
  434. 0x290A: EXTRAV, // up triple arrow
  435. 0x290B: EXTRAV, // down triple arrow
  436. 0x2912: EXTRAV, // up arrow to bar
  437. 0x2913: EXTRAV, // down arrow to bar
  438. 0x2952: EXTRAH, // left harpoon with barb up to bar
  439. 0x2953: EXTRAH, // right harpoon with barb up to bar
  440. 0x2954: EXTRAV, // up harpoon with barb right to bar
  441. 0x2955: EXTRAV, // down harpoon with barb right to bar
  442. 0x2956: EXTRAH, // left harpoon with barb down to bar
  443. 0x2957: EXTRAH, // right harpoon with barb down to bar
  444. 0x2958: EXTRAV, // up harpoon with barb left to bar
  445. 0x2959: EXTRAV, // down harpoon with barb left to bar
  446. 0x2980: EXTRAV, // triple vertical bar
  447. 0x2997: EXTRAV, // left balck tortoise shell
  448. 0x2998: EXTRAV // right balck tortoise shell
  449. }
  450. }
  451. });
  452. HTMLCSS.FONTDATA.FONTS['STIXGeneral'] = {
  453. directory: 'General/Regular',
  454. family: 'STIXGeneral',
  455. Ranges: [
  456. [0xA0,0xFF,"Latin1Supplement"],
  457. [0x100,0x17F,"LatinExtendedA"],
  458. [0x180,0x24F,"LatinExtendedB"],
  459. [0x250,0x2AF,"IPAExtensions"],
  460. [0x2B0,0x2FF,"SpacingModLetters"],
  461. [0x300,0x36F,"CombDiacritMarks"],
  462. [0x370,0x3FF,"GreekAndCoptic"],
  463. [0x400,0x4FF,"Cyrillic"],
  464. [0x1D00,0x1DBF,"PhoneticExtensions"],
  465. [0x1E00,0x1EFF,"LatinExtendedAdditional"],
  466. [0x2000,0x206F,"GeneralPunctuation"],
  467. [0x2070,0x209F,"SuperAndSubscripts"],
  468. [0x20A0,0x20CF,"CurrencySymbols"],
  469. [0x20D0,0x20FF,"CombDiactForSymbols"],
  470. [0x2100,0x214F,"LetterlikeSymbols"],
  471. [0x2150,0x218F,"NumberForms"],
  472. [0x2190,0x21FF,"Arrows"],
  473. [0x2200,0x22FF,"MathOperators"],
  474. [0x2300,0x23FF,"MiscTechnical"],
  475. [0x2400,0x243F,"ControlPictures"],
  476. [0x2460,0x24FF,"EnclosedAlphanum"],
  477. [0x2500,0x257F,"BoxDrawing"],
  478. [0x2580,0x259F,"BlockElements"],
  479. [0x25A0,0x25FF,"GeometricShapes"],
  480. [0x2600,0x26FF,"MiscSymbols"],
  481. [0x2700,0x27BF,"Dingbats"],
  482. [0x27C0,0x27EF,"MiscMathSymbolsA"],
  483. [0x27F0,0x27FF,"SupplementalArrowsA"],
  484. [0x2900,0x297F,"SupplementalArrowsB"],
  485. [0x2980,0x29FF,"MiscMathSymbolsB"],
  486. [0x2A00,0x2AFF,"SuppMathOperators"],
  487. [0x2B00,0x2BFF,"MiscSymbolsAndArrows"],
  488. [0x3000,0x303F,"CJK"],
  489. [0x3040,0x309F,"Hiragana"],
  490. [0xA720,0xA7FF,"LatinExtendedD"],
  491. [0xFB00,0xFB4F,"AlphaPresentForms"],
  492. [0xFFF0,0xFFFF,"Specials"],
  493. [0x1D400,0x1D433,"MathBold"],
  494. [0x1D434,0x1D467,"MathItalic"],
  495. [0x1D468,0x1D49B,"MathBoldItalic"],
  496. [0x1D49C,0x1D4CF,"MathScript"],
  497. [0x1D4D0,0x1D503,"MathBoldScript"],
  498. [0x1D504,0x1D537,"Fraktur"],
  499. [0x1D538,0x1D56B,"BBBold"],
  500. [0x1D56C,0x1D59F,"BoldFraktur"],
  501. [0x1D5A0,0x1D5D3,"MathSS"],
  502. [0x1D5D4,0x1D607,"MathSSBold"],
  503. [0x1D608,0x1D63B,"MathSSItalic"],
  504. [0x1D63C,0x1D66F,"MathSSItalicBold"],
  505. [0x1D670,0x1D6A3,"MathTT"],
  506. [0x1D6A4,0x1D6A5,"ij"],
  507. [0x1D6A8,0x1D6E1,"GreekBold"],
  508. [0x1D6E2,0x1D71B,"GreekItalic"],
  509. [0x1D71C,0x1D755,"GreekBoldItalic"],
  510. [0x1D756,0x1D78F,"GreekSSBold"],
  511. [0x1D790,0x1D7C9,"GreekSSBoldItalic"],
  512. [0x1D7CE,0x1D7D7,"MathBold"],
  513. [0x1D7D8,0x1D7E1,"BBBold"],
  514. [0x1D7E2,0x1D7EB,"MathSS"],
  515. [0x1D7EC,0x1D7F6,"MathSSBold"],
  516. [0x1D7F6,0x1D7FF,"MathTT"]
  517. ],
  518. 0x20: [0,0,250,0,0], // SPACE
  519. 0x21: [676,9,333,130,236], // EXCLAMATION MARK
  520. 0x22: [676,-431,408,77,331], // QUOTATION MARK
  521. 0x23: [662,0,500,6,495], // NUMBER SIGN
  522. 0x24: [727,87,500,44,458], // DOLLAR SIGN
  523. 0x25: [706,19,747,61,686], // PERCENT SIGN
  524. 0x26: [676,13,778,42,750], // AMPERSAND
  525. 0x27: [676,-431,180,48,133], // APOSTROPHE
  526. 0x28: [676,177,333,48,304], // LEFT PARENTHESIS
  527. 0x29: [676,177,333,29,285], // RIGHT PARENTHESIS
  528. 0x2A: [676,-265,500,68,433], // ASTERISK
  529. 0x2B: [547,41,685,48,636], // PLUS SIGN
  530. 0x2C: [102,141,250,55,195], // COMMA
  531. 0x2D: [257,-194,333,39,285], // HYPHEN-MINUS
  532. 0x2E: [100,11,250,70,181], // FULL STOP
  533. 0x2F: [676,14,278,-9,287], // SOLIDUS
  534. 0x30: [676,14,500,24,476], // DIGIT ZERO
  535. 0x31: [676,0,500,111,394], // DIGIT ONE
  536. 0x32: [676,0,500,29,474], // DIGIT TWO
  537. 0x33: [676,14,500,41,431], // DIGIT THREE
  538. 0x34: [676,0,500,12,473], // DIGIT FOUR
  539. 0x35: [688,14,500,31,438], // DIGIT FIVE
  540. 0x36: [684,14,500,34,468], // DIGIT SIX
  541. 0x37: [662,8,500,20,449], // DIGIT SEVEN
  542. 0x38: [676,14,500,56,445], // DIGIT EIGHT
  543. 0x39: [676,22,500,30,459], // DIGIT NINE
  544. 0x3A: [459,11,278,81,192], // COLON
  545. 0x3B: [459,141,278,80,219], // SEMICOLON
  546. 0x3C: [534,24,685,56,621], // LESS-THAN SIGN
  547. 0x3D: [386,-120,685,48,637], // EQUALS SIGN
  548. 0x3E: [534,24,685,56,621], // GREATER-THAN SIGN
  549. 0x3F: [676,8,444,68,414], // QUESTION MARK
  550. 0x40: [676,14,921,116,809], // COMMERCIAL AT
  551. 0x41: [674,0,722,15,707], // LATIN CAPITAL LETTER A
  552. 0x42: [662,0,667,17,593], // LATIN CAPITAL LETTER B
  553. 0x43: [676,14,667,28,633], // LATIN CAPITAL LETTER C
  554. 0x44: [662,0,722,16,685], // LATIN CAPITAL LETTER D
  555. 0x45: [662,0,611,12,597], // LATIN CAPITAL LETTER E
  556. 0x46: [662,0,556,11,546], // LATIN CAPITAL LETTER F
  557. 0x47: [676,14,722,32,709], // LATIN CAPITAL LETTER G
  558. 0x48: [662,0,722,18,703], // LATIN CAPITAL LETTER H
  559. 0x49: [662,0,333,18,315], // LATIN CAPITAL LETTER I
  560. 0x4A: [662,14,373,-6,354], // LATIN CAPITAL LETTER J
  561. 0x4B: [662,0,722,33,723], // LATIN CAPITAL LETTER K
  562. 0x4C: [662,0,611,12,598], // LATIN CAPITAL LETTER L
  563. 0x4D: [662,0,889,12,864], // LATIN CAPITAL LETTER M
  564. 0x4E: [662,11,722,12,707], // LATIN CAPITAL LETTER N
  565. 0x4F: [676,14,722,34,688], // LATIN CAPITAL LETTER O
  566. 0x50: [662,0,557,16,542], // LATIN CAPITAL LETTER P
  567. 0x51: [676,177,722,34,701], // LATIN CAPITAL LETTER Q
  568. 0x52: [662,0,667,17,660], // LATIN CAPITAL LETTER R
  569. 0x53: [676,14,556,43,491], // LATIN CAPITAL LETTER S
  570. 0x54: [662,0,611,17,593], // LATIN CAPITAL LETTER T
  571. 0x55: [662,14,722,14,705], // LATIN CAPITAL LETTER U
  572. 0x56: [662,11,722,16,697], // LATIN CAPITAL LETTER V
  573. 0x57: [662,11,944,5,932], // LATIN CAPITAL LETTER W
  574. 0x58: [662,0,722,10,704], // LATIN CAPITAL LETTER X
  575. 0x59: [662,0,722,22,703], // LATIN CAPITAL LETTER Y
  576. 0x5A: [662,0,612,10,598], // LATIN CAPITAL LETTER Z
  577. 0x5B: [662,156,333,88,299], // LEFT SQUARE BRACKET
  578. 0x5C: [676,14,278,-9,287], // REVERSE SOLIDUS
  579. 0x5D: [662,156,333,34,245], // RIGHT SQUARE BRACKET
  580. 0x5E: [662,-297,469,24,446], // CIRCUMFLEX ACCENT
  581. 0x5F: [-75,125,500,0,500], // LOW LINE
  582. 0x60: [678,-507,333,18,242], // GRAVE ACCENT
  583. 0x61: [460,10,444,37,442], // LATIN SMALL LETTER A
  584. 0x62: [683,10,500,3,468], // LATIN SMALL LETTER B
  585. 0x63: [460,10,444,25,412], // LATIN SMALL LETTER C
  586. 0x64: [683,10,500,27,491], // LATIN SMALL LETTER D
  587. 0x65: [460,10,444,25,424], // LATIN SMALL LETTER E
  588. 0x66: [683,0,333,20,383], // LATIN SMALL LETTER F
  589. 0x67: [460,218,500,28,470], // LATIN SMALL LETTER G
  590. 0x68: [683,0,500,9,487], // LATIN SMALL LETTER H
  591. 0x69: [683,0,278,16,253], // LATIN SMALL LETTER I
  592. 0x6A: [683,218,278,-70,194], // LATIN SMALL LETTER J
  593. 0x6B: [683,0,500,7,505], // LATIN SMALL LETTER K
  594. 0x6C: [683,0,278,19,257], // LATIN SMALL LETTER L
  595. 0x6D: [460,0,778,16,775], // LATIN SMALL LETTER M
  596. 0x6E: [460,0,500,16,485], // LATIN SMALL LETTER N
  597. 0x6F: [460,10,500,29,470], // LATIN SMALL LETTER O
  598. 0x70: [460,217,500,5,470], // LATIN SMALL LETTER P
  599. 0x71: [460,217,500,24,488], // LATIN SMALL LETTER Q
  600. 0x72: [460,0,333,5,335], // LATIN SMALL LETTER R
  601. 0x73: [459,10,389,51,348], // LATIN SMALL LETTER S
  602. 0x74: [579,10,278,13,279], // LATIN SMALL LETTER T
  603. 0x75: [450,10,500,9,480], // LATIN SMALL LETTER U
  604. 0x76: [450,14,500,19,477], // LATIN SMALL LETTER V
  605. 0x77: [450,14,722,21,694], // LATIN SMALL LETTER W
  606. 0x78: [450,0,500,17,479], // LATIN SMALL LETTER X
  607. 0x79: [450,218,500,14,475], // LATIN SMALL LETTER Y
  608. 0x7A: [450,0,444,27,418], // LATIN SMALL LETTER Z
  609. 0x7B: [680,181,480,100,350], // LEFT CURLY BRACKET
  610. 0x7C: [676,14,200,67,133], // VERTICAL LINE
  611. 0x7D: [680,181,480,130,380], // RIGHT CURLY BRACKET
  612. 0x7E: [325,-183,541,40,502], // TILDE
  613. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  614. 0xA8: [622,-523,333,18,316], // DIAERESIS
  615. 0xAC: [393,-115,600,48,552], // NOT SIGN
  616. 0xAF: [601,-547,333,11,322], // MACRON
  617. 0xB1: [502,87,685,48,637], // PLUS-MINUS SIGN
  618. 0xB7: [310,-199,250,70,181], // MIDDLE DOT
  619. 0xD7: [529,25,640,43,597], // MULTIPLICATION SIGN
  620. 0xF7: [516,10,564,30,534], // DIVISION SIGN
  621. 0x131: [460,0,278,16,253], // LATIN SMALL LETTER DOTLESS I
  622. 0x237: [460,218,278,-70,193], // LATIN SMALL LETTER DOTLESS J
  623. 0x2C6: [674,-507,333,11,322], // MODIFIER LETTER CIRCUMFLEX ACCENT
  624. 0x2C7: [674,-507,333,11,322], // CARON
  625. 0x2C9: [601,-547,334,11,322], // MODIFIER LETTER MACRON
  626. 0x2CA: [679,-509,333,93,320], // MODIFIER LETTER ACUTE ACCENT
  627. 0x2CB: [679,-509,333,22,249], // MODIFIER LETTER GRAVE ACCENT
  628. 0x2D8: [664,-507,335,27,308], // BREVE
  629. 0x2D9: [622,-523,333,118,217], // DOT ABOVE
  630. 0x2DC: [638,-532,333,1,331], // SMALL TILDE
  631. 0x300: [678,-507,0,-371,-147], // COMBINING GRAVE ACCENT
  632. 0x301: [678,-507,0,-371,-147], // COMBINING ACUTE ACCENT
  633. 0x302: [674,-507,0,-386,-75], // COMBINING CIRCUMFLEX ACCENT
  634. 0x303: [638,-532,0,-395,-65], // COMBINING TILDE
  635. 0x304: [601,-547,0,-385,-74], // COMBINING MACRON
  636. 0x306: [664,-507,0,-373,-92], // COMBINING BREVE
  637. 0x307: [622,-523,0,-280,-181], // COMBINING DOT ABOVE
  638. 0x308: [622,-523,0,-379,-81], // COMBINING DIAERESIS
  639. 0x30A: [711,-512,0,-329,-130], // COMBINING RING ABOVE
  640. 0x30B: [678,-507,0,-401,-22], // COMBINING DOUBLE ACUTE ACCENT
  641. 0x30C: [674,-507,0,-385,-74], // COMBINING CARON
  642. 0x338: [662,156,0,-380,31], // COMBINING LONG SOLIDUS OVERLAY
  643. 0x393: [662,0,587,11,577], // GREEK CAPITAL LETTER GAMMA
  644. 0x394: [674,0,722,48,675], // GREEK CAPITAL LETTER DELTA
  645. 0x398: [676,14,722,34,688], // GREEK CAPITAL LETTER THETA
  646. 0x39B: [674,0,702,15,687], // GREEK CAPITAL LETTER LAMDA
  647. 0x39E: [662,0,643,29,614], // GREEK CAPITAL LETTER XI
  648. 0x3A0: [662,0,722,18,703], // GREEK CAPITAL LETTER PI
  649. 0x3A3: [662,0,624,30,600], // GREEK CAPITAL LETTER SIGMA
  650. 0x3A5: [674,0,722,29,703], // GREEK CAPITAL LETTER UPSILON
  651. 0x3A6: [662,0,763,35,728], // GREEK CAPITAL LETTER PHI
  652. 0x3A8: [690,0,746,22,724], // GREEK CAPITAL LETTER PSI
  653. 0x3A9: [676,0,744,29,715], // GREEK CAPITAL LETTER OMEGA
  654. 0x2020: [676,149,500,59,442], // DAGGER
  655. 0x2021: [676,153,500,58,442], // DOUBLE DAGGER
  656. 0x2026: [100,11,1000,111,888], // HORIZONTAL ELLIPSIS
  657. 0x2032: [678,-402,289,75,214], // PRIME
  658. 0x203E: [820,-770,500,0,500], // OVERLINE
  659. 0x20D7: [760,-548,0,-453,-17], // COMBINING RIGHT ARROW ABOVE
  660. 0x2111: [695,34,762,45,711], // BLACK-LETTER CAPITAL I
  661. 0x2118: [547,217,826,52,799], // SCRIPT CAPITAL P
  662. 0x211C: [704,22,874,50,829], // BLACK-LETTER CAPITAL R
  663. 0x2135: [677,13,682,43,634], // ALEF SYMBOL
  664. 0x2190: [449,-58,926,71,857], // LEFTWARDS ARROW
  665. 0x2191: [662,156,511,60,451], // UPWARDS ARROW
  666. 0x2192: [448,-57,926,70,856], // RIGHTWARDS ARROW
  667. 0x2193: [662,156,511,60,451], // DOWNWARDS ARROW
  668. 0x2194: [449,-57,926,38,888], // LEFT RIGHT ARROW
  669. 0x2195: [730,224,511,60,451], // UP DOWN ARROW
  670. 0x2196: [662,156,926,70,856], // NORTH WEST ARROW
  671. 0x2197: [662,156,926,70,856], // NORTH EAST ARROW
  672. 0x2198: [662,156,926,70,856], // SOUTH EAST ARROW
  673. 0x2199: [662,156,926,70,856], // SOUTH WEST ARROW
  674. 0x21A6: [450,-57,926,70,857], // RIGHTWARDS ARROW FROM BAR
  675. 0x21A9: [553,-57,926,70,856], // LEFTWARDS ARROW WITH HOOK
  676. 0x21AA: [553,-57,926,70,856], // RIGHTWARDS ARROW WITH HOOK
  677. 0x21BC: [494,-220,955,54,901], // LEFTWARDS HARPOON WITH BARB UPWARDS
  678. 0x21BD: [286,-12,955,54,901], // LEFTWARDS HARPOON WITH BARB DOWNWARDS
  679. 0x21C0: [494,-220,955,54,901], // RIGHTWARDS HARPOON WITH BARB UPWARDS
  680. 0x21C1: [286,-12,955,54,901], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  681. 0x21CC: [539,33,926,70,856], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON
  682. 0x21D0: [551,45,926,60,866], // LEFTWARDS DOUBLE ARROW
  683. 0x21D1: [662,156,685,45,641], // UPWARDS DOUBLE ARROW
  684. 0x21D2: [551,45,926,60,866], // RIGHTWARDS DOUBLE ARROW
  685. 0x21D3: [662,156,685,45,641], // DOWNWARDS DOUBLE ARROW
  686. 0x21D4: [517,10,926,20,906], // LEFT RIGHT DOUBLE ARROW
  687. 0x21D5: [730,224,685,45,641], // UP DOWN DOUBLE ARROW
  688. 0x2200: [662,0,560,2,558], // FOR ALL
  689. 0x2202: [668,11,471,40,471], // PARTIAL DIFFERENTIAL
  690. 0x2203: [662,0,560,73,487], // THERE EXISTS
  691. 0x2205: [583,79,762,50,712], // EMPTY SET
  692. 0x2207: [662,12,731,63,667], // NABLA
  693. 0x2208: [531,27,685,60,625], // ELEMENT OF
  694. 0x2209: [662,157,685,60,625], // stix-negated (vert) set membership, variant
  695. 0x220B: [531,27,685,60,625], // CONTAINS AS MEMBER
  696. 0x220F: [763,259,1000,52,948], // N-ARY PRODUCT
  697. 0x2210: [763,259,1000,52,948], // N-ARY COPRODUCT
  698. 0x2211: [763,259,914,58,856], // N-ARY SUMMATION
  699. 0x2212: [286,-220,685,64,621], // MINUS SIGN
  700. 0x2213: [502,87,685,48,637], // MINUS-OR-PLUS SIGN
  701. 0x2215: [710,222,523,46,478], // DIVISION SLASH
  702. 0x2216: [411,-93,428,25,403], // SET MINUS
  703. 0x2217: [471,-33,523,67,457], // ASTERISK OPERATOR
  704. 0x2218: [387,-117,350,40,310], // RING OPERATOR
  705. 0x2219: [387,-117,350,40,310], // BULLET OPERATOR
  706. 0x221A: [973,259,928,112,963], // SQUARE ROOT
  707. 0x221D: [430,0,685,41,643], // PROPORTIONAL TO
  708. 0x221E: [430,0,926,70,854], // INFINITY
  709. 0x2220: [547,0,685,23,643], // ANGLE
  710. 0x2223: [690,189,266,100,166], // DIVIDES
  711. 0x2225: [690,189,523,129,394], // PARALLEL TO
  712. 0x2227: [536,29,620,31,589], // LOGICAL AND
  713. 0x2228: [536,29,620,31,589], // LOGICAL OR
  714. 0x2229: [536,31,620,48,572], // stix-intersection, serifs
  715. 0x222A: [536,31,620,48,572], // stix-union, serifs
  716. 0x222B: [824,320,459,32,639], // INTEGRAL
  717. 0x223C: [362,-148,685,48,637], // TILDE OPERATOR
  718. 0x2240: [547,42,286,35,249], // WREATH PRODUCT
  719. 0x2243: [445,-55,685,48,637], // ASYMPTOTICALLY EQUAL TO
  720. 0x2245: [532,27,685,48,637], // APPROXIMATELY EQUAL TO
  721. 0x2248: [475,-25,685,48,637], // ALMOST EQUAL TO
  722. 0x224D: [498,-8,685,48,637], // EQUIVALENT TO
  723. 0x2250: [611,-120,685,48,637], // APPROACHES THE LIMIT
  724. 0x2260: [662,156,685,48,637], // stix-not (vert) equals
  725. 0x2261: [478,-28,685,48,637], // IDENTICAL TO
  726. 0x2264: [609,103,685,64,629], // LESS-THAN OR EQUAL TO
  727. 0x2265: [609,103,685,64,629], // GREATER-THAN OR EQUAL TO
  728. 0x226A: [532,26,933,25,908], // MUCH LESS-THAN
  729. 0x226B: [532,26,933,25,908], // MUCH GREATER-THAN
  730. 0x227A: [532,26,685,64,621], // PRECEDES
  731. 0x227B: [532,26,685,64,621], // SUCCEEDS
  732. 0x227C: [628,120,685,64,621], // PRECEDES OR EQUAL TO
  733. 0x227D: [629,119,685,64,621], // SUCCEEDS OR EQUAL TO
  734. 0x2282: [531,25,685,64,621], // SUBSET OF
  735. 0x2283: [531,25,685,64,621], // SUPERSET OF
  736. 0x2286: [607,103,685,64,621], // SUBSET OF OR EQUAL TO
  737. 0x2287: [607,103,685,64,621], // SUPERSET OF OR EQUAL TO
  738. 0x228E: [536,31,620,48,572], // MULTISET UNION
  739. 0x2291: [607,103,685,64,621], // SQUARE IMAGE OF OR EQUAL TO
  740. 0x2292: [607,103,685,64,621], // SQUARE ORIGINAL OF OR EQUAL TO
  741. 0x2293: [536,31,620,48,572], // stix-square intersection, serifs
  742. 0x2294: [536,31,620,48,572], // stix-square union, serifs
  743. 0x2295: [623,119,842,50,792], // stix-circled plus (with rim)
  744. 0x2296: [623,119,842,50,792], // CIRCLED MINUS
  745. 0x2297: [623,119,842,50,792], // stix-circled times (with rim)
  746. 0x2298: [623,119,842,50,792], // CIRCLED DIVISION SLASH
  747. 0x2299: [583,79,762,50,712], // CIRCLED DOT OPERATOR
  748. 0x22A2: [662,0,685,64,621], // RIGHT TACK
  749. 0x22A3: [662,0,685,64,621], // LEFT TACK
  750. 0x22A4: [662,0,685,48,637], // DOWN TACK
  751. 0x22A5: [662,0,685,48,637], // UP TACK
  752. 0x22A8: [662,0,685,64,621], // TRUE
  753. 0x22C0: [763,259,924,54,870], // N-ARY LOGICAL AND
  754. 0x22C1: [763,259,924,54,870], // N-ARY LOGICAL OR
  755. 0x22C2: [778,254,924,94,830], // N-ARY INTERSECTION
  756. 0x22C3: [768,264,924,94,830], // N-ARY UNION
  757. 0x22C4: [488,-16,523,26,497], // DIAMOND OPERATOR
  758. 0x22C5: [313,-193,286,83,203], // DOT OPERATOR
  759. 0x22C6: [597,13,700,35,665], // STAR OPERATOR
  760. 0x22C8: [582,80,810,54,756], // BOWTIE
  761. 0x22EE: [606,104,511,192,319], // VERTICAL ELLIPSIS
  762. 0x22EF: [316,-189,926,108,818], // MIDLINE HORIZONTAL ELLIPSIS
  763. 0x22F1: [520,18,926,194,732], // DOWN RIGHT DIAGONAL ELLIPSIS
  764. 0x2308: [713,213,469,188,447], // LEFT CEILING
  765. 0x2309: [713,213,469,27,286], // RIGHT CEILING
  766. 0x230A: [713,213,469,188,447], // LEFT FLOOR
  767. 0x230B: [713,213,469,27,286], // RIGHT FLOOR
  768. 0x2322: [360,-147,1019,54,965], // stix-small down curve
  769. 0x2323: [360,-147,1019,54,965], // stix-small up curve
  770. 0x23AF: [286,-220,315,0,315], // HORIZONTAL LINE EXTENSION
  771. 0x23D0: [405,-101,511,222,288], // VERTICAL LINE EXTENSION (used to extend arrows)
  772. 0x25B3: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE
  773. 0x25B9: [555,50,660,80,605], // WHITE RIGHT-POINTING SMALL TRIANGLE
  774. 0x25BD: [811,127,1145,35,1110], // WHITE DOWN-POINTING TRIANGLE
  775. 0x25C3: [554,51,660,55,580], // WHITE LEFT-POINTING SMALL TRIANGLE
  776. 0x25EF: [785,282,1207,70,1137], // LARGE CIRCLE
  777. 0x2660: [609,99,685,34,651], // BLACK SPADE SUIT
  778. 0x2661: [603,105,685,34,651], // WHITE HEART SUIT
  779. 0x2662: [609,105,685,41,643], // WHITE DIAMOND SUIT
  780. 0x2663: [603,99,685,34,651], // BLACK CLUB SUIT
  781. 0x266D: [768,10,426,57,346], // MUSIC FLAT SIGN
  782. 0x266E: [768,181,426,75,350], // MUSIC NATURAL SIGN
  783. 0x266F: [768,181,426,41,386], // MUSIC SHARP SIGN
  784. 0x27E8: [713,213,400,77,335], // MATHEMATICAL LEFT ANGLE BRACKET
  785. 0x27E9: [713,213,400,65,323], // MATHEMATICAL RIGHT ANGLE BRACKET
  786. 0x27EE: [676,177,233,56,211], // MATHEMATICAL LEFT FLATTENED PARENTHESIS
  787. 0x27EF: [676,177,233,22,177], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS
  788. 0x27F5: [449,-58,1574,55,1519], // LONG LEFTWARDS ARROW
  789. 0x27F6: [449,-57,1574,55,1519], // LONG RIGHTWARDS ARROW
  790. 0x27F7: [449,-57,1574,55,1519], // LONG LEFT RIGHT ARROW
  791. 0x27F8: [551,45,1574,55,1519], // LONG LEFTWARDS DOUBLE ARROW
  792. 0x27F9: [551,45,1574,55,1519], // LONG RIGHTWARDS DOUBLE ARROW
  793. 0x27FA: [517,10,1574,55,1519], // LONG LEFT RIGHT DOUBLE ARROW
  794. 0x27FB: [450,-57,1574,55,1519], // LONG LEFTWARDS ARROW FROM BAR
  795. 0x27FC: [450,-57,1574,55,1519], // LONG RIGHTWARDS ARROW FROM BAR
  796. 0x29F5: [710,222,523,46,478], // REVERSE SOLIDUS OPERATOR
  797. 0x2A00: [763,259,1126,53,1073], // N-ARY CIRCLED DOT OPERATOR
  798. 0x2A01: [763,259,1126,53,1073], // N-ARY CIRCLED PLUS OPERATOR
  799. 0x2A02: [763,259,1126,53,1073], // N-ARY CIRCLED TIMES OPERATOR
  800. 0x2A03: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH DOT
  801. 0x2A04: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH PLUS
  802. 0x2A05: [763,259,924,94,830], // N-ARY SQUARE INTERSECTION OPERATOR
  803. 0x2A06: [763,259,924,94,830], // N-ARY SQUARE UNION OPERATOR
  804. 0x2A3F: [662,0,694,30,664], // AMALGAMATION OR COPRODUCT
  805. 0x2AAF: [609,103,685,64,621], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN
  806. 0x2AB0: [609,103,685,64,621] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN
  807. };
  808. HTMLCSS.FONTDATA.FONTS['STIXGeneral-bold'] = {
  809. directory: 'General/Bold',
  810. family: 'STIXGeneral',
  811. weight: 'bold',
  812. Ranges: [
  813. [0xA0,0xFF,"Latin1Supplement"],
  814. [0x100,0x17F,"LatinExtendedA"],
  815. [0x180,0x24F,"LatinExtendedB"],
  816. [0x250,0x2AF,"IPAExtensions"],
  817. [0x2B0,0x2FF,"SpacingModLetters"],
  818. [0x300,0x36F,"CombDiacritMarks"],
  819. [0x370,0x3FF,"GreekAndCoptic"],
  820. [0x400,0x4FF,"Cyrillic"],
  821. [0x1D00,0x1DBF,"PhoneticExtensions"],
  822. [0x1E00,0x1EFF,"LatinExtendedAdditional"],
  823. [0x2000,0x206F,"GeneralPunctuation"],
  824. [0x2070,0x209F,"SuperAndSubscripts"],
  825. [0x20A0,0x20CF,"CurrencySymbols"],
  826. [0x20D0,0x20FF,"CombDiactForSymbols"],
  827. [0x2100,0x214F,"LetterlikeSymbols"],
  828. [0x2150,0x218F,"NumberForms"],
  829. [0x2190,0x21FF,"Arrows"],
  830. [0x2200,0x22FF,"MathOperators"],
  831. [0x2300,0x23FF,"MiscTechnical"],
  832. [0x2400,0x243F,"ControlPictures"],
  833. [0x2460,0x24FF,"EnclosedAlphanum"],
  834. [0x2500,0x257F,"BoxDrawing"],
  835. [0x25A0,0x25FF,"GeometricShapes"],
  836. [0x2600,0x26FF,"MiscSymbols"],
  837. [0x27C0,0x27EF,"MiscMathSymbolsA"],
  838. [0x2980,0x29FF,"MiscMathSymbolsB"],
  839. [0x2A00,0x2AFF,"SuppMathOperators"],
  840. [0xA720,0xA7FF,"LatinExtendedD"],
  841. [0xFB00,0xFB4F,"AlphaPresentForms"],
  842. [0x1D400,0x1D433,"MathBold"],
  843. [0x1D538,0x1D56B,"BBBold"],
  844. [0x1D56C,0x1D59F,"BoldFraktur"],
  845. [0x1D5D4,0x1D607,"MathSSBold"],
  846. [0x1D6A8,0x1D6E1,"GreekBold"],
  847. [0x1D756,0x1D78F,"GreekSSBold"],
  848. [0x1D7CE,0x1D7D7,"MathBold"],
  849. [0x1D7EC,0x1D7F6,"MathSSBold"]
  850. ],
  851. 0x20: [0,0,250,0,0], // SPACE
  852. 0x21: [691,13,333,81,251], // EXCLAMATION MARK
  853. 0x22: [691,-404,555,83,472], // QUOTATION MARK
  854. 0x23: [700,0,500,5,495], // NUMBER SIGN
  855. 0x24: [750,99,500,29,472], // DOLLAR SIGN
  856. 0x25: [706,29,749,61,688], // PERCENT SIGN
  857. 0x26: [691,16,833,62,789], // AMPERSAND
  858. 0x27: [691,-404,278,75,204], // APOSTROPHE
  859. 0x28: [694,168,333,46,306], // LEFT PARENTHESIS
  860. 0x29: [694,168,333,27,287], // RIGHT PARENTHESIS
  861. 0x2A: [691,-255,500,56,448], // ASTERISK
  862. 0x2B: [563,57,750,65,685], // PLUS SIGN
  863. 0x2C: [155,180,250,39,223], // COMMA
  864. 0x2D: [287,-171,333,44,287], // HYPHEN-MINUS
  865. 0x2E: [156,13,250,41,210], // FULL STOP
  866. 0x2F: [691,19,278,-24,302], // SOLIDUS
  867. 0x30: [688,13,500,24,476], // DIGIT ZERO
  868. 0x31: [688,0,500,65,441], // DIGIT ONE
  869. 0x32: [688,0,500,17,478], // DIGIT TWO
  870. 0x33: [688,14,500,16,468], // DIGIT THREE
  871. 0x34: [688,0,500,19,476], // DIGIT FOUR
  872. 0x35: [676,8,500,22,470], // DIGIT FIVE
  873. 0x36: [688,13,500,28,475], // DIGIT SIX
  874. 0x37: [676,0,500,17,477], // DIGIT SEVEN
  875. 0x38: [688,13,500,28,472], // DIGIT EIGHT
  876. 0x39: [688,13,500,26,473], // DIGIT NINE
  877. 0x3A: [472,13,333,82,251], // COLON
  878. 0x3B: [472,180,333,82,266], // SEMICOLON
  879. 0x3C: [534,24,750,80,670], // LESS-THAN SIGN
  880. 0x3D: [399,-107,750,68,682], // EQUALS SIGN
  881. 0x3E: [534,24,750,80,670], // GREATER-THAN SIGN
  882. 0x3F: [689,13,500,57,445], // QUESTION MARK
  883. 0x40: [691,19,930,108,822], // COMMERCIAL AT
  884. 0x41: [690,0,722,9,689], // LATIN CAPITAL LETTER A
  885. 0x42: [676,0,667,16,619], // LATIN CAPITAL LETTER B
  886. 0x43: [691,19,722,49,687], // LATIN CAPITAL LETTER C
  887. 0x44: [676,0,722,14,690], // LATIN CAPITAL LETTER D
  888. 0x45: [676,0,667,16,641], // LATIN CAPITAL LETTER E
  889. 0x46: [676,0,611,16,583], // LATIN CAPITAL LETTER F
  890. 0x47: [691,19,778,37,755], // LATIN CAPITAL LETTER G
  891. 0x48: [676,0,778,21,759], // LATIN CAPITAL LETTER H
  892. 0x49: [676,0,389,20,370], // LATIN CAPITAL LETTER I
  893. 0x4A: [676,96,500,3,478], // LATIN CAPITAL LETTER J
  894. 0x4B: [676,0,778,30,769], // LATIN CAPITAL LETTER K
  895. 0x4C: [677,0,667,19,638], // LATIN CAPITAL LETTER L
  896. 0x4D: [676,0,944,14,921], // LATIN CAPITAL LETTER M
  897. 0x4E: [676,18,722,16,701], // LATIN CAPITAL LETTER N
  898. 0x4F: [691,19,778,35,743], // LATIN CAPITAL LETTER O
  899. 0x50: [676,0,611,16,600], // LATIN CAPITAL LETTER P
  900. 0x51: [691,176,778,35,743], // LATIN CAPITAL LETTER Q
  901. 0x52: [676,0,722,26,716], // LATIN CAPITAL LETTER R
  902. 0x53: [692,19,556,35,513], // LATIN CAPITAL LETTER S
  903. 0x54: [676,0,667,31,636], // LATIN CAPITAL LETTER T
  904. 0x55: [676,19,722,16,701], // LATIN CAPITAL LETTER U
  905. 0x56: [676,18,722,16,701], // LATIN CAPITAL LETTER V
  906. 0x57: [676,15,1000,19,981], // LATIN CAPITAL LETTER W
  907. 0x58: [676,0,722,16,699], // LATIN CAPITAL LETTER X
  908. 0x59: [676,0,722,15,699], // LATIN CAPITAL LETTER Y
  909. 0x5A: [676,0,667,28,634], // LATIN CAPITAL LETTER Z
  910. 0x5B: [678,149,333,67,301], // LEFT SQUARE BRACKET
  911. 0x5C: [691,19,278,-25,303], // REVERSE SOLIDUS
  912. 0x5D: [678,149,333,32,266], // RIGHT SQUARE BRACKET
  913. 0x5E: [676,-311,581,73,509], // CIRCUMFLEX ACCENT
  914. 0x5F: [-75,125,500,0,500], // LOW LINE
  915. 0x60: [713,-528,333,8,246], // GRAVE ACCENT
  916. 0x61: [473,14,500,25,488], // LATIN SMALL LETTER A
  917. 0x62: [676,14,556,17,521], // LATIN SMALL LETTER B
  918. 0x63: [473,14,444,25,430], // LATIN SMALL LETTER C
  919. 0x64: [676,14,556,25,534], // LATIN SMALL LETTER D
  920. 0x65: [473,14,444,25,427], // LATIN SMALL LETTER E
  921. 0x66: [691,0,333,14,389], // LATIN SMALL LETTER F
  922. 0x67: [473,206,500,28,483], // LATIN SMALL LETTER G
  923. 0x68: [676,0,556,15,534], // LATIN SMALL LETTER H
  924. 0x69: [691,0,278,15,256], // LATIN SMALL LETTER I
  925. 0x6A: [691,203,333,-57,263], // LATIN SMALL LETTER J
  926. 0x6B: [676,0,556,22,543], // LATIN SMALL LETTER K
  927. 0x6C: [676,0,278,15,256], // LATIN SMALL LETTER L
  928. 0x6D: [473,0,833,15,814], // LATIN SMALL LETTER M
  929. 0x6E: [473,0,556,21,539], // LATIN SMALL LETTER N
  930. 0x6F: [473,14,500,25,476], // LATIN SMALL LETTER O
  931. 0x70: [473,205,556,19,524], // LATIN SMALL LETTER P
  932. 0x71: [473,205,556,34,536], // LATIN SMALL LETTER Q
  933. 0x72: [473,0,444,28,434], // LATIN SMALL LETTER R
  934. 0x73: [473,14,389,25,361], // LATIN SMALL LETTER S
  935. 0x74: [630,12,333,19,332], // LATIN SMALL LETTER T
  936. 0x75: [461,14,556,16,538], // LATIN SMALL LETTER U
  937. 0x76: [461,14,500,21,485], // LATIN SMALL LETTER V
  938. 0x77: [461,14,722,23,707], // LATIN SMALL LETTER W
  939. 0x78: [461,0,500,12,484], // LATIN SMALL LETTER X
  940. 0x79: [461,205,500,16,482], // LATIN SMALL LETTER Y
  941. 0x7A: [461,0,444,21,420], // LATIN SMALL LETTER Z
  942. 0x7B: [698,175,394,22,340], // LEFT CURLY BRACKET
  943. 0x7C: [691,19,220,66,154], // VERTICAL LINE
  944. 0x7D: [698,175,394,54,372], // RIGHT CURLY BRACKET
  945. 0x7E: [333,-173,520,29,491], // TILDE
  946. 0x393: [676,0,620,16,593], // GREEK CAPITAL LETTER GAMMA
  947. 0x394: [690,0,722,33,673], // GREEK CAPITAL LETTER DELTA
  948. 0x398: [692,18,778,35,743], // GREEK CAPITAL LETTER THETA
  949. 0x39B: [690,0,707,9,674], // GREEK CAPITAL LETTER LAMDA
  950. 0x39E: [676,0,647,40,607], // GREEK CAPITAL LETTER XI
  951. 0x3A0: [676,0,778,21,759], // GREEK CAPITAL LETTER PI
  952. 0x3A3: [676,0,671,28,641], // GREEK CAPITAL LETTER SIGMA
  953. 0x3A5: [692,0,703,7,693], // GREEK CAPITAL LETTER UPSILON
  954. 0x3A6: [676,0,836,18,818], // GREEK CAPITAL LETTER PHI
  955. 0x3A8: [692,0,808,15,797], // GREEK CAPITAL LETTER PSI
  956. 0x3A9: [692,0,768,28,740] // GREEK CAPITAL LETTER OMEGA
  957. };
  958. HTMLCSS.FONTDATA.FONTS['STIXGeneral-italic'] = {
  959. directory: 'General/Italic',
  960. family: 'STIXGeneral',
  961. style: 'italic',
  962. Ranges: [
  963. [0xA0,0xFF,"Latin1Supplement"],
  964. [0x100,0x17F,"LatinExtendedA"],
  965. [0x180,0x24F,"LatinExtendedB"],
  966. [0x250,0x2AF,"IPAExtensions"],
  967. [0x2B0,0x2FF,"SpacingModLetters"],
  968. [0x370,0x3FF,"GreekAndCoptic"],
  969. [0x400,0x4FF,"Cyrillic"],
  970. [0x1E00,0x1EFF,"LatinExtendedAdditional"],
  971. [0x2000,0x206F,"GeneralPunctuation"],
  972. [0x20A0,0x20CF,"CurrencySymbols"],
  973. [0x20D0,0x20FF,"CombDiactForSymbols"],
  974. [0x2100,0x214F,"LetterlikeSymbols"],
  975. [0x2200,0x22FF,"MathOperators"],
  976. [0x2400,0x243F,"ControlPictures"],
  977. [0x2460,0x24FF,"EnclosedAlphanum"],
  978. [0x2500,0x257F,"BoxDrawing"],
  979. [0xFB00,0xFB4F,"AlphaPresentForms"],
  980. [0x1D434,0x1D467,"MathItalic"],
  981. [0x1D49C,0x1D4CF,"MathScript"],
  982. [0x1D608,0x1D63B,"MathSSItalic"],
  983. [0x1D6A4,0x1D6A5,"ij"],
  984. [0x1D6E2,0x1D71B,"GreekItalic"]
  985. ],
  986. 0x20: [0,0,250,0,0], // SPACE
  987. 0x21: [667,11,333,39,304], // EXCLAMATION MARK
  988. 0x22: [666,-421,420,144,432], // QUOTATION MARK
  989. 0x23: [676,0,501,2,540], // NUMBER SIGN
  990. 0x24: [731,89,500,32,497], // DOLLAR SIGN
  991. 0x25: [706,19,755,80,705], // PERCENT SIGN
  992. 0x26: [666,18,778,76,723], // AMPERSAND
  993. 0x27: [666,-421,214,132,241], // APOSTROPHE
  994. 0x28: [669,181,333,42,315], // LEFT PARENTHESIS
  995. 0x29: [669,180,333,16,289], // RIGHT PARENTHESIS
  996. 0x2A: [666,-255,500,128,492], // ASTERISK
  997. 0x2B: [506,0,675,86,590], // PLUS SIGN
  998. 0x2C: [101,129,250,-5,135], // COMMA
  999. 0x2D: [255,-192,333,49,282], // HYPHEN-MINUS
  1000. 0x2E: [100,11,250,27,138], // FULL STOP
  1001. 0x2F: [666,18,278,-65,386], // SOLIDUS
  1002. 0x30: [676,7,500,32,497], // DIGIT ZERO
  1003. 0x31: [676,0,500,50,409], // DIGIT ONE
  1004. 0x32: [676,0,500,12,452], // DIGIT TWO
  1005. 0x33: [676,7,500,16,465], // DIGIT THREE
  1006. 0x34: [676,0,500,1,479], // DIGIT FOUR
  1007. 0x35: [666,7,500,15,491], // DIGIT FIVE
  1008. 0x36: [686,7,500,30,521], // DIGIT SIX
  1009. 0x37: [666,8,500,75,537], // DIGIT SEVEN
  1010. 0x38: [676,7,500,30,493], // DIGIT EIGHT
  1011. 0x39: [676,17,500,23,492], // DIGIT NINE
  1012. 0x3A: [441,11,333,50,261], // COLON
  1013. 0x3B: [441,129,333,26,261], // SEMICOLON
  1014. 0x3C: [516,10,675,84,592], // LESS-THAN SIGN
  1015. 0x3D: [386,-120,675,86,590], // EQUALS SIGN
  1016. 0x3E: [516,10,675,84,592], // GREATER-THAN SIGN
  1017. 0x3F: [664,12,500,132,472], // QUESTION MARK
  1018. 0x40: [666,18,920,118,806], // COMMERCIAL AT
  1019. 0x41: [668,0,611,-51,564], // LATIN CAPITAL LETTER A
  1020. 0x42: [653,0,611,-8,588], // LATIN CAPITAL LETTER B
  1021. 0x43: [666,18,667,66,689], // LATIN CAPITAL LETTER C
  1022. 0x44: [653,0,722,-8,700], // LATIN CAPITAL LETTER D
  1023. 0x45: [653,0,611,-1,634], // LATIN CAPITAL LETTER E
  1024. 0x46: [653,0,611,8,645], // LATIN CAPITAL LETTER F
  1025. 0x47: [666,18,722,52,722], // LATIN CAPITAL LETTER G
  1026. 0x48: [653,0,722,-8,769], // LATIN CAPITAL LETTER H
  1027. 0x49: [653,0,333,-8,384], // LATIN CAPITAL LETTER I
  1028. 0x4A: [653,18,444,-6,491], // LATIN CAPITAL LETTER J
  1029. 0x4B: [653,0,667,7,722], // LATIN CAPITAL LETTER K
  1030. 0x4C: [653,0,556,-8,559], // LATIN CAPITAL LETTER L
  1031. 0x4D: [653,0,833,-18,872], // LATIN CAPITAL LETTER M
  1032. 0x4E: [653,15,667,-20,727], // LATIN CAPITAL LETTER N
  1033. 0x4F: [667,18,722,60,699], // LATIN CAPITAL LETTER O
  1034. 0x50: [653,0,611,0,605], // LATIN CAPITAL LETTER P
  1035. 0x51: [666,182,722,59,699], // LATIN CAPITAL LETTER Q
  1036. 0x52: [653,0,611,-13,588], // LATIN CAPITAL LETTER R
  1037. 0x53: [667,18,500,17,508], // LATIN CAPITAL LETTER S
  1038. 0x54: [653,0,556,59,633], // LATIN CAPITAL LETTER T
  1039. 0x55: [653,18,722,102,765], // LATIN CAPITAL LETTER U
  1040. 0x56: [653,18,611,76,688], // LATIN CAPITAL LETTER V
  1041. 0x57: [653,18,833,71,906], // LATIN CAPITAL LETTER W
  1042. 0x58: [653,0,611,-29,655], // LATIN CAPITAL LETTER X
  1043. 0x59: [653,0,556,78,633], // LATIN CAPITAL LETTER Y
  1044. 0x5A: [653,0,556,-6,606], // LATIN CAPITAL LETTER Z
  1045. 0x5B: [663,153,389,21,391], // LEFT SQUARE BRACKET
  1046. 0x5C: [666,18,278,-41,319], // REVERSE SOLIDUS
  1047. 0x5D: [663,153,389,12,382], // RIGHT SQUARE BRACKET
  1048. 0x5E: [666,-301,422,0,422], // CIRCUMFLEX ACCENT
  1049. 0x5F: [-75,125,500,0,500], // LOW LINE
  1050. 0x60: [664,-492,333,120,311], // GRAVE ACCENT
  1051. 0x61: [441,11,501,17,476], // LATIN SMALL LETTER A
  1052. 0x62: [683,11,500,23,473], // LATIN SMALL LETTER B
  1053. 0x63: [441,11,444,30,425], // LATIN SMALL LETTER C
  1054. 0x64: [683,13,500,15,527], // LATIN SMALL LETTER D
  1055. 0x65: [441,11,444,31,412], // LATIN SMALL LETTER E
  1056. 0x66: [678,207,278,-147,424], // LATIN SMALL LETTER F
  1057. 0x67: [441,206,500,8,471], // LATIN SMALL LETTER G
  1058. 0x68: [683,9,500,19,478], // LATIN SMALL LETTER H
  1059. 0x69: [654,11,278,49,264], // LATIN SMALL LETTER I
  1060. 0x6A: [652,207,278,-124,279], // LATIN SMALL LETTER J
  1061. 0x6B: [683,11,444,14,461], // LATIN SMALL LETTER K
  1062. 0x6C: [683,11,278,41,279], // LATIN SMALL LETTER L
  1063. 0x6D: [441,9,722,12,704], // LATIN SMALL LETTER M
  1064. 0x6E: [441,9,500,14,474], // LATIN SMALL LETTER N
  1065. 0x6F: [441,11,500,27,468], // LATIN SMALL LETTER O
  1066. 0x70: [441,205,504,-75,472], // LATIN SMALL LETTER P
  1067. 0x71: [441,209,500,25,484], // LATIN SMALL LETTER Q
  1068. 0x72: [441,0,389,45,412], // LATIN SMALL LETTER R
  1069. 0x73: [442,13,389,16,366], // LATIN SMALL LETTER S
  1070. 0x74: [546,11,278,38,296], // LATIN SMALL LETTER T
  1071. 0x75: [441,11,500,42,475], // LATIN SMALL LETTER U
  1072. 0x76: [441,18,444,20,426], // LATIN SMALL LETTER V
  1073. 0x77: [441,18,667,15,648], // LATIN SMALL LETTER W
  1074. 0x78: [441,11,444,-27,447], // LATIN SMALL LETTER X
  1075. 0x79: [441,206,444,-24,426], // LATIN SMALL LETTER Y
  1076. 0x7A: [428,81,389,-2,380], // LATIN SMALL LETTER Z
  1077. 0x7B: [687,177,400,51,407], // LEFT CURLY BRACKET
  1078. 0x7C: [666,18,275,105,171], // VERTICAL LINE
  1079. 0x7D: [687,177,400,-7,349], // RIGHT CURLY BRACKET
  1080. 0x7E: [323,-183,541,40,502], // TILDE
  1081. 0x131: [441,11,278,47,235], // LATIN SMALL LETTER DOTLESS I
  1082. 0x237: [441,207,278,-124,246], // LATIN SMALL LETTER DOTLESS J
  1083. 0x393: [653,0,611,8,645], // GREEK CAPITAL LETTER GAMMA
  1084. 0x394: [668,0,611,-32,526], // GREEK CAPITAL LETTER DELTA
  1085. 0x398: [667,18,722,60,699], // GREEK CAPITAL LETTER THETA
  1086. 0x39B: [668,0,611,-51,564], // GREEK CAPITAL LETTER LAMDA
  1087. 0x39E: [653,0,651,-6,680], // GREEK CAPITAL LETTER XI
  1088. 0x3A0: [653,0,722,-8,769], // GREEK CAPITAL LETTER PI
  1089. 0x3A3: [653,0,620,-6,659], // GREEK CAPITAL LETTER SIGMA
  1090. 0x3A5: [668,0,556,78,648], // GREEK CAPITAL LETTER UPSILON
  1091. 0x3A6: [653,0,741,50,731], // GREEK CAPITAL LETTER PHI
  1092. 0x3A8: [667,0,675,77,778], // GREEK CAPITAL LETTER PSI
  1093. 0x3A9: [666,0,762,-6,739], // GREEK CAPITAL LETTER OMEGA
  1094. 0x3B1: [441,11,552,27,549], // GREEK SMALL LETTER ALPHA
  1095. 0x3B2: [678,205,506,-40,514], // GREEK SMALL LETTER BETA
  1096. 0x3B3: [435,206,410,19,438], // GREEK SMALL LETTER GAMMA
  1097. 0x3B4: [668,11,460,24,460], // GREEK SMALL LETTER DELTA
  1098. 0x3B5: [441,11,444,30,425], // GREEK SMALL LETTER EPSILON
  1099. 0x3B6: [683,185,454,30,475], // GREEK SMALL LETTER ZETA
  1100. 0x3B7: [441,205,474,14,442], // GREEK SMALL LETTER ETA
  1101. 0x3B8: [678,11,480,27,494], // GREEK SMALL LETTER THETA
  1102. 0x3B9: [441,11,278,49,235], // GREEK SMALL LETTER IOTA
  1103. 0x3BA: [441,13,444,14,465], // GREEK SMALL LETTER KAPPA
  1104. 0x3BB: [678,16,458,-12,431], // GREEK SMALL LETTER LAMDA
  1105. 0x3BC: [428,205,526,-33,483], // GREEK SMALL LETTER MU
  1106. 0x3BD: [441,18,470,20,459], // GREEK SMALL LETTER NU
  1107. 0x3BE: [683,185,454,30,446], // GREEK SMALL LETTER XI
  1108. 0x3BF: [441,11,500,27,468], // GREEK SMALL LETTER OMICRON
  1109. 0x3C0: [428,18,504,19,536], // GREEK SMALL LETTER PI
  1110. 0x3C1: [441,205,504,-40,471], // GREEK SMALL LETTER RHO
  1111. 0x3C2: [441,185,454,30,453], // GREEK SMALL LETTER FINAL SIGMA
  1112. 0x3C3: [428,11,498,27,531], // GREEK SMALL LETTER SIGMA
  1113. 0x3C4: [428,11,410,12,426], // GREEK SMALL LETTER TAU
  1114. 0x3C5: [441,10,478,19,446], // GREEK SMALL LETTER UPSILON
  1115. 0x3C6: [441,205,622,27,590], // GREEK SMALL LETTER PHI
  1116. 0x3C7: [441,207,457,-108,498], // GREEK SMALL LETTER CHI
  1117. 0x3C8: [441,205,584,15,668], // GREEK SMALL LETTER PSI
  1118. 0x3C9: [439,11,686,27,654], // GREEK SMALL LETTER OMEGA
  1119. 0x3D1: [678,10,556,19,526], // GREEK THETA SYMBOL
  1120. 0x3D5: [683,205,627,27,595], // GREEK PHI SYMBOL
  1121. 0x3D6: [428,11,792,17,832], // GREEK PI SYMBOL
  1122. 0x3F1: [441,205,516,27,484], // GREEK RHO SYMBOL
  1123. 0x3F5: [441,11,444,30,420], // GREEK LUNATE EPSILON SYMBOL
  1124. 0x2113: [687,11,579,48,571] // SCRIPT SMALL L
  1125. };
  1126. HTMLCSS.FONTDATA.FONTS['STIXIntegralsD'] = {
  1127. directory: 'IntegralsD/Regular',
  1128. family: 'STIXIntegralsD',
  1129. Ranges: [
  1130. [0x20,0x20,"All"],
  1131. [0xA0,0xA0,"All"],
  1132. [0x222B,0x2233,"All"],
  1133. [0x2A0B,0x2A1C,"All"]
  1134. ],
  1135. 0x222B: [2000,269,585,56,1035], // INTEGRAL
  1136. 0x222E: [2000,269,635,56,1035] // CONTOUR INTEGRAL
  1137. };
  1138. HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'] = {
  1139. directory: 'NonUnicode/Regular',
  1140. family: 'STIXNonUnicode',
  1141. Ranges: [
  1142. [0x20,0x20,"All"],
  1143. [0xA0,0xA0,"All"],
  1144. [0xE000,0xF8FF,"PrivateUse"]
  1145. ],
  1146. 0xE000: [610,25,1184,829,895], // stix-radical symbol vertical extender
  1147. 0xE001: [667,-41,1184,829,1211], // stix-radical symbol top corner piece
  1148. 0xE138: [634,-584,480,-10,490], // stix-horizontal extender for multiple character over accent arrows, harpoons, line
  1149. 0xE139: [-127,177,480,-10,490], // stix-horizontal extender for multiple character under accent arrows, harpoons, line
  1150. 0xE13B: [955,-512,897,-25,908], // stix-left end of extensible overbrace (CMEX10 x3A rotated 90deg)
  1151. 0xE13C: [955,-512,897,-11,922], // stix-right end of extensible overbrace (CMEX10 x38 rotated 90deg)
  1152. 0xE13D: [182,261,897,-25,908], // stix-left end of extensible underbrace (CMEX10 x3B rotated 90deg)
  1153. 0xE13E: [182,261,897,-11,922], // stix-right end of extensible underbrace (CMEX10 x39 rotated 90deg)
  1154. 0xE140: [1218,-820,1844,-10,1854], // stix-center of extensible overbrace (CMEX10 x3C rotated 90deg)
  1155. 0xE141: [-126,524,1844,-10,1854], // stix-center of extensible underbrace (CMEX10 x3D rotated 90deg)
  1156. 0xE14A: [955,-820,633,-1,634], // stix-extensible horizontal for over paren or square bracket (CMEX10 x42 rotated 90deg)
  1157. 0xE14B: [-126,261,633,-1,634], // stix-extensible horizontal for under paren or square bracket (CMEX10 x43 rotated 90deg)
  1158. 0xE261: [422,10,523,41,481], // stix-old style digit 0
  1159. 0xE265: [421,0,523,127,405], // stix-old style digit 1
  1160. 0xE269: [421,0,523,68,455], // stix-old style digit 2
  1161. 0xE26D: [424,198,523,47,463], // stix-old style digit 3
  1162. 0xE271: [420,198,523,58,480], // stix-old style digit 4
  1163. 0xE275: [421,198,523,66,457], // stix-old style digit 5
  1164. 0xE279: [612,8,523,37,486], // stix-old style digit 6
  1165. 0xE27D: [421,198,523,25,490], // stix-old style digit 7
  1166. 0xE281: [606,12,523,47,477], // stix-old style digit 8
  1167. 0xE285: [421,200,523,41,483], // stix-old style digit 9
  1168. 0xE28F: [135,0,325,-1,326], // stix-short horizontal extender at baseline
  1169. 0xE290: [135,0,633,-1,634] // stix-long horizontal extender at baseline
  1170. };
  1171. HTMLCSS.FONTDATA.FONTS['STIXNonUnicode-bold'] = {
  1172. directory: 'NonUnicode/Bold',
  1173. family: 'STIXNonUnicode',
  1174. weight: 'bold',
  1175. Ranges: [
  1176. [0x20,0x20,"All"],
  1177. [0xA0,0xA0,"All"],
  1178. [0xE000,0xF8FF,"PrivateUse"]
  1179. ]
  1180. };
  1181. HTMLCSS.FONTDATA.FONTS['STIXNonUnicode-italic'] = {
  1182. directory: 'NonUnicode/Italic',
  1183. family: 'STIXNonUnicode',
  1184. style: 'italic',
  1185. Ranges: [
  1186. [0x20,0x20,"All"],
  1187. [0xA0,0xA0,"All"],
  1188. [0xE000,0xF8FF,"PrivateUse"]
  1189. ],
  1190. 0xE22D: [677,45,852,43,812], // stix-mathematical calligraphic capital A
  1191. 0xE22E: [670,3,724,35,709], // stix-mathematical calligraphic capital B
  1192. 0xE22F: [671,11,569,43,586], // stix-mathematical calligraphic capital C
  1193. 0xE230: [662,0,801,34,788], // stix-mathematical calligraphic capital D
  1194. 0xE231: [670,4,553,40,599], // stix-mathematical calligraphic capital E
  1195. 0xE232: [662,0,652,43,710], // stix-mathematical calligraphic capital F
  1196. 0xE233: [671,131,580,40,580], // stix-mathematical calligraphic capital G
  1197. 0xE234: [664,21,831,41,845], // stix-mathematical calligraphic capital H
  1198. 0xE235: [662,0,575,38,591], // stix-mathematical calligraphic capital I
  1199. 0xE236: [662,120,632,31,785], // stix-mathematical calligraphic capital J
  1200. 0xE237: [670,13,809,30,783], // stix-mathematical calligraphic capital K
  1201. 0xE238: [670,7,693,30,653], // stix-mathematical calligraphic capital L
  1202. 0xE239: [671,45,1166,40,1128], // stix-mathematical calligraphic capital M
  1203. 0xE23A: [795,37,957,40,1064], // stix-mathematical calligraphic capital N
  1204. 0xE23B: [669,10,737,38,729], // stix-mathematical calligraphic capital O
  1205. 0xE23C: [662,0,667,38,709], // stix-mathematical calligraphic capital P
  1206. 0xE23D: [671,131,744,43,704], // stix-mathematical calligraphic capital Q
  1207. 0xE23E: [662,3,854,38,816], // stix-mathematical calligraphic capital R
  1208. 0xE23F: [671,0,634,38,671], // stix-mathematical calligraphic capital S
  1209. 0xE240: [721,0,509,41,730], // stix-mathematical calligraphic capital T
  1210. 0xE241: [672,13,817,37,950], // stix-mathematical calligraphic capital U
  1211. 0xE242: [677,33,638,33,680], // stix-mathematical calligraphic capital V
  1212. 0xE243: [685,32,956,33,998], // stix-mathematical calligraphic capital W
  1213. 0xE244: [672,13,692,38,739], // stix-mathematical calligraphic capital X
  1214. 0xE245: [675,131,719,34,763], // stix-mathematical calligraphic capital Y
  1215. 0xE246: [664,94,752,38,714] // stix-mathematical calligraphic capital Z
  1216. };
  1217. HTMLCSS.FONTDATA.FONTS['STIXSizeOneSym'] = {
  1218. directory: 'SizeOneSym/Regular',
  1219. family: 'STIXSizeOneSym',
  1220. Ranges: [
  1221. [0x2B0,0x2FF,"All"],
  1222. [0x300,0x338,"All"],
  1223. [0x203E,0x203E,"All"],
  1224. [0x20D0,0x20EF,"All"],
  1225. [0x2140,0x2140,"All"],
  1226. [0x221A,0x221C,"All"],
  1227. [0x2320,0x2321,"All"],
  1228. [0x239B,0x23B9,"All"],
  1229. [0x23DC,0x23E1,"All"],
  1230. [0x2772,0x2773,"All"],
  1231. [0x27E6,0x27EB,"All"],
  1232. [0x2983,0x2986,"All"],
  1233. [0x29F8,0x29F9,"All"],
  1234. [0x2A00,0x2A0A,"All"],
  1235. [0x2AFC,0x2AFF,"All"]
  1236. ],
  1237. 0x20: [0,0,250,0,0], // SPACE
  1238. 0x28: [1066,164,468,139,382], // LEFT PARENTHESIS
  1239. 0x29: [1066,164,468,86,329], // RIGHT PARENTHESIS
  1240. 0x2F: [1066,164,579,25,552], // SOLIDUS
  1241. 0x5B: [1066,164,383,180,363], // LEFT SQUARE BRACKET
  1242. 0x5C: [1066,164,579,27,552], // REVERSE SOLIDUS
  1243. 0x5D: [1066,164,383,20,203], // RIGHT SQUARE BRACKET
  1244. 0x5F: [-127,177,1000,0,1000], // LOW LINE
  1245. 0x7B: [1066,164,575,114,466], // LEFT CURLY BRACKET
  1246. 0x7D: [1066,164,575,109,461], // RIGHT CURLY BRACKET
  1247. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  1248. 0x302: [767,-554,0,-720,-160], // COMBINING CIRCUMFLEX ACCENT
  1249. 0x303: [750,-598,0,-722,-162], // COMBINING TILDE
  1250. 0x220F: [1500,-49,1355,50,1305], // N-ARY PRODUCT
  1251. 0x2210: [1500,-49,1355,50,1305], // N-ARY COPRODUCT
  1252. 0x2211: [1499,-49,1292,90,1202], // N-ARY SUMMATION
  1253. 0x221A: [1552,295,1057,112,1089], // SQUARE ROOT
  1254. 0x22C0: [1500,-49,1265,60,1205], // N-ARY LOGICAL AND
  1255. 0x22C1: [1500,-49,1265,60,1205], // N-ARY LOGICAL OR
  1256. 0x22C2: [1510,-49,1265,118,1147], // N-ARY INTERSECTION
  1257. 0x22C3: [1500,-39,1265,118,1147], // N-ARY UNION
  1258. 0x2308: [1066,164,453,180,426], // LEFT CEILING
  1259. 0x2309: [1066,164,453,25,273], // RIGHT CEILING
  1260. 0x230A: [1066,164,453,180,428], // LEFT FLOOR
  1261. 0x230B: [1066,164,453,27,273], // RIGHT FLOOR
  1262. 0x239B: [700,305,450,50,400], // LEFT PARENTHESIS UPPER HOOK
  1263. 0x239C: [705,305,450,50,174], // LEFT PARENTHESIS EXTENSION
  1264. 0x239D: [705,300,450,50,400], // LEFT PARENTHESIS LOWER HOOK
  1265. 0x239E: [700,305,450,50,400], // RIGHT PARENTHESIS UPPER HOOK
  1266. 0x239F: [705,305,450,276,400], // RIGHT PARENTHESIS EXTENSION
  1267. 0x23A0: [705,300,450,50,400], // RIGHT PARENTHESIS LOWER HOOK
  1268. 0x23A1: [682,323,450,50,415], // LEFT SQUARE BRACKET UPPER CORNER
  1269. 0x23A2: [687,323,450,50,150], // LEFT SQUARE BRACKET EXTENSION
  1270. 0x23A3: [687,318,450,50,415], // LEFT SQUARE BRACKET LOWER CORNER
  1271. 0x23A4: [682,323,450,35,400], // RIGHT SQUARE BRACKET UPPER CORNER
  1272. 0x23A5: [687,323,450,300,400], // RIGHT SQUARE BRACKET EXTENSION
  1273. 0x23A6: [687,318,450,35,400], // RIGHT SQUARE BRACKET LOWER CORNER
  1274. 0x23A7: [700,305,640,260,600], // LEFT CURLY BRACKET UPPER HOOK
  1275. 0x23A8: [705,305,640,40,380], // LEFT CURLY BRACKET MIDDLE PIECE
  1276. 0x23A9: [705,300,640,260,600], // LEFT CURLY BRACKET LOWER HOOK
  1277. 0x23AA: [705,305,640,260,380], // CURLY BRACKET EXTENSION
  1278. 0x23AB: [700,305,640,40,380], // RIGHT CURLY BRACKET UPPER HOOK
  1279. 0x23AC: [705,305,640,260,600], // RIGHT CURLY BRACKET MIDDLE PIECE
  1280. 0x23AD: [705,300,640,40,380], // RIGHT CURLY BRACKET LOWER HOOK
  1281. 0x23AE: [610,25,688,294,394], // INTEGRAL EXTENSION
  1282. 0x23B0: [700,301,600,35,566], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION
  1283. 0x23B1: [700,301,600,35,566], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION
  1284. 0x23B7: [1510,345,1184,112,895], // RADICAL SYMBOL BOTTOM
  1285. 0x23B8: [1566,289,721,0,66], // LEFT VERTICAL BOX LINE
  1286. 0x23B9: [1566,289,721,655,721], // RIGHT VERTICAL BOX LINE
  1287. 0x23DE: [136,89,926,0,925], // TOP CURLY BRACKET (mathematical use)
  1288. 0x23DF: [789,-564,926,0,925], // BOTTOM CURLY BRACKET (mathematical use)
  1289. 0x27E8: [1066,164,578,116,462], // MATHEMATICAL LEFT ANGLE BRACKET
  1290. 0x27E9: [1066,164,578,116,462], // MATHEMATICAL RIGHT ANGLE BRACKET
  1291. 0x2A00: [1500,-49,1555,52,1503], // N-ARY CIRCLED DOT OPERATOR
  1292. 0x2A01: [1500,-49,1555,52,1503], // N-ARY CIRCLED PLUS OPERATOR
  1293. 0x2A02: [1500,-49,1555,52,1503], // N-ARY CIRCLED TIMES OPERATOR
  1294. 0x2A04: [1500,-39,1265,118,1147], // N-ARY UNION OPERATOR WITH PLUS
  1295. 0x2A05: [1500,-49,1153,82,1071], // N-ARY SQUARE INTERSECTION OPERATOR
  1296. 0x2A06: [1500,-49,1153,82,1071] // N-ARY SQUARE UNION OPERATOR
  1297. };
  1298. HTMLCSS.FONTDATA.FONTS['STIXSizeTwoSym'] = {
  1299. directory: 'SizeTwoSym/Regular',
  1300. family: 'STIXSizeTwoSym',
  1301. Ranges: [
  1302. [0x2B0,0x2FF,"All"],
  1303. [0x300,0x338,"All"],
  1304. [0x203E,0x203E,"All"],
  1305. [0x20D0,0x20EF,"All"],
  1306. [0x221A,0x221C,"All"],
  1307. [0x239B,0x23B9,"All"],
  1308. [0x23DC,0x23E1,"All"],
  1309. [0x2772,0x2773,"All"],
  1310. [0x27E6,0x27EB,"All"],
  1311. [0x2983,0x2986,"All"],
  1312. [0x2AFC,0x2AFF,"All"]
  1313. ],
  1314. 0x20: [0,0,250,0,0], // SPACE
  1315. 0x28: [1566,279,589,139,503], // LEFT PARENTHESIS
  1316. 0x29: [1566,279,608,114,478], // RIGHT PARENTHESIS
  1317. 0x2F: [1566,279,806,25,781], // SOLIDUS
  1318. 0x5B: [1566,279,459,190,422], // LEFT SQUARE BRACKET
  1319. 0x5C: [1566,279,806,25,781], // REVERSE SOLIDUS
  1320. 0x5D: [1566,279,459,37,269], // RIGHT SQUARE BRACKET
  1321. 0x5F: [-127,177,1500,0,1500], // LOW LINE
  1322. 0x7B: [1566,279,717,124,531], // LEFT CURLY BRACKET
  1323. 0x7D: [1566,279,717,186,593], // RIGHT CURLY BRACKET
  1324. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  1325. 0x302: [777,-564,0,-1150,-171], // COMBINING CIRCUMFLEX ACCENT
  1326. 0x303: [760,-608,0,-1152,-173], // COMBINING TILDE
  1327. 0x221A: [2056,404,1124,110,1157], // SQUARE ROOT
  1328. 0x2308: [1566,279,524,190,479], // LEFT CEILING
  1329. 0x2309: [1566,279,526,47,336], // RIGHT CEILING
  1330. 0x230A: [1566,279,524,190,479], // LEFT FLOOR
  1331. 0x230B: [1566,279,526,47,336], // RIGHT FLOOR
  1332. 0x23DE: [143,81,1460,0,1460], // TOP CURLY BRACKET (mathematical use)
  1333. 0x23DF: [797,-573,1460,0,1460], // BOTTOM CURLY BRACKET (mathematical use)
  1334. 0x27E8: [1566,279,622,95,531], // MATHEMATICAL LEFT ANGLE BRACKET
  1335. 0x27E9: [1566,279,622,91,527] // MATHEMATICAL RIGHT ANGLE BRACKET
  1336. };
  1337. HTMLCSS.FONTDATA.FONTS['STIXSizeThreeSym'] = {
  1338. directory: 'SizeThreeSym/Regular',
  1339. family: 'STIXSizeThreeSym',
  1340. Ranges: [
  1341. [0x2B0,0x2FF,"All"],
  1342. [0x300,0x338,"All"],
  1343. [0x203E,0x203E,"All"],
  1344. [0x20D0,0x20EF,"All"],
  1345. [0x221A,0x221C,"All"],
  1346. [0x239B,0x23B9,"All"],
  1347. [0x23DC,0x23E1,"All"],
  1348. [0x2772,0x2773,"All"],
  1349. [0x27E6,0x27EB,"All"],
  1350. [0x2983,0x2986,"All"]
  1351. ],
  1352. 0x20: [0,0,250,0,0], // SPACE
  1353. 0x28: [2066,394,750,182,667], // LEFT PARENTHESIS
  1354. 0x29: [2066,394,750,83,568], // RIGHT PARENTHESIS
  1355. 0x2F: [2066,394,1101,30,1071], // SOLIDUS
  1356. 0x5B: [2066,394,508,225,491], // LEFT SQUARE BRACKET
  1357. 0x5C: [2066,394,1101,30,1071], // REVERSE SOLIDUS
  1358. 0x5D: [2066,394,508,17,283], // RIGHT SQUARE BRACKET
  1359. 0x5F: [-127,177,2000,0,2000], // LOW LINE
  1360. 0x7B: [2066,394,906,143,717], // LEFT CURLY BRACKET
  1361. 0x7D: [2066,394,906,189,763], // RIGHT CURLY BRACKET
  1362. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  1363. 0x302: [777,-564,0,-1610,-150], // COMBINING CIRCUMFLEX ACCENT
  1364. 0x303: [774,-608,0,-1612,-152], // COMBINING TILDE
  1365. 0x221A: [2565,510,1076,112,1110], // SQUARE ROOT
  1366. 0x2308: [2066,394,565,225,550], // LEFT CEILING
  1367. 0x2309: [2066,394,565,15,340], // RIGHT CEILING
  1368. 0x230A: [2066,394,565,225,550], // LEFT FLOOR
  1369. 0x230B: [2066,394,565,15,340], // RIGHT FLOOR
  1370. 0x23DE: [157,86,1886,0,1886], // TOP CURLY BRACKET (mathematical use)
  1371. 0x23DF: [815,-572,1886,0,1886], // BOTTOM CURLY BRACKET (mathematical use)
  1372. 0x27E8: [2066,394,765,96,670], // MATHEMATICAL LEFT ANGLE BRACKET
  1373. 0x27E9: [2066,394,765,95,669] // MATHEMATICAL RIGHT ANGLE BRACKET
  1374. };
  1375. HTMLCSS.FONTDATA.FONTS['STIXSizeFourSym'] = {
  1376. directory: 'SizeFourSym/Regular',
  1377. family: 'STIXSizeFourSym',
  1378. Ranges: [
  1379. [0x2B0,0x2FF,"All"],
  1380. [0x300,0x338,"All"],
  1381. [0x203E,0x203E,"All"],
  1382. [0x20D0,0x20EF,"All"],
  1383. [0x221A,0x221C,"All"],
  1384. [0x239B,0x23B9,"All"],
  1385. [0x23DC,0x23E1,"All"],
  1386. [0x2772,0x2773,"All"],
  1387. [0x27E6,0x27EB,"All"],
  1388. [0x2983,0x2986,"All"]
  1389. ],
  1390. 0x20: [0,0,250,0,0], // SPACE
  1391. 0x28: [2566,509,808,124,732], // LEFT PARENTHESIS
  1392. 0x29: [2566,509,808,76,684], // RIGHT PARENTHESIS
  1393. 0x2F: [2566,509,1309,16,1293], // SOLIDUS
  1394. 0x5B: [2566,509,661,295,634], // LEFT SQUARE BRACKET
  1395. 0x5C: [2566,509,1309,16,1293], // REVERSE SOLIDUS
  1396. 0x5D: [2566,509,661,27,366], // RIGHT SQUARE BRACKET
  1397. 0x5F: [-127,177,2500,0,2500], // LOW LINE
  1398. 0x7B: [2566,509,1076,173,882], // LEFT CURLY BRACKET
  1399. 0x7D: [2566,509,1076,194,903], // RIGHT CURLY BRACKET
  1400. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  1401. 0x302: [796,-573,0,-2040,-154], // COMBINING CIRCUMFLEX ACCENT
  1402. 0x303: [771,-608,0,-2040,-154], // COMBINING TILDE
  1403. 0x221A: [1510,345,1184,112,895], // SQUARE ROOT
  1404. 0x2308: [2566,509,682,295,655], // LEFT CEILING
  1405. 0x2309: [2566,509,682,27,387], // RIGHT CEILING
  1406. 0x230A: [2566,509,682,295,655], // LEFT FLOOR
  1407. 0x230B: [2566,509,682,27,387], // RIGHT FLOOR
  1408. 0x23DE: [175,90,2328,0,2328], // TOP CURLY BRACKET (mathematical use)
  1409. 0x23DF: [837,-572,2328,0,2328], // BOTTOM CURLY BRACKET (mathematical use)
  1410. 0x27E8: [2566,509,908,113,796], // MATHEMATICAL LEFT ANGLE BRACKET
  1411. 0x27E9: [2566,509,908,112,795] // MATHEMATICAL RIGHT ANGLE BRACKET
  1412. };
  1413. HTMLCSS.FONTDATA.FONTS['STIXSizeFiveSym'] = {
  1414. directory: 'SizeFiveSym/Regular',
  1415. family: 'STIXSizeFiveSym',
  1416. Ranges: [
  1417. [0x2B0,0x2FF,"All"],
  1418. [0x300,0x338,"All"],
  1419. [0x203E,0x203E,"All"],
  1420. [0x20D0,0x20EF,"All"],
  1421. [0x239B,0x23B9,"All"],
  1422. [0x23DC,0x23E1,"All"]
  1423. ],
  1424. 0x20: [0,0,250,0,0], // SPACE
  1425. 0x5F: [-127,177,3000,0,3000], // LOW LINE
  1426. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  1427. 0x302: [816,-572,0,-2485,-157], // COMBINING CIRCUMFLEX ACCENT
  1428. 0x303: [780,-617,0,-2485,-157], // COMBINING TILDE
  1429. 0x23DE: [181,90,3238,0,3238], // TOP CURLY BRACKET (mathematical use)
  1430. 0x23DF: [844,-573,3238,0,3238] // BOTTOM CURLY BRACKET (mathematical use)
  1431. };
  1432. HTMLCSS.FONTDATA.FONTS['STIXVariants'] = {
  1433. directory: 'Variants/Regular',
  1434. family: 'STIXVariants',
  1435. Ranges: [
  1436. [0x20,0x20,"All"],
  1437. [0x77,0x7C,"All"],
  1438. [0xA0,0xA0,"All"],
  1439. [0x19B,0x19B,"All"],
  1440. [0x264,0x264,"All"],
  1441. [0x2032,0x2057,"All"],
  1442. [0x2140,0x2140,"All"],
  1443. [0x2190,0x2193,"All"],
  1444. [0x21D1,0x21E2,"All"],
  1445. [0x2205,0x22ED,"All"],
  1446. [0x2322,0x2323,"All"],
  1447. [0x2423,0x2423,"All"],
  1448. [0x25A9,0x25A9,"All"],
  1449. [0x2A3C,0x2AEE,"All"]
  1450. ],
  1451. 0x2032: [565,-28,340,44,295], // PRIME
  1452. 0x210F: [683,10,579,47,547], // stix-/hbar - Planck's over 2pi
  1453. 0x2205: [729,74,523,28,502], // EMPTY SET
  1454. 0x2216: [710,222,523,46,478], // SET MINUS
  1455. 0x221A: [943,11,737,67,767] // SQUARE ROOT
  1456. };
  1457. HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x22EE][0] += 400; // adjust height for \vdots
  1458. HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x22F1][0] += 500; // adjust height for \ddots
  1459. HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x2212][1] += 100; // adjust depth for minus (arrow extender)
  1460. HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x003D][1] += 100; // adjust depth for = (double arrow extender)
  1461. HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14A][0] += 200; // adjust height for brace extender
  1462. HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14A][1] += 200; // adjust depth for brace extender
  1463. HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14B][0] += 200; // adjust height for brace extender
  1464. HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14B][1] += 200; // adjust depth for brace extender
  1465. MathJax.Hub.Register.LoadHook(HTMLCSS.fontDir+"/Variants/Regular/All.js",function () {
  1466. // monospace mathvariant uses space from STIXVariants, so make it the right size
  1467. HTMLCSS.FONTDATA.FONTS['STIXVariants'][0x20][2] += 275; // fix error in character width
  1468. HTMLCSS.FONTDATA.FONTS['STIXVariants'][0x20][5] = {rfix:275}; // fix error in character width
  1469. });
  1470. MathJax.Hub.Browser.Select({
  1471. MSIE: function (browser) {
  1472. if (!browser.versionAtLeast("8.0") || document.documentMode < 8) {
  1473. var FONTDATA = HTMLCSS.FONTDATA;
  1474. // MSIE Can't access the Spacing Modifier positions
  1475. FONTDATA.REMAP[0x2C9] = 0xAF; // macron
  1476. FONTDATA.REMAP[0x2CA] = 0xB4; // acute
  1477. FONTDATA.REMAP[0x2CB] = 0x60; // grave
  1478. FONTDATA.REMAP[0x2DA] = 0xB0; // ring above
  1479. // MSIE can't access Greek block
  1480. FONTDATA.RANGES[5] = FONTDATA.RANGES[4]; FONTDATA.RANGES[4] = FONTDATA.RANGES[3]
  1481. FONTDATA.RANGES[3] = {name: "greek", low: 0x03B1, high: 0x03F6, offset: "GG",
  1482. remap: {0x03F5: 26, 0x03D1: 27, 0x03F0: 28, 0x03D5: 29, 0x03F1: 30, 0x03D6: 31}};
  1483. FONTDATA.VARIANT["bold"].offsetGG = 0x1D6C2; FONTDATA.VARIANT["bold"].offsetG = 0x1D6A8;
  1484. FONTDATA.VARIANT["italic"].offsetGG = 0x1D6FC; FONTDATA.VARIANT["italic"].offsetG = 0x1D6E2;
  1485. FONTDATA.VARIANT["bold-italic"].offsetGG = 0x1D736; FONTDATA.VARIANT["bold-italic"].offsetG = 0x1D71C;
  1486. }
  1487. },
  1488. Safari: function (browser) {
  1489. browser.STIXfontBug = browser.versionAtLeast("5.1") && browser.isMac;
  1490. },
  1491. Chrome: function (browser) {
  1492. if (browser.isMac) {
  1493. var match = navigator.appVersion.match(/AppleWebKit\/(\d+)/);
  1494. if (match && parseInt(match[1]) > 534) {browser.STIXfontBug = true}
  1495. }
  1496. }
  1497. });
  1498. //
  1499. // Fix WebKit problem with STIX fonts in OS X Lion
  1500. //
  1501. if (MathJax.Hub.Browser.STIXfontBug) {
  1502. HTMLCSS.FONTDATA.FONTS["STIXGeneral"].family = "STIXGeneral-Regular";
  1503. HTMLCSS.FONTDATA.FONTS["STIXGeneral-italic"].family = "STIXGeneral-Italic";
  1504. delete HTMLCSS.FONTDATA.FONTS["STIXGeneral-italic"].style;
  1505. HTMLCSS.FONTDATA.FONTS["STIXNonUnicode"].family = "STIXNonUnicode-Regular";
  1506. HTMLCSS.FONTDATA.FONTS["STIXNonUnicode-italic"].family = "STIXNonUnicode-Italic";
  1507. delete HTMLCSS.FONTDATA.FONTS["STIXNonUnicode-italic"].style;
  1508. }
  1509. //
  1510. // Check for STIX font version
  1511. //
  1512. var QUEUE = [];
  1513. //
  1514. // Test for v1.1 rather than v1.0 (double-struck alphabet was moved from
  1515. // user-defined area in STIXNonUnicode to STIXGeneral math alphabet)
  1516. //
  1517. var DIV = HTMLCSS.Font.div;
  1518. HTML.addElement(DIV,"span",
  1519. {style:{display:"inline-block","font-family":"STIXNonUnicode","font-weight":"bold"}},
  1520. ["\uE38C\uE38C\uE38C\uE38C\uE38C"]
  1521. );
  1522. HTML.addElement(DIV,"span",
  1523. {style:{display:"inline-block","font-family":"STIXNonUnicode","font-weight":"bold"}},
  1524. ["\uE39A\uE39A\uE39A\uE39A\uE39A"]
  1525. );
  1526. if (DIV.lastChild.previousSibling.offsetWidth < DIV.lastChild.offsetWidth)
  1527. {QUEUE.push(["Require",MathJax.Ajax,HTMLCSS.fontDir+"/fontdata-1.0.js"])}
  1528. DIV.removeChild(DIV.lastChild); DIV.removeChild(DIV.lastChild);
  1529. //
  1530. // Text for 1.0-beta version (U+02C56 was added in 1.0)
  1531. //
  1532. if (!HTMLCSS.Font.testFont({family:"STIXSizeOneSym",testString:"\u02C6"}))
  1533. {QUEUE.push(["Require",MathJax.Ajax,HTMLCSS.fontDir + "/fontdata-beta.js"])}
  1534. //
  1535. // Load any patch files and then call loadComplete()
  1536. //
  1537. QUEUE.push(["loadComplete",MathJax.Ajax,HTMLCSS.fontDir + "/fontdata.js"]);
  1538. MathJax.Callback.Queue.apply(MathJax.Callback,QUEUE);
  1539. })(MathJax.OutputJax["HTML-CSS"],MathJax.ElementJax.mml,MathJax.HTML);