| 1 |
/************************************************************* |
| 2 |
* |
| 3 |
* MathJax/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata-extra.js |
| 4 |
* |
| 5 |
* Adds extra stretchy characters to the Neo-Euler fonts |
| 6 |
|
| 7 |
* Copyright (c) 2013-2020 The MathJax Consortium |
| 8 |
* |
| 9 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 |
* you may not use this file except in compliance with the License. |
| 11 |
* You may obtain a copy of the License at |
| 12 |
* |
| 13 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 14 |
* |
| 15 |
* Unless required by applicable law or agreed to in writing, software |
| 16 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 17 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 |
* See the License for the specific language governing permissions and |
| 19 |
* limitations under the License. |
| 20 |
*/ |
| 21 |
|
| 22 |
(function (HTMLCSS) { |
| 23 |
var VERSION = "2.7.9"; |
| 24 |
|
| 25 |
var DELIMITERS = HTMLCSS.FONTDATA.DELIMITERS; |
| 26 |
|
| 27 |
var H = "H", V = "V"; |
| 28 |
|
| 29 |
var ALPHABETS = "NeoEulerMathJax_Alphabets", |
| 30 |
ARROWS = "NeoEulerMathJax_Arrows", |
| 31 |
FRAKTUR = "NeoEulerMathJax_Fraktur", |
| 32 |
MAIN = "NeoEulerMathJax_Main", |
| 33 |
MARKS = "NeoEulerMathJax_Marks", |
| 34 |
NONUNICODE = "NeoEulerMathJax_NonUnicode", |
| 35 |
NORMAL = "NeoEulerMathJax_Normal", |
| 36 |
OPERATORS = "NeoEulerMathJax_Operators", |
| 37 |
SCRIPT = "NeoEulerMathJax_Script", |
| 38 |
SHAPES = "NeoEulerMathJax_Shapes", |
| 39 |
SIZE1 = "NeoEulerMathJax_Size1", |
| 40 |
SIZE2 = "NeoEulerMathJax_Size2", |
| 41 |
SIZE3 = "NeoEulerMathJax_Size3", |
| 42 |
SIZE4 = "NeoEulerMathJax_Size4", |
| 43 |
SIZE5 = "NeoEulerMathJax_Size5", |
| 44 |
SYMBOLS = "NeoEulerMathJax_Symbols", |
| 45 |
VARIANTS = "NeoEulerMathJax_Variants", |
| 46 |
DOUBLESTRUCK = "NeoEulerMathJax_Normal", |
| 47 |
SANSSERIF = "NeoEulerMathJax_Normal", |
| 48 |
MONOSPACE = "NeoEulerMathJax_Normal"; |
| 49 |
|
| 50 |
var delim = { |
| 51 |
0x2044: |
| 52 |
{ |
| 53 |
dir: V, |
| 54 |
HW: [[0.912,MAIN], [1.199,SIZE1], [1.799,SIZE2], [2.399,SIZE3], [2.999,SIZE4]] |
| 55 |
}, |
| 56 |
0x20E1: |
| 57 |
{ |
| 58 |
dir: H, |
| 59 |
HW: [[0.449,MARKS]], |
| 60 |
stretch: {left:[0x20D6,MARKS], rep:[0xE004,SIZE5], right:[0x20D7,MAIN]} |
| 61 |
}, |
| 62 |
0x20EE: |
| 63 |
{ |
| 64 |
dir: H, |
| 65 |
HW: [[0.418,MARKS]], |
| 66 |
stretch: {left:[0x20EE,MARKS], rep:[0xE005,SIZE5]} |
| 67 |
}, |
| 68 |
0x20EF: |
| 69 |
{ |
| 70 |
dir: H, |
| 71 |
HW: [[0.418,MARKS]], |
| 72 |
stretch: {rep:[0xE005,SIZE5], right:[0x20EF,MARKS]} |
| 73 |
}, |
| 74 |
0x220F: |
| 75 |
{ |
| 76 |
dir: V, |
| 77 |
HW: [[1.000,OPERATORS], [1.400,SIZE1]] |
| 78 |
}, |
| 79 |
0x2210: |
| 80 |
{ |
| 81 |
dir: V, |
| 82 |
HW: [[1.000,OPERATORS], [1.400,SIZE1]] |
| 83 |
}, |
| 84 |
0x2211: |
| 85 |
{ |
| 86 |
dir: V, |
| 87 |
HW: [[1.000,OPERATORS], [1.400,SIZE1]] |
| 88 |
}, |
| 89 |
0x2227: |
| 90 |
{ |
| 91 |
dir: V, |
| 92 |
HW: [[0.718,MAIN], [0.998,SIZE1], [1.395,SIZE2]] |
| 93 |
}, |
| 94 |
0x2228: |
| 95 |
{ |
| 96 |
dir: V, |
| 97 |
HW: [[0.700,MAIN], [0.998,SIZE1], [1.395,SIZE2]] |
| 98 |
}, |
| 99 |
0x2229: |
| 100 |
{ |
| 101 |
dir: V, |
| 102 |
HW: [[0.600,MAIN], [0.965,SIZE1], [1.358,SIZE2]] |
| 103 |
}, |
| 104 |
0x222A: |
| 105 |
{ |
| 106 |
dir: V, |
| 107 |
HW: [[0.600,MAIN], [0.965,SIZE1], [1.358,SIZE2]] |
| 108 |
}, |
| 109 |
0x222B: |
| 110 |
{ |
| 111 |
dir: V, |
| 112 |
HW: [[1.111,MAIN], [2.222,SIZE1]] |
| 113 |
}, |
| 114 |
0x222C: |
| 115 |
{ |
| 116 |
dir: V, |
| 117 |
HW: [[1.111,OPERATORS], [2.222,SIZE1]] |
| 118 |
}, |
| 119 |
0x222D: |
| 120 |
{ |
| 121 |
dir: V, |
| 122 |
HW: [[1.111,OPERATORS], [2.222,SIZE1]] |
| 123 |
}, |
| 124 |
0x222E: |
| 125 |
{ |
| 126 |
dir: V, |
| 127 |
HW: [[1.111,OPERATORS], [2.222,SIZE1]] |
| 128 |
}, |
| 129 |
0x228E: |
| 130 |
{ |
| 131 |
dir: V, |
| 132 |
HW: [[0.600,MAIN], [0.965,SIZE1], [1.358,SIZE2]] |
| 133 |
}, |
| 134 |
0x22C0: |
| 135 |
{ |
| 136 |
dir: V, |
| 137 |
HW: [[0.718,OPERATORS], [0.998,SIZE1], [1.395,SIZE2]] |
| 138 |
}, |
| 139 |
0x22C1: |
| 140 |
{ |
| 141 |
dir: V, |
| 142 |
HW: [[0.700,OPERATORS], [0.998,SIZE1], [1.395,SIZE2]] |
| 143 |
}, |
| 144 |
0x22C2: |
| 145 |
{ |
| 146 |
dir: V, |
| 147 |
HW: [[0.600,OPERATORS], [0.965,SIZE1], [1.358,SIZE2]] |
| 148 |
}, |
| 149 |
0x22C3: |
| 150 |
{ |
| 151 |
dir: V, |
| 152 |
HW: [[0.600,OPERATORS], [0.965,SIZE1], [1.358,SIZE2]] |
| 153 |
}, |
| 154 |
0x23DC: |
| 155 |
{ |
| 156 |
dir: H, |
| 157 |
HW: [[0.925,MAIN], [1.199,SIZE1], [1.799,SIZE2], [2.399,SIZE3], [2.999,SIZE4]], |
| 158 |
stretch: {left:[0xE009,SIZE5], rep:[0xE00A,SIZE5], right:[0xE00B,SIZE5]} |
| 159 |
}, |
| 160 |
0x23DD: |
| 161 |
{ |
| 162 |
dir: H, |
| 163 |
HW: [[0.925,MAIN], [1.199,SIZE1], [1.799,SIZE2], [2.399,SIZE3], [2.999,SIZE4]], |
| 164 |
stretch: {left:[0xE00C,SIZE5], rep:[0xE00D,SIZE5], right:[0xE00E,SIZE5]} |
| 165 |
}, |
| 166 |
0x2A0C: |
| 167 |
{ |
| 168 |
dir: V, |
| 169 |
HW: [[1.111,OPERATORS], [2.222,SIZE1]] |
| 170 |
} |
| 171 |
}; |
| 172 |
|
| 173 |
for (var id in delim) {if (delim.hasOwnProperty(id)) {DELIMITERS[id] = delim[id]}}; |
| 174 |
|
| 175 |
MathJax.Ajax.loadComplete(HTMLCSS.fontDir + "/fontdata-extra.js"); |
| 176 |
|
| 177 |
})(MathJax.OutputJax["HTML-CSS"]); |