1
0

add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions

101
node_modules/mathjax-full/ts/output/common/fonts/tex.ts generated vendored Normal file
View File

@@ -0,0 +1,101 @@
/*************************************************************
*
* Copyright (c) 2017-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @fileoverview The MathJax TeXFont object
*
* @author dpvc@mathjax.org (Davide Cervone)
*/
import {FontDataClass, CharOptions, VariantData, DelimiterData, CssFontMap} from '../FontData.js';
/*****************************************************************/
/**
* The CommonTeXFont mixin for the CommonTeXFont object
*
* @template C The CharOptions class for this font
* @template V The VariantData class for this font
* @template B The FontData class to extend
*/
export function CommonTeXFontMixin<
C extends CharOptions,
V extends VariantData<C>,
D extends DelimiterData,
B extends FontDataClass<C, V, D>
>(Base: B): FontDataClass<C, V, D> & B {
return class extends Base {
/**
* @override
*/
public static NAME = 'TeX';
/**
* Add the extra variants for the TeX fonts
*/
protected static defaultVariants = [
...Base.defaultVariants,
['-smallop', 'normal'],
['-largeop', 'normal'],
['-size3', 'normal'],
['-size4', 'normal'],
['-tex-calligraphic', 'italic'],
['-tex-bold-calligraphic', 'bold-italic'],
['-tex-oldstyle', 'normal'],
['-tex-bold-oldstyle', 'bold'],
['-tex-mathit', 'italic'],
['-tex-variant', 'normal']
];
/**
* The data used for CSS for undefined characters for each variant
*/
protected static defaultCssFonts: CssFontMap = {
...Base.defaultCssFonts,
'-smallop': ['serif', false, false],
'-largeop': ['serif', false, false],
'-size3': ['serif', false, false],
'-size4': ['serif', false, false],
'-tex-calligraphic': ['cursive', true, false],
'-tex-bold-calligraphic': ['cursive', true, true],
'-tex-oldstyle': ['serif', false, false],
'-tex-bold-oldstyle': ['serif', false, true],
'-tex-mathit': ['serif', true, false]
};
/**
* The default variants for the standard stretchy sizes
*/
protected static defaultSizeVariants = ['normal', '-smallop', '-largeop', '-size3', '-size4', '-tex-variant'];
/**
* The default variants for the standard stretchy assmebly parts
*/
protected static defaultStretchVariants = ['-size4'];
/**
* @override
*/
protected getDelimiterData(n: number) {
return this.getChar('-smallop', n) || this.getChar('-size4', n);
}
};
}

View File

@@ -0,0 +1,27 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const boldItalic: CharMap<CharOptions> = {
0x2F: [.711, .21, .894],
0x131: [.452, .008, .394, {sk: .0319}],
0x237: [.451, .201, .439, {sk: .0958}],
0x2044: [.711, .21, .894],
0x2206: [.711, 0, .958, {sk: .192}],
0x29F8: [.711, .21, .894],
};

View File

@@ -0,0 +1,276 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const bold: CharMap<CharOptions> = {
0x21: [.705, 0, .35],
0x22: [.694, -0.329, .603],
0x23: [.694, .193, .958],
0x24: [.75, .056, .575],
0x25: [.75, .056, .958],
0x26: [.705, .011, .894],
0x27: [.694, -0.329, .319],
0x28: [.75, .249, .447],
0x29: [.75, .249, .447],
0x2A: [.75, -0.306, .575],
0x2B: [.633, .131, .894],
0x2C: [.171, .194, .319],
0x2D: [.278, -0.166, .383],
0x2E: [.171, 0, .319],
0x2F: [.75, .25, .575],
0x3A: [.444, 0, .319],
0x3B: [.444, .194, .319],
0x3C: [.587, .085, .894],
0x3D: [.393, -0.109, .894],
0x3E: [.587, .085, .894],
0x3F: [.7, 0, .543],
0x40: [.699, .006, .894],
0x5B: [.75, .25, .319],
0x5C: [.75, .25, .575],
0x5D: [.75, .25, .319],
0x5E: [.694, -0.52, .575],
0x5F: [-0.01, .061, .575],
0x60: [.706, -0.503, .575],
0x7B: [.75, .25, .575],
0x7C: [.75, .249, .319],
0x7D: [.75, .25, .575],
0x7E: [.344, -0.202, .575],
0xA8: [.695, -0.535, .575],
0xAC: [.371, -0.061, .767],
0xAF: [.607, -0.54, .575],
0xB0: [.702, -0.536, .575],
0xB1: [.728, .035, .894],
0xB4: [.706, -0.503, .575],
0xB7: [.336, -0.166, .319],
0xD7: [.53, .028, .894],
0xF7: [.597, .096, .894],
0x131: [.442, 0, .278, {sk: .0278}],
0x237: [.442, .205, .306, {sk: .0833}],
0x2B9: [.563, -0.033, .344],
0x2C6: [.694, -0.52, .575],
0x2C7: [.66, -0.515, .575],
0x2C9: [.607, -0.54, .575],
0x2CA: [.706, -0.503, .575],
0x2CB: [.706, -0.503, .575],
0x2D8: [.694, -0.5, .575],
0x2D9: [.695, -0.525, .575],
0x2DA: [.702, -0.536, .575],
0x2DC: [.694, -0.552, .575],
0x300: [.706, -0.503, 0],
0x301: [.706, -0.503, 0],
0x302: [.694, -0.52, 0],
0x303: [.694, -0.552, 0],
0x304: [.607, -0.54, 0],
0x306: [.694, -0.5, 0],
0x307: [.695, -0.525, 0],
0x308: [.695, -0.535, 0],
0x30A: [.702, -0.536, 0],
0x30B: [.714, -0.511, 0],
0x30C: [.66, -0.515, 0],
0x338: [.711, .21, 0],
0x2002: [0, 0, .5],
0x2003: [0, 0, .999],
0x2004: [0, 0, .333],
0x2005: [0, 0, .25],
0x2006: [0, 0, .167],
0x2009: [0, 0, .167],
0x200A: [0, 0, .083],
0x2013: [.3, -0.249, .575],
0x2014: [.3, -0.249, 1.15],
0x2015: [.3, -0.249, 1.15],
0x2016: [.75, .248, .575],
0x2017: [-0.01, .061, .575],
0x2018: [.694, -0.329, .319],
0x2019: [.694, -0.329, .319],
0x201C: [.694, -0.329, .603],
0x201D: [.694, -0.329, .603],
0x2020: [.702, .211, .511],
0x2021: [.702, .202, .511],
0x2022: [.474, -0.028, .575],
0x2026: [.171, 0, 1.295],
0x2032: [.563, -0.033, .344],
0x2033: [.563, 0, .688],
0x2034: [.563, 0, 1.032],
0x203E: [.607, -0.54, .575],
0x2044: [.75, .25, .575],
0x2057: [.563, 0, 1.376],
0x20D7: [.723, -0.513, .575],
0x210F: [.694, .008, .668, {sk: -0.0319}],
0x2113: [.702, .019, .474, {sk: .128}],
0x2118: [.461, .21, .74],
0x2135: [.694, 0, .703],
0x2190: [.518, .017, 1.15],
0x2191: [.694, .193, .575],
0x2192: [.518, .017, 1.15],
0x2193: [.694, .194, .575],
0x2194: [.518, .017, 1.15],
0x2195: [.767, .267, .575],
0x2196: [.724, .194, 1.15],
0x2197: [.724, .193, 1.15],
0x2198: [.694, .224, 1.15],
0x2199: [.694, .224, 1.15],
0x219A: [.711, .21, 1.15],
0x219B: [.711, .21, 1.15],
0x21A6: [.518, .017, 1.15],
0x21A9: [.518, .017, 1.282],
0x21AA: [.518, .017, 1.282],
0x21AE: [.711, .21, 1.15],
0x21BC: [.518, -0.22, 1.15],
0x21BD: [.281, .017, 1.15],
0x21C0: [.518, -0.22, 1.15],
0x21C1: [.281, .017, 1.15],
0x21CC: [.718, .017, 1.15],
0x21CD: [.711, .21, 1.15],
0x21CE: [.711, .21, 1.15],
0x21CF: [.711, .21, 1.15],
0x21D0: [.547, .046, 1.15],
0x21D1: [.694, .193, .703],
0x21D2: [.547, .046, 1.15],
0x21D3: [.694, .194, .703],
0x21D4: [.547, .046, 1.15],
0x21D5: [.767, .267, .703],
0x2200: [.694, .016, .639],
0x2203: [.694, 0, .639],
0x2204: [.711, .21, .639],
0x2205: [.767, .073, .575],
0x2206: [.698, 0, .958],
0x2208: [.587, .086, .767],
0x2209: [.711, .21, .767],
0x220B: [.587, .086, .767],
0x220C: [.711, .21, .767],
0x2212: [.281, -0.221, .894],
0x2213: [.537, .227, .894],
0x2215: [.75, .25, .575],
0x2216: [.75, .25, .575],
0x2217: [.472, -0.028, .575],
0x2218: [.474, -0.028, .575],
0x2219: [.474, -0.028, .575],
0x221A: [.82, .18, .958, {ic: .03}],
0x221D: [.451, .008, .894],
0x221E: [.452, .008, 1.15],
0x2220: [.714, 0, .722],
0x2223: [.75, .249, .319],
0x2224: [.75, .249, .319],
0x2225: [.75, .248, .575],
0x2226: [.75, .248, .575],
0x2227: [.604, .017, .767],
0x2228: [.604, .016, .767],
0x2229: [.603, .016, .767],
0x222A: [.604, .016, .767],
0x222B: [.711, .211, .569, {ic: .063}],
0x223C: [.391, -0.109, .894],
0x2240: [.583, .082, .319],
0x2241: [.711, .21, .894],
0x2243: [.502, 0, .894],
0x2244: [.711, .21, .894],
0x2245: [.638, .027, .894],
0x2247: [.711, .21, .894],
0x2248: [.524, -0.032, .894],
0x2249: [.711, .21, .894],
0x224D: [.533, .032, .894],
0x2250: [.721, -0.109, .894],
0x2260: [.711, .21, .894],
0x2261: [.505, 0, .894],
0x2262: [.711, .21, .894],
0x2264: [.697, .199, .894],
0x2265: [.697, .199, .894],
0x226A: [.617, .116, 1.15],
0x226B: [.618, .116, 1.15],
0x226D: [.711, .21, .894],
0x226E: [.711, .21, .894],
0x226F: [.711, .21, .894],
0x2270: [.711, .21, .894],
0x2271: [.711, .21, .894],
0x227A: [.585, .086, .894],
0x227B: [.586, .086, .894],
0x2280: [.711, .21, .894],
0x2281: [.711, .21, .894],
0x2282: [.587, .085, .894],
0x2283: [.587, .086, .894],
0x2284: [.711, .21, .894],
0x2285: [.711, .21, .894],
0x2286: [.697, .199, .894],
0x2287: [.697, .199, .894],
0x2288: [.711, .21, .894],
0x2289: [.711, .21, .894],
0x228E: [.604, .016, .767],
0x2291: [.697, .199, .894],
0x2292: [.697, .199, .894],
0x2293: [.604, 0, .767],
0x2294: [.604, 0, .767],
0x2295: [.632, .132, .894],
0x2296: [.632, .132, .894],
0x2297: [.632, .132, .894],
0x2298: [.632, .132, .894],
0x2299: [.632, .132, .894],
0x22A2: [.693, 0, .703],
0x22A3: [.693, 0, .703],
0x22A4: [.694, 0, .894],
0x22A5: [.693, 0, .894],
0x22A8: [.75, .249, .974],
0x22AC: [.711, .21, .703],
0x22AD: [.75, .249, .974],
0x22C4: [.523, .021, .575],
0x22C5: [.336, -0.166, .319],
0x22C6: [.502, 0, .575],
0x22C8: [.54, .039, 1],
0x22E2: [.711, .21, .894],
0x22E3: [.711, .21, .894],
0x22EE: [.951, .029, .319],
0x22EF: [.336, -0.166, 1.295],
0x22F1: [.871, -0.101, 1.323],
0x2308: [.75, .248, .511],
0x2309: [.75, .248, .511],
0x230A: [.749, .248, .511],
0x230B: [.749, .248, .511],
0x2322: [.405, -0.108, 1.15],
0x2323: [.392, -0.126, 1.15],
0x2329: [.75, .249, .447],
0x232A: [.75, .249, .447],
0x25B3: [.711, 0, 1.022],
0x25B5: [.711, 0, 1.022],
0x25B9: [.54, .039, .575],
0x25BD: [.5, .21, 1.022],
0x25BF: [.5, .21, 1.022],
0x25C3: [.539, .038, .575],
0x25EF: [.711, .211, 1.15],
0x2660: [.719, .129, .894],
0x2661: [.711, .024, .894],
0x2662: [.719, .154, .894],
0x2663: [.719, .129, .894],
0x266D: [.75, .017, .447],
0x266E: [.741, .223, .447],
0x266F: [.724, .224, .447],
0x2758: [.75, .249, .319],
0x27E8: [.75, .249, .447],
0x27E9: [.75, .249, .447],
0x27F5: [.518, .017, 1.805],
0x27F6: [.518, .017, 1.833],
0x27F7: [.518, .017, 2.126],
0x27F8: [.547, .046, 1.868],
0x27F9: [.547, .046, 1.87],
0x27FA: [.547, .046, 2.126],
0x27FC: [.518, .017, 1.833],
0x29F8: [.711, .21, .894],
0x2A2F: [.53, .028, .894],
0x2A3F: [.686, 0, .9],
0x2AAF: [.696, .199, .894],
0x2AB0: [.697, .199, .894],
0x3008: [.75, .249, .447],
0x3009: [.75, .249, .447],
};

View File

@@ -0,0 +1,172 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {DelimiterMap, DelimiterData, V, H} from '../../FontData.js';
export const HDW1 = [.75, .25, .875];
export const HDW2 = [.85, .349, .667];
export const HDW3 = [.583, .082, .5];
export const VSIZES = [1, 1.2, 1.8, 2.4, 3];
const DELIM2F = {c: 0x2F, dir: V, sizes: VSIZES};
const DELIMAF = {c: 0xAF, dir: H, sizes: [.5], stretch: [0, 0xAF], HDW: [.59, -0.544, .5]};
const DELIM2C6 = {c: 0x2C6, dir: H, sizes: [.5, .556, 1, 1.444, 1.889]};
const DELIM2DC = {c: 0x2DC, dir: H, sizes: [.5, .556, 1, 1.444, 1.889]};
const DELIM2013 = {c: 0x2013, dir: H, sizes: [.5], stretch: [0, 0x2013], HDW: [.285, -0.248, .5]};
const DELIM2190 = {c: 0x2190, dir: H, sizes: [1], stretch: [0x2190, 0x2212], HDW: HDW3};
const DELIM2192 = {c: 0x2192, dir: H, sizes: [1], stretch: [0, 0x2212, 0x2192], HDW: HDW3};
const DELIM2194 = {c: 0x2194, dir: H, sizes: [1], stretch: [0x2190, 0x2212, 0x2192], HDW: HDW3};
const DELIM21A4 = {c: 0x21A4, dir: H, stretch: [0x2190, 0x2212, 0x2223], HDW: HDW3, min: 1.278};
const DELIM21A6 = {c: 0x21A6, dir: H, sizes: [1], stretch: [0x2223, 0x2212, 0x2192], HDW: HDW3};
const DELIM21D0 = {c: 0x21D0, dir: H, sizes: [1], stretch: [0x21D0, 0x3D], HDW: HDW3};
const DELIM21D2 = {c: 0x21D2, dir: H, sizes: [1], stretch: [0, 0x3D, 0x21D2], HDW: HDW3};
const DELIM21D4 = {c: 0x21D4, dir: H, sizes: [1], stretch: [0x21D0, 0x3D, 0x21D2], HDW: HDW3};
const DELIM2212 = {c: 0x2212, dir: H, sizes: [.778], stretch: [0, 0x2212], HDW: HDW3};
const DELIM2223 = {c: 0x2223, dir: V, sizes: [1], stretch: [0, 0x2223], HDW: [.627, .015, .333]};
const DELIM23DC = {c: 0x23DC, dir: H, sizes: [.778, 1], schar: [0x2322, 0x2322], variants: [5, 0],
stretch: [0xE150, 0xE154, 0xE151], HDW: [.32, .2, .5]};
const DELIM23DD = {c: 0x23DD, dir: H, sizes: [.778, 1], schar: [0x2323, 0x2323], variants: [5, 0],
stretch: [0xE152, 0xE154, 0xE153], HDW: [.32, .2, .5]};
const DELIM23DE = {c: 0x23DE, dir: H, stretch: [0xE150, 0xE154, 0xE151, 0xE155], HDW: [.32, .2, .5], min: 1.8};
const DELIM23DF = {c: 0x23DF, dir: H, stretch: [0xE152, 0xE154, 0xE153, 0xE156], HDW: [.32, .2, .5], min: 1.8};
const DELIM27E8 = {c: 0x27E8, dir: V, sizes: VSIZES};
const DELIM27E9 = {c: 0x27E9, dir: V, sizes: VSIZES};
const DELIM2906 = {c: 0x2906, dir: H, stretch: [0x21D0, 0x3D, 0x2223], HDW: HDW3, min: 1.278};
const DELIM2907 = {c: 0x2907, dir: H, stretch: [0x22A8, 0x3D, 0x21D2], HDW: HDW3, min: 1.278};
export const delimiters: DelimiterMap<DelimiterData> = {
0x28: {dir: V, sizes: VSIZES, stretch: [0x239B, 0x239C, 0x239D], HDW: [.85, .349, .875]},
0x29: {dir: V, sizes: VSIZES, stretch: [0x239E, 0x239F, 0x23A0], HDW: [.85, .349, .875]},
0x2D: DELIM2212,
0x2F: DELIM2F,
0x3D: {dir: H, sizes: [.778], stretch: [0, 0x3D], HDW: HDW3},
0x5B: {dir: V, sizes: VSIZES, stretch: [0x23A1, 0x23A2, 0x23A3], HDW: HDW2},
0x5C: {dir: V, sizes: VSIZES},
0x5D: {dir: V, sizes: VSIZES, stretch: [0x23A4, 0x23A5, 0x23A6], HDW: HDW2},
0x5E: DELIM2C6,
0x5F: DELIM2013,
0x7B: {dir: V, sizes: VSIZES, stretch: [0x23A7, 0x23AA, 0x23A9, 0x23A8], HDW: [.85, .349, .889]},
0x7C: {dir: V, sizes: [1], stretch: [0, 0x2223], HDW: [.75, .25, .333]},
0x7D: {dir: V, sizes: VSIZES, stretch: [0x23AB, 0x23AA, 0x23AD, 0x23AC], HDW: [.85, .349, .889]},
0x7E: DELIM2DC,
0xAF: DELIMAF,
0x2C6: DELIM2C6,
0x2C9: DELIMAF,
0x2DC: DELIM2DC,
0x302: DELIM2C6,
0x303: DELIM2DC,
0x332: DELIM2013,
0x2013: DELIM2013,
0x2014: DELIM2013,
0x2015: DELIM2013,
0x2016: {dir: V, sizes: [.602, 1], schar: [0, 0x2225], variants: [1, 0], stretch: [0, 0x2225], HDW: [.602, 0, .556]},
0x2017: DELIM2013,
0x203E: DELIMAF,
0x20D7: DELIM2192,
0x2190: DELIM2190,
0x2191: {dir: V, sizes: [.888], stretch: [0x2191, 0x23D0], HDW: [.6, 0, .667]},
0x2192: DELIM2192,
0x2193: {dir: V, sizes: [.888], stretch: [0, 0x23D0, 0x2193], HDW: [.6, 0, .667]},
0x2194: DELIM2194,
0x2195: {dir: V, sizes: [1.044], stretch: [0x2191, 0x23D0, 0x2193], HDW: HDW1},
0x219E: {dir: H, sizes: [1], stretch: [0x219E, 0x2212], HDW: HDW3},
0x21A0: {dir: H, sizes: [1], stretch: [0, 0x2212, 0x21A0], HDW: HDW3},
0x21A4: DELIM21A4,
0x21A5: {dir: V, stretch: [0x2191, 0x23D0, 0x22A5], HDW: HDW1, min: 1.555},
0x21A6: DELIM21A6,
0x21A7: {dir: V, stretch: [0x22A4, 0x23D0, 0x2193], HDW: HDW1, min: 1.555},
0x21B0: {dir: V, sizes: [.722], stretch: [0x21B0, 0x23D0], HDW: HDW1},
0x21B1: {dir: V, sizes: [.722], stretch: [0x21B1, 0x23D0], HDW: HDW1},
0x21BC: {dir: H, sizes: [1], stretch: [0x21BC, 0x2212], HDW: HDW3},
0x21BD: {dir: H, sizes: [1], stretch: [0x21BD, 0x2212], HDW: HDW3},
0x21BE: {dir: V, sizes: [.888], stretch: [0x21BE, 0x23D0], HDW: HDW1},
0x21BF: {dir: V, sizes: [.888], stretch: [0x21BF, 0x23D0], HDW: HDW1},
0x21C0: {dir: H, sizes: [1], stretch: [0, 0x2212, 0x21C0], HDW: HDW3},
0x21C1: {dir: H, sizes: [1], stretch: [0, 0x2212, 0x21C1], HDW: HDW3},
0x21C2: {dir: V, sizes: [.888], stretch: [0, 0x23D0, 0x21C2], HDW: HDW1},
0x21C3: {dir: V, sizes: [.888], stretch: [0, 0x23D0, 0x21C3], HDW: HDW1},
0x21D0: DELIM21D0,
0x21D1: {dir: V, sizes: [.888], stretch: [0x21D1, 0x2016], HDW: [.599, 0, .778]},
0x21D2: DELIM21D2,
0x21D3: {dir: V, sizes: [.888], stretch: [0, 0x2016, 0x21D3], HDW: [.6, 0, .778]},
0x21D4: DELIM21D4,
0x21D5: {dir: V, sizes: [1.044], stretch: [0x21D1, 0x2016, 0x21D3], HDW: [.75, .25, .778]},
0x21DA: {dir: H, sizes: [1], stretch: [0x21DA, 0x2261], HDW: [.464, -0.036, .5]},
0x21DB: {dir: H, sizes: [1], stretch: [0, 0x2261, 0x21DB], HDW: [.464, -0.036, .5]},
0x2212: DELIM2212,
0x2215: DELIM2F,
0x221A: {dir: V, sizes: VSIZES, stretch: [0xE001, 0xE000, 0x23B7], fullExt: [.65, 2.3], HDW: [.85, .35, 1.056]},
0x2223: DELIM2223,
0x2225: {dir: V, sizes: [1], stretch: [0, 0x2225], HDW: [.627, .015, .556]},
0x2308: {dir: V, sizes: VSIZES, stretch: [0x23A1, 0x23A2], HDW: HDW2},
0x2309: {dir: V, sizes: VSIZES, stretch: [0x23A4, 0x23A5], HDW: HDW2},
0x230A: {dir: V, sizes: VSIZES, stretch: [0, 0x23A2, 0x23A3], HDW: HDW2},
0x230B: {dir: V, sizes: VSIZES, stretch: [0, 0x23A5, 0x23A6], HDW: HDW2},
0x2312: DELIM23DC,
0x2322: DELIM23DC,
0x2323: DELIM23DD,
0x2329: DELIM27E8,
0x232A: DELIM27E9,
0x23AA: {dir: V, sizes: [.32], stretch: [0x23AA, 0x23AA, 0x23AA], HDW: [.29, .015, .889]},
0x23AF: DELIM2013,
0x23B0: {dir: V, sizes: [.989], stretch: [0x23A7, 0x23AA, 0x23AD], HDW: [.75, .25, .889]},
0x23B1: {dir: V, sizes: [.989], stretch: [0x23AB, 0x23AA, 0x23A9], HDW: [.75, .25, .889]},
0x23B4: {dir: H, stretch: [0x250C, 0x2212, 0x2510], HDW: HDW3, min: 1},
0x23B5: {dir: H, stretch: [0x2514, 0x2212, 0x2518], HDW: HDW3, min: 1},
0x23D0: {dir: V, sizes: [.602, 1], schar: [0, 0x2223], variants: [1, 0], stretch: [0, 0x2223], HDW: [.602, 0, .333]},
0x23DC: DELIM23DC,
0x23DD: DELIM23DD,
0x23DE: DELIM23DE,
0x23DF: DELIM23DF,
0x23E0: {dir: H, stretch: [0x2CA, 0x2C9, 0x2CB], HDW: [.59, -0.544, .5], min: 1},
0x23E1: {dir: H, stretch: [0x2CB, 0x2C9, 0x2CA], HDW: [.59, -0.544, .5], min: 1},
0x2500: DELIM2013,
0x2758: DELIM2223,
0x27E8: DELIM27E8,
0x27E9: DELIM27E9,
0x27EE: {dir: V, sizes: [.989], stretch: [0x23A7, 0x23AA, 0x23A9], HDW: [.75, .25, .889]},
0x27EF: {dir: V, sizes: [.989], stretch: [0x23AB, 0x23AA, 0x23AD], HDW: [.75, .25, .889]},
0x27F5: DELIM2190,
0x27F6: DELIM2192,
0x27F7: DELIM2194,
0x27F8: DELIM21D0,
0x27F9: DELIM21D2,
0x27FA: DELIM21D4,
0x27FB: DELIM21A4,
0x27FC: DELIM21A6,
0x27FD: DELIM2906,
0x27FE: DELIM2907,
0x2906: DELIM2906,
0x2907: DELIM2907,
0x294E: {dir: H, stretch: [0x21BC, 0x2212, 0x21C0], HDW: HDW3, min: 2},
0x294F: {dir: V, stretch: [0x21BE, 0x23D0, 0x21C2], HDW: HDW1, min: 1.776},
0x2950: {dir: H, stretch: [0x21BD, 0x2212, 0x21C1], HDW: HDW3, min: 2},
0x2951: {dir: V, stretch: [0x21BF, 0x23D0, 0x21C3], HDW: HDW1, min: .5},
0x295A: {dir: H, stretch: [0x21BC, 0x2212, 0x2223], HDW: HDW3, min: 1.278},
0x295B: {dir: H, stretch: [0x2223, 0x2212, 0x21C0], HDW: HDW3, min: 1.278},
0x295C: {dir: V, stretch: [0x21BE, 0x23D0, 0x22A5], HDW: HDW1, min: 1.556},
0x295D: {dir: V, stretch: [0x22A4, 0x23D0, 0x21C2], HDW: HDW1, min: 1.556},
0x295E: {dir: H, stretch: [0x21BD, 0x2212, 0x2223], HDW: HDW3, min: 1.278},
0x295F: {dir: H, stretch: [0x2223, 0x2212, 0x21C1], HDW: HDW3, min: 1.278},
0x2960: {dir: V, stretch: [0x21BF, 0x23D0, 0x22A5], HDW: HDW1, min: 1.776},
0x2961: {dir: V, stretch: [0x22A4, 0x23D0, 0x21C3], HDW: HDW1, min: 1.776},
0x3008: DELIM27E8,
0x3009: DELIM27E9,
0xFE37: DELIM23DE,
0xFE38: DELIM23DF,
};

View File

@@ -0,0 +1,21 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const doubleStruck: CharMap<CharOptions> = {
};

View File

@@ -0,0 +1,60 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const frakturBold: CharMap<CharOptions> = {
0x21: [.689, .012, .349],
0x22: [.695, -0.432, .254],
0x26: [.696, .016, .871],
0x27: [.695, -0.436, .25],
0x28: [.737, .186, .459],
0x29: [.735, .187, .459],
0x2A: [.692, -0.449, .328],
0x2B: [.598, .082, .893],
0x2C: [.107, .191, .328],
0x2D: [.275, -0.236, .893],
0x2E: [.102, .015, .328],
0x2F: [.721, .182, .593],
0x30: [.501, .012, .593],
0x31: [.489, 0, .593],
0x32: [.491, 0, .593],
0x33: [.487, .193, .593],
0x34: [.495, .196, .593],
0x35: [.481, .19, .593],
0x36: [.704, .012, .593],
0x37: [.479, .197, .593],
0x38: [.714, .005, .593],
0x39: [.487, .195, .593],
0x3A: [.457, .012, .255],
0x3B: [.458, .19, .255],
0x3D: [.343, -0.168, .582],
0x3F: [.697, .014, .428],
0x5B: [.74, .13, .257],
0x5D: [.738, .132, .257],
0x5E: [.734, -0.452, .59],
0x2018: [.708, -0.411, .254],
0x2019: [.692, -0.394, .254],
0x2044: [.721, .182, .593],
0xE301: [.63, .027, .587],
0xE302: [.693, .212, .394, {ic: .014}],
0xE303: [.681, .219, .387],
0xE304: [.473, .212, .593],
0xE305: [.684, .027, .393],
0xE308: [.679, .22, .981],
0xE309: [.717, .137, .727],
};

View File

@@ -0,0 +1,61 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const fraktur: CharMap<CharOptions> = {
0x21: [.689, .012, .296],
0x22: [.695, -0.432, .215],
0x26: [.698, .011, .738],
0x27: [.695, -0.436, .212],
0x28: [.737, .186, .389],
0x29: [.735, .187, .389],
0x2A: [.692, -0.449, .278],
0x2B: [.598, .082, .756],
0x2C: [.107, .191, .278],
0x2D: [.275, -0.236, .756],
0x2E: [.102, .015, .278],
0x2F: [.721, .182, .502],
0x30: [.492, .013, .502],
0x31: [.468, 0, .502],
0x32: [.474, 0, .502],
0x33: [.473, .182, .502],
0x34: [.476, .191, .502],
0x35: [.458, .184, .502],
0x36: [.7, .013, .502],
0x37: [.468, .181, .502],
0x38: [.705, .01, .502],
0x39: [.469, .182, .502],
0x3A: [.457, .012, .216],
0x3B: [.458, .189, .216],
0x3D: [.368, -0.132, .756],
0x3F: [.693, .011, .362],
0x5B: [.74, .13, .278],
0x5D: [.738, .131, .278],
0x5E: [.734, -0.452, .5],
0x2018: [.708, -0.41, .215],
0x2019: [.692, -0.395, .215],
0x2044: [.721, .182, .502],
0xE300: [.683, .032, .497],
0xE301: [.616, .03, .498],
0xE302: [.68, .215, .333],
0xE303: [.679, .224, .329],
0xE304: [.471, .214, .503],
0xE305: [.686, .02, .333],
0xE306: [.577, .021, .334, {ic: .013}],
0xE307: [.475, .022, .501, {ic: .013}],
};

View File

@@ -0,0 +1,81 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const italic: CharMap<CharOptions> = {
0x21: [.716, 0, .307, {ic: .073}],
0x22: [.694, -0.379, .514, {ic: .024}],
0x23: [.694, .194, .818, {ic: .01}],
0x25: [.75, .056, .818, {ic: .029}],
0x26: [.716, .022, .767, {ic: .035}],
0x27: [.694, -0.379, .307, {ic: .07}],
0x28: [.75, .25, .409, {ic: .108}],
0x29: [.75, .25, .409],
0x2A: [.75, -0.32, .511, {ic: .073}],
0x2B: [.557, .057, .767],
0x2C: [.121, .194, .307],
0x2D: [.251, -0.18, .358],
0x2E: [.121, 0, .307],
0x2F: [.716, .215, .778],
0x30: [.665, .021, .511, {ic: .051}],
0x31: [.666, 0, .511],
0x32: [.666, .022, .511, {ic: .04}],
0x33: [.666, .022, .511, {ic: .051}],
0x34: [.666, .194, .511],
0x35: [.666, .022, .511, {ic: .056}],
0x36: [.665, .022, .511, {ic: .054}],
0x37: [.666, .022, .511, {ic: .123}],
0x38: [.666, .021, .511, {ic: .042}],
0x39: [.666, .022, .511, {ic: .042}],
0x3A: [.431, 0, .307],
0x3B: [.431, .194, .307],
0x3D: [.367, -0.133, .767],
0x3F: [.716, 0, .511, {ic: .04}],
0x40: [.705, .011, .767, {ic: .022}],
0x5B: [.75, .25, .307, {ic: .139}],
0x5D: [.75, .25, .307, {ic: .052}],
0x5E: [.694, -0.527, .511, {ic: .017}],
0x5F: [-0.025, .062, .511, {ic: .043}],
0x7E: [.318, -0.208, .511, {ic: .06}],
0x131: [.441, .01, .307, {ic: .033}],
0x237: [.442, .204, .332],
0x300: [.697, -0.5, 0],
0x301: [.697, -0.5, 0, {ic: .039}],
0x302: [.694, -0.527, 0, {ic: .017}],
0x303: [.668, -0.558, 0, {ic: .06}],
0x304: [.589, -0.544, 0, {ic: .054}],
0x306: [.694, -0.515, 0, {ic: .062}],
0x307: [.669, -0.548, 0],
0x308: [.669, -0.554, 0, {ic: .045}],
0x30A: [.716, -0.542, 0],
0x30B: [.697, -0.503, 0, {ic: .065}],
0x30C: [.638, -0.502, 0, {ic: .029}],
0x3DD: [.605, .085, .778],
0x2013: [.285, -0.248, .511, {ic: .043}],
0x2014: [.285, -0.248, 1.022, {ic: .016}],
0x2015: [.285, -0.248, 1.022, {ic: .016}],
0x2017: [-0.025, .062, .511, {ic: .043}],
0x2018: [.694, -0.379, .307, {ic: .055}],
0x2019: [.694, -0.379, .307, {ic: .07}],
0x201C: [.694, -0.379, .514, {ic: .092}],
0x201D: [.694, -0.379, .514, {ic: .024}],
0x2044: [.716, .215, .778],
0x210F: [.695, .013, .54, {ic: .022}],
0x2206: [.716, 0, .833, {sk: .167}],
0x29F8: [.716, .215, .778],
};

View File

@@ -0,0 +1,71 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const largeop: CharMap<CharOptions> = {
0x28: [1.15, .649, .597],
0x29: [1.15, .649, .597],
0x2F: [1.15, .649, .811],
0x5B: [1.15, .649, .472],
0x5C: [1.15, .649, .811],
0x5D: [1.15, .649, .472],
0x7B: [1.15, .649, .667],
0x7D: [1.15, .649, .667],
0x2C6: [.772, -0.565, 1],
0x2DC: [.75, -0.611, 1],
0x302: [.772, -0.565, 0],
0x303: [.75, -0.611, 0],
0x2016: [.602, 0, .778],
0x2044: [1.15, .649, .811],
0x2191: [.6, 0, .667],
0x2193: [.6, 0, .667],
0x21D1: [.599, 0, .778],
0x21D3: [.6, 0, .778],
0x220F: [.95, .45, 1.278],
0x2210: [.95, .45, 1.278],
0x2211: [.95, .45, 1.444],
0x221A: [1.15, .65, 1, {ic: .02}],
0x2223: [.627, .015, .333],
0x2225: [.627, .015, .556],
0x222B: [1.36, .862, .556, {ic: .388}],
0x222C: [1.36, .862, 1.084, {ic: .388}],
0x222D: [1.36, .862, 1.592, {ic: .388}],
0x222E: [1.36, .862, .556, {ic: .388}],
0x22C0: [.95, .45, 1.111],
0x22C1: [.95, .45, 1.111],
0x22C2: [.949, .45, 1.111],
0x22C3: [.95, .449, 1.111],
0x2308: [1.15, .649, .528],
0x2309: [1.15, .649, .528],
0x230A: [1.15, .649, .528],
0x230B: [1.15, .649, .528],
0x2329: [1.15, .649, .611],
0x232A: [1.15, .649, .611],
0x23D0: [.602, 0, .667],
0x2758: [.627, .015, .333],
0x27E8: [1.15, .649, .611],
0x27E9: [1.15, .649, .611],
0x2A00: [.949, .449, 1.511],
0x2A01: [.949, .449, 1.511],
0x2A02: [.949, .449, 1.511],
0x2A04: [.95, .449, 1.111],
0x2A06: [.95, .45, 1.111],
0x2A0C: [1.36, .862, 2.168, {ic: .388}],
0x3008: [1.15, .649, .611],
0x3009: [1.15, .649, .611],
};

View File

@@ -0,0 +1,99 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const monospace: CharMap<CharOptions> = {
0x20: [0, 0, .525],
0x21: [.622, 0, .525],
0x22: [.623, -0.333, .525],
0x23: [.611, 0, .525],
0x24: [.694, .082, .525],
0x25: [.694, .083, .525],
0x26: [.622, .011, .525],
0x27: [.611, -0.287, .525],
0x28: [.694, .082, .525],
0x29: [.694, .082, .525],
0x2A: [.52, -0.09, .525],
0x2B: [.531, -0.081, .525],
0x2C: [.14, .139, .525],
0x2D: [.341, -0.271, .525],
0x2E: [.14, 0, .525],
0x2F: [.694, .083, .525],
0x3A: [.431, 0, .525],
0x3B: [.431, .139, .525],
0x3C: [.557, -0.055, .525],
0x3D: [.417, -0.195, .525],
0x3E: [.557, -0.055, .525],
0x3F: [.617, 0, .525],
0x40: [.617, .006, .525],
0x5B: [.694, .082, .525],
0x5C: [.694, .083, .525],
0x5D: [.694, .082, .525],
0x5E: [.611, -0.46, .525],
0x5F: [-0.025, .095, .525],
0x60: [.681, -0.357, .525],
0x7B: [.694, .083, .525],
0x7C: [.694, .082, .525],
0x7D: [.694, .083, .525],
0x7E: [.611, -0.466, .525],
0x7F: [.612, -0.519, .525],
0xA0: [0, 0, .525],
0x131: [.431, 0, .525],
0x237: [.431, .228, .525],
0x2B9: [.623, -0.334, .525],
0x300: [.611, -0.485, 0],
0x301: [.611, -0.485, 0],
0x302: [.611, -0.46, 0],
0x303: [.611, -0.466, 0],
0x304: [.577, -0.5, 0],
0x306: [.611, -0.504, 0],
0x308: [.612, -0.519, 0],
0x30A: [.619, -0.499, 0],
0x30C: [.577, -0.449, 0],
0x391: [.623, 0, .525],
0x392: [.611, 0, .525],
0x393: [.611, 0, .525],
0x394: [.623, 0, .525],
0x395: [.611, 0, .525],
0x396: [.611, 0, .525],
0x397: [.611, 0, .525],
0x398: [.621, .01, .525],
0x399: [.611, 0, .525],
0x39A: [.611, 0, .525],
0x39B: [.623, 0, .525],
0x39C: [.611, 0, .525],
0x39D: [.611, 0, .525],
0x39E: [.611, 0, .525],
0x39F: [.621, .01, .525],
0x3A0: [.611, 0, .525],
0x3A1: [.611, 0, .525],
0x3A3: [.611, 0, .525],
0x3A4: [.611, 0, .525],
0x3A5: [.622, 0, .525],
0x3A6: [.611, 0, .525],
0x3A7: [.611, 0, .525],
0x3A8: [.611, 0, .525],
0x3A9: [.622, 0, .525],
0x2017: [-0.025, .095, .525],
0x2032: [.623, -0.334, .525],
0x2033: [.623, 0, 1.05],
0x2034: [.623, 0, 1.575],
0x2044: [.694, .083, .525],
0x2057: [.623, 0, 2.1],
0x2206: [.623, 0, .525],
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,23 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const sansSerifBoldItalic: CharMap<CharOptions> = {
0x131: [.458, 0, .256],
0x237: [.458, .205, .286],
};

View File

@@ -0,0 +1,69 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const sansSerifBold: CharMap<CharOptions> = {
0x21: [.694, 0, .367],
0x22: [.694, -0.442, .558],
0x23: [.694, .193, .917],
0x24: [.75, .056, .55],
0x25: [.75, .056, 1.029],
0x26: [.716, .022, .831],
0x27: [.694, -0.442, .306],
0x28: [.75, .249, .428],
0x29: [.75, .25, .428],
0x2A: [.75, -0.293, .55],
0x2B: [.617, .116, .856],
0x2C: [.146, .106, .306],
0x2D: [.273, -0.186, .367],
0x2E: [.146, 0, .306],
0x2F: [.75, .249, .55],
0x3A: [.458, 0, .306],
0x3B: [.458, .106, .306],
0x3D: [.407, -0.094, .856],
0x3F: [.705, 0, .519],
0x40: [.704, .011, .733],
0x5B: [.75, .25, .343],
0x5D: [.75, .25, .343],
0x5E: [.694, -0.537, .55],
0x5F: [-0.023, .11, .55],
0x7E: [.344, -0.198, .55],
0x131: [.458, 0, .256],
0x237: [.458, .205, .286],
0x300: [.694, -0.537, 0],
0x301: [.694, -0.537, 0],
0x302: [.694, -0.537, 0],
0x303: [.694, -0.548, 0],
0x304: [.66, -0.56, 0],
0x306: [.694, -0.552, 0],
0x307: [.695, -0.596, 0],
0x308: [.695, -0.595, 0],
0x30A: [.694, -0.538, 0],
0x30B: [.694, -0.537, 0],
0x30C: [.657, -0.5, 0],
0x2013: [.327, -0.24, .55],
0x2014: [.327, -0.24, 1.1],
0x2015: [.327, -0.24, 1.1],
0x2017: [-0.023, .11, .55],
0x2018: [.694, -0.443, .306],
0x2019: [.694, -0.442, .306],
0x201C: [.694, -0.443, .558],
0x201D: [.694, -0.442, .558],
0x2044: [.75, .249, .55],
0x2206: [.694, 0, .917],
};

View File

@@ -0,0 +1,103 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const sansSerifItalic: CharMap<CharOptions> = {
0x21: [.694, 0, .319, {ic: .036}],
0x22: [.694, -0.471, .5],
0x23: [.694, .194, .833, {ic: .018}],
0x24: [.75, .056, .5, {ic: .065}],
0x25: [.75, .056, .833],
0x26: [.716, .022, .758],
0x27: [.694, -0.471, .278, {ic: .057}],
0x28: [.75, .25, .389, {ic: .102}],
0x29: [.75, .25, .389],
0x2A: [.75, -0.306, .5, {ic: .068}],
0x2B: [.583, .083, .778],
0x2C: [.098, .125, .278],
0x2D: [.259, -0.186, .333],
0x2E: [.098, 0, .278],
0x2F: [.75, .25, .5, {ic: .1}],
0x30: [.678, .022, .5, {ic: .049}],
0x31: [.678, 0, .5],
0x32: [.678, 0, .5, {ic: .051}],
0x33: [.678, .022, .5, {ic: .044}],
0x34: [.656, 0, .5, {ic: .021}],
0x35: [.656, .022, .5, {ic: .055}],
0x36: [.678, .022, .5, {ic: .048}],
0x37: [.656, .011, .5, {ic: .096}],
0x38: [.678, .022, .5, {ic: .054}],
0x39: [.677, .022, .5, {ic: .045}],
0x3A: [.444, 0, .278],
0x3B: [.444, .125, .278],
0x3D: [.37, -0.13, .778, {ic: .018}],
0x3F: [.704, 0, .472, {ic: .064}],
0x40: [.705, .01, .667, {ic: .04}],
0x5B: [.75, .25, .289, {ic: .136}],
0x5D: [.75, .25, .289, {ic: .064}],
0x5E: [.694, -0.527, .5, {ic: .033}],
0x5F: [-0.038, .114, .5, {ic: .065}],
0x7E: [.327, -0.193, .5, {ic: .06}],
0x131: [.444, 0, .239, {ic: .019}],
0x237: [.444, .204, .267, {ic: .019}],
0x300: [.694, -0.527, 0],
0x301: [.694, -0.527, 0, {ic: .063}],
0x302: [.694, -0.527, 0, {ic: .033}],
0x303: [.677, -0.543, 0, {ic: .06}],
0x304: [.631, -0.552, 0, {ic: .064}],
0x306: [.694, -0.508, 0, {ic: .073}],
0x307: [.68, -0.576, 0],
0x308: [.68, -0.582, 0, {ic: .04}],
0x30A: [.693, -0.527, 0],
0x30B: [.694, -0.527, 0, {ic: .063}],
0x30C: [.654, -0.487, 0, {ic: .06}],
0x391: [.694, 0, .667],
0x392: [.694, 0, .667, {ic: .029}],
0x393: [.691, 0, .542, {ic: .104}],
0x394: [.694, 0, .833],
0x395: [.691, 0, .597, {ic: .091}],
0x396: [.694, 0, .611, {ic: .091}],
0x397: [.694, 0, .708, {ic: .06}],
0x398: [.715, .022, .778, {ic: .026}],
0x399: [.694, 0, .278, {ic: .06}],
0x39A: [.694, 0, .694, {ic: .091}],
0x39B: [.694, 0, .611],
0x39C: [.694, 0, .875, {ic: .054}],
0x39D: [.694, 0, .708, {ic: .058}],
0x39E: [.688, 0, .667, {ic: .098}],
0x39F: [.716, .022, .736, {ic: .027}],
0x3A0: [.691, 0, .708, {ic: .06}],
0x3A1: [.694, 0, .639, {ic: .051}],
0x3A3: [.694, 0, .722, {ic: .091}],
0x3A4: [.688, 0, .681, {ic: .109}],
0x3A5: [.716, 0, .778, {ic: .065}],
0x3A6: [.694, 0, .722, {ic: .021}],
0x3A7: [.694, 0, .667, {ic: .091}],
0x3A8: [.694, 0, .778, {ic: .076}],
0x3A9: [.716, 0, .722, {ic: .047}],
0x2013: [.312, -0.236, .5, {ic: .065}],
0x2014: [.312, -0.236, 1, {ic: .065}],
0x2015: [.312, -0.236, 1, {ic: .065}],
0x2017: [-0.038, .114, .5, {ic: .065}],
0x2018: [.694, -0.471, .278, {ic: .058}],
0x2019: [.694, -0.471, .278, {ic: .057}],
0x201C: [.694, -0.471, .5, {ic: .114}],
0x201D: [.694, -0.471, .5],
0x2044: [.75, .25, .5, {ic: .1}],
0x2206: [.694, 0, .833],
};

View File

@@ -0,0 +1,93 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const sansSerif: CharMap<CharOptions> = {
0x21: [.694, 0, .319],
0x22: [.694, -0.471, .5],
0x23: [.694, .194, .833],
0x24: [.75, .056, .5],
0x25: [.75, .056, .833],
0x26: [.716, .022, .758],
0x27: [.694, -0.471, .278],
0x28: [.75, .25, .389],
0x29: [.75, .25, .389],
0x2A: [.75, -0.306, .5],
0x2B: [.583, .082, .778],
0x2C: [.098, .125, .278],
0x2D: [.259, -0.186, .333],
0x2E: [.098, 0, .278],
0x2F: [.75, .25, .5],
0x3A: [.444, 0, .278],
0x3B: [.444, .125, .278],
0x3D: [.37, -0.13, .778],
0x3F: [.704, 0, .472],
0x40: [.704, .011, .667],
0x5B: [.75, .25, .289],
0x5D: [.75, .25, .289],
0x5E: [.694, -0.527, .5],
0x5F: [-0.038, .114, .5],
0x7E: [.327, -0.193, .5],
0x131: [.444, 0, .239],
0x237: [.444, .205, .267],
0x300: [.694, -0.527, 0],
0x301: [.694, -0.527, 0],
0x302: [.694, -0.527, 0],
0x303: [.677, -0.543, 0],
0x304: [.631, -0.552, 0],
0x306: [.694, -0.508, 0],
0x307: [.68, -0.576, 0],
0x308: [.68, -0.582, 0],
0x30A: [.694, -0.527, 0],
0x30B: [.694, -0.527, 0],
0x30C: [.654, -0.487, 0],
0x391: [.694, 0, .667],
0x392: [.694, 0, .667],
0x393: [.691, 0, .542],
0x394: [.694, 0, .833],
0x395: [.691, 0, .597],
0x396: [.694, 0, .611],
0x397: [.694, 0, .708],
0x398: [.716, .021, .778],
0x399: [.694, 0, .278],
0x39A: [.694, 0, .694],
0x39B: [.694, 0, .611],
0x39C: [.694, 0, .875],
0x39D: [.694, 0, .708],
0x39E: [.688, 0, .667],
0x39F: [.715, .022, .736],
0x3A0: [.691, 0, .708],
0x3A1: [.694, 0, .639],
0x3A3: [.694, 0, .722],
0x3A4: [.688, 0, .681],
0x3A5: [.716, 0, .778],
0x3A6: [.694, 0, .722],
0x3A7: [.694, 0, .667],
0x3A8: [.694, 0, .778],
0x3A9: [.716, 0, .722],
0x2013: [.312, -0.236, .5],
0x2014: [.312, -0.236, 1],
0x2015: [.312, -0.236, 1],
0x2017: [-0.038, .114, .5],
0x2018: [.694, -0.471, .278],
0x2019: [.694, -0.471, .278],
0x201C: [.694, -0.471, .5],
0x201D: [.694, -0.471, .5],
0x2044: [.75, .25, .5],
0x2206: [.694, 0, .833],
};

View File

@@ -0,0 +1,21 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const scriptBold: CharMap<CharOptions> = {
};

View File

@@ -0,0 +1,21 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const script: CharMap<CharOptions> = {
};

View File

@@ -0,0 +1,71 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const smallop: CharMap<CharOptions> = {
0x28: [.85, .349, .458],
0x29: [.85, .349, .458],
0x2F: [.85, .349, .578],
0x5B: [.85, .349, .417],
0x5C: [.85, .349, .578],
0x5D: [.85, .349, .417],
0x7B: [.85, .349, .583],
0x7D: [.85, .349, .583],
0x2C6: [.744, -0.551, .556],
0x2DC: [.722, -0.597, .556],
0x302: [.744, -0.551, 0],
0x303: [.722, -0.597, 0],
0x2016: [.602, 0, .778],
0x2044: [.85, .349, .578],
0x2191: [.6, 0, .667],
0x2193: [.6, 0, .667],
0x21D1: [.599, 0, .778],
0x21D3: [.6, 0, .778],
0x220F: [.75, .25, .944],
0x2210: [.75, .25, .944],
0x2211: [.75, .25, 1.056],
0x221A: [.85, .35, 1, {ic: .02}],
0x2223: [.627, .015, .333],
0x2225: [.627, .015, .556],
0x222B: [.805, .306, .472, {ic: .138}],
0x222C: [.805, .306, .819, {ic: .138}],
0x222D: [.805, .306, 1.166, {ic: .138}],
0x222E: [.805, .306, .472, {ic: .138}],
0x22C0: [.75, .249, .833],
0x22C1: [.75, .249, .833],
0x22C2: [.75, .249, .833],
0x22C3: [.75, .249, .833],
0x2308: [.85, .349, .472],
0x2309: [.85, .349, .472],
0x230A: [.85, .349, .472],
0x230B: [.85, .349, .472],
0x2329: [.85, .35, .472],
0x232A: [.85, .35, .472],
0x23D0: [.602, 0, .667],
0x2758: [.627, .015, .333],
0x27E8: [.85, .35, .472],
0x27E9: [.85, .35, .472],
0x2A00: [.75, .25, 1.111],
0x2A01: [.75, .25, 1.111],
0x2A02: [.75, .25, 1.111],
0x2A04: [.75, .249, .833],
0x2A06: [.75, .249, .833],
0x2A0C: [.805, .306, 1.638, {ic: .138}],
0x3008: [.85, .35, .472],
0x3009: [.85, .35, .472],
};

View File

@@ -0,0 +1,49 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texCalligraphicBold: CharMap<CharOptions> = {
0x41: [.751, .049, .921, {ic: .068, sk: .224}],
0x42: [.705, .017, .748, {sk: .16}],
0x43: [.703, .02, .613, {sk: .16}],
0x44: [.686, 0, .892, {sk: .0958}],
0x45: [.703, .016, .607, {ic: .02, sk: .128}],
0x46: [.686, .03, .814, {ic: .116, sk: .128}],
0x47: [.703, .113, .682, {sk: .128}],
0x48: [.686, .048, .987, {sk: .128}],
0x49: [.686, 0, .642, {ic: .104, sk: .0319}],
0x4A: [.686, .114, .779, {ic: .158, sk: .192}],
0x4B: [.703, .017, .871, {sk: .0639}],
0x4C: [.703, .017, .788, {sk: .16}],
0x4D: [.703, .049, 1.378, {sk: .16}],
0x4E: [.84, .049, .937, {ic: .168, sk: .0958}],
0x4F: [.703, .017, .906, {sk: .128}],
0x50: [.686, .067, .81, {ic: .036, sk: .0958}],
0x51: [.703, .146, .939, {sk: .128}],
0x52: [.686, .017, .99, {sk: .0958}],
0x53: [.703, .016, .696, {ic: .025, sk: .16}],
0x54: [.72, .069, .644, {ic: .303, sk: .0319}],
0x55: [.686, .024, .715, {ic: .056, sk: .0958}],
0x56: [.686, .077, .737, {ic: .037, sk: .0319}],
0x57: [.686, .077, 1.169, {ic: .037, sk: .0958}],
0x58: [.686, 0, .817, {ic: .089, sk: .16}],
0x59: [.686, .164, .759, {ic: .038, sk: .0958}],
0x5A: [.686, 0, .818, {ic: .035, sk: .16}],
0x131: [.452, .008, .394, {sk: .0319}],
0x237: [.451, .201, .439, {sk: .0958}],
};

View File

@@ -0,0 +1,47 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texCalligraphic: CharMap<CharOptions> = {
0x41: [.728, .05, .798, {ic: .021, sk: .194}],
0x42: [.705, .022, .657, {sk: .139}],
0x43: [.705, .025, .527, {sk: .139}],
0x44: [.683, 0, .771, {sk: .0833}],
0x45: [.705, .022, .528, {ic: .036, sk: .111}],
0x46: [.683, .032, .719, {ic: .11, sk: .111}],
0x47: [.704, .119, .595, {sk: .111}],
0x48: [.683, .048, .845, {sk: .111}],
0x49: [.683, 0, .545, {ic: .097, sk: .0278}],
0x4A: [.683, .119, .678, {ic: .161, sk: .167}],
0x4B: [.705, .022, .762, {sk: .0556}],
0x4C: [.705, .022, .69, {sk: .139}],
0x4D: [.705, .05, 1.201, {sk: .139}],
0x4E: [.789, .05, .82, {ic: .159, sk: .0833}],
0x4F: [.705, .022, .796, {sk: .111}],
0x50: [.683, .057, .696, {ic: .037, sk: .0833}],
0x51: [.705, .131, .817, {sk: .111}],
0x52: [.682, .022, .848, {sk: .0833}],
0x53: [.705, .022, .606, {ic: .036, sk: .139}],
0x54: [.717, .068, .545, {ic: .288, sk: .0278}],
0x55: [.683, .028, .626, {ic: .061, sk: .0833}],
0x56: [.683, .052, .613, {ic: .045, sk: .0278}],
0x57: [.683, .053, .988, {ic: .046, sk: .0833}],
0x58: [.683, 0, .713, {ic: .094, sk: .139}],
0x59: [.683, .143, .668, {ic: .046, sk: .0833}],
0x5A: [.683, 0, .725, {ic: .042, sk: .139}],
};

View File

@@ -0,0 +1,73 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texMathit: CharMap<CharOptions> = {
0x41: [.716, 0, .743],
0x42: [.683, 0, .704],
0x43: [.705, .021, .716],
0x44: [.683, 0, .755],
0x45: [.68, 0, .678],
0x46: [.68, 0, .653],
0x47: [.705, .022, .774],
0x48: [.683, 0, .743],
0x49: [.683, 0, .386],
0x4A: [.683, .021, .525],
0x4B: [.683, 0, .769],
0x4C: [.683, 0, .627],
0x4D: [.683, 0, .897],
0x4E: [.683, 0, .743],
0x4F: [.704, .022, .767],
0x50: [.683, 0, .678],
0x51: [.704, .194, .767],
0x52: [.683, .022, .729],
0x53: [.705, .022, .562],
0x54: [.677, 0, .716],
0x55: [.683, .022, .743],
0x56: [.683, .022, .743],
0x57: [.683, .022, .999],
0x58: [.683, 0, .743],
0x59: [.683, 0, .743],
0x5A: [.683, 0, .613],
0x61: [.442, .011, .511],
0x62: [.694, .011, .46],
0x63: [.441, .01, .46],
0x64: [.694, .011, .511],
0x65: [.442, .01, .46],
0x66: [.705, .204, .307],
0x67: [.442, .205, .46],
0x68: [.694, .011, .511],
0x69: [.656, .01, .307],
0x6A: [.656, .204, .307],
0x6B: [.694, .011, .46],
0x6C: [.694, .011, .256],
0x6D: [.442, .011, .818],
0x6E: [.442, .011, .562],
0x6F: [.442, .011, .511],
0x70: [.442, .194, .511],
0x71: [.442, .194, .46],
0x72: [.442, .011, .422],
0x73: [.442, .011, .409],
0x74: [.626, .011, .332],
0x75: [.441, .011, .537],
0x76: [.443, .01, .46],
0x77: [.443, .011, .664],
0x78: [.442, .011, .464],
0x79: [.441, .205, .486],
0x7A: [.442, .011, .409],
};

View File

@@ -0,0 +1,57 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texOldstyleBold: CharMap<CharOptions> = {
0x30: [.46, .017, .575],
0x31: [.461, 0, .575],
0x32: [.46, 0, .575],
0x33: [.461, .211, .575],
0x34: [.469, .194, .575],
0x35: [.461, .211, .575],
0x36: [.66, .017, .575],
0x37: [.476, .211, .575],
0x38: [.661, .017, .575],
0x39: [.461, .21, .575],
0x41: [.751, .049, .921, {ic: .068, sk: .224}],
0x42: [.705, .017, .748, {sk: .16}],
0x43: [.703, .02, .613, {sk: .16}],
0x44: [.686, 0, .892, {sk: .0958}],
0x45: [.703, .016, .607, {ic: .02, sk: .128}],
0x46: [.686, .03, .814, {ic: .116, sk: .128}],
0x47: [.703, .113, .682, {sk: .128}],
0x48: [.686, .048, .987, {sk: .128}],
0x49: [.686, 0, .642, {ic: .104, sk: .0319}],
0x4A: [.686, .114, .779, {ic: .158, sk: .192}],
0x4B: [.703, .017, .871, {sk: .0639}],
0x4C: [.703, .017, .788, {sk: .16}],
0x4D: [.703, .049, 1.378, {sk: .16}],
0x4E: [.84, .049, .937, {ic: .168, sk: .0958}],
0x4F: [.703, .017, .906, {sk: .128}],
0x50: [.686, .067, .81, {ic: .036, sk: .0958}],
0x51: [.703, .146, .939, {sk: .128}],
0x52: [.686, .017, .99, {sk: .0958}],
0x53: [.703, .016, .696, {ic: .025, sk: .16}],
0x54: [.72, .069, .644, {ic: .303, sk: .0319}],
0x55: [.686, .024, .715, {ic: .056, sk: .0958}],
0x56: [.686, .077, .737, {ic: .037, sk: .0319}],
0x57: [.686, .077, 1.169, {ic: .037, sk: .0958}],
0x58: [.686, 0, .817, {ic: .089, sk: .16}],
0x59: [.686, .164, .759, {ic: .038, sk: .0958}],
0x5A: [.686, 0, .818, {ic: .035, sk: .16}],
};

View File

@@ -0,0 +1,57 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texOldstyle: CharMap<CharOptions> = {
0x30: [.452, .022, .5],
0x31: [.453, 0, .5],
0x32: [.453, 0, .5],
0x33: [.452, .216, .5],
0x34: [.464, .194, .5],
0x35: [.453, .216, .5],
0x36: [.665, .022, .5],
0x37: [.463, .216, .5],
0x38: [.666, .021, .5],
0x39: [.453, .216, .5],
0x41: [.728, .05, .798, {ic: .021, sk: .194}],
0x42: [.705, .022, .657, {sk: .139}],
0x43: [.705, .025, .527, {sk: .139}],
0x44: [.683, 0, .771, {sk: .0833}],
0x45: [.705, .022, .528, {ic: .036, sk: .111}],
0x46: [.683, .032, .719, {ic: .11, sk: .111}],
0x47: [.704, .119, .595, {sk: .111}],
0x48: [.683, .048, .845, {sk: .111}],
0x49: [.683, 0, .545, {ic: .097, sk: .0278}],
0x4A: [.683, .119, .678, {ic: .161, sk: .167}],
0x4B: [.705, .022, .762, {sk: .0556}],
0x4C: [.705, .022, .69, {sk: .139}],
0x4D: [.705, .05, 1.201, {sk: .139}],
0x4E: [.789, .05, .82, {ic: .159, sk: .0833}],
0x4F: [.705, .022, .796, {sk: .111}],
0x50: [.683, .057, .696, {ic: .037, sk: .0833}],
0x51: [.705, .131, .817, {sk: .111}],
0x52: [.682, .022, .848, {sk: .0833}],
0x53: [.705, .022, .606, {ic: .036, sk: .139}],
0x54: [.717, .068, .545, {ic: .288, sk: .0278}],
0x55: [.683, .028, .626, {ic: .061, sk: .0833}],
0x56: [.683, .052, .613, {ic: .045, sk: .0278}],
0x57: [.683, .053, .988, {ic: .046, sk: .0833}],
0x58: [.683, 0, .713, {ic: .094, sk: .139}],
0x59: [.683, .143, .668, {ic: .046, sk: .0833}],
0x5A: [.683, 0, .725, {ic: .042, sk: .139}],
};

View File

@@ -0,0 +1,45 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texSize3: CharMap<CharOptions> = {
0x28: [1.45, .949, .736],
0x29: [1.45, .949, .736],
0x2F: [1.45, .949, 1.044],
0x5B: [1.45, .949, .528],
0x5C: [1.45, .949, 1.044],
0x5D: [1.45, .949, .528],
0x7B: [1.45, .949, .75],
0x7D: [1.45, .949, .75],
0x2C6: [.772, -0.564, 1.444],
0x2DC: [.749, -0.61, 1.444],
0x302: [.772, -0.564, 0],
0x303: [.749, -0.61, 0],
0x2044: [1.45, .949, 1.044],
0x221A: [1.45, .95, 1, {ic: .02}],
0x2308: [1.45, .949, .583],
0x2309: [1.45, .949, .583],
0x230A: [1.45, .949, .583],
0x230B: [1.45, .949, .583],
0x2329: [1.45, .95, .75],
0x232A: [1.45, .949, .75],
0x27E8: [1.45, .95, .75],
0x27E9: [1.45, .949, .75],
0x3008: [1.45, .95, .75],
0x3009: [1.45, .949, .75],
};

View File

@@ -0,0 +1,74 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texSize4: CharMap<CharOptions> = {
0x28: [1.75, 1.249, .792],
0x29: [1.75, 1.249, .792],
0x2F: [1.75, 1.249, 1.278],
0x5B: [1.75, 1.249, .583],
0x5C: [1.75, 1.249, 1.278],
0x5D: [1.75, 1.249, .583],
0x7B: [1.75, 1.249, .806],
0x7D: [1.75, 1.249, .806],
0x2C6: [.845, -0.561, 1.889, {ic: .013}],
0x2DC: [.823, -0.583, 1.889],
0x302: [.845, -0.561, 0, {ic: .013}],
0x303: [.823, -0.583, 0],
0x2044: [1.75, 1.249, 1.278],
0x221A: [1.75, 1.25, 1, {ic: .02}],
0x2308: [1.75, 1.249, .639],
0x2309: [1.75, 1.249, .639],
0x230A: [1.75, 1.249, .639],
0x230B: [1.75, 1.249, .639],
0x2329: [1.75, 1.248, .806],
0x232A: [1.75, 1.248, .806],
0x239B: [1.154, .655, .875],
0x239C: [.61, .01, .875],
0x239D: [1.165, .644, .875],
0x239E: [1.154, .655, .875],
0x239F: [.61, .01, .875],
0x23A0: [1.165, .644, .875],
0x23A1: [1.154, .645, .667],
0x23A2: [.602, 0, .667],
0x23A3: [1.155, .644, .667],
0x23A4: [1.154, .645, .667],
0x23A5: [.602, 0, .667],
0x23A6: [1.155, .644, .667],
0x23A7: [.899, .01, .889],
0x23A8: [1.16, .66, .889],
0x23A9: [.01, .899, .889],
0x23AA: [.29, .015, .889],
0x23AB: [.899, .01, .889],
0x23AC: [1.16, .66, .889],
0x23AD: [.01, .899, .889],
0x23B7: [.935, .885, 1.056],
0x27E8: [1.75, 1.248, .806],
0x27E9: [1.75, 1.248, .806],
0x3008: [1.75, 1.248, .806],
0x3009: [1.75, 1.248, .806],
0xE000: [.625, .014, 1.056],
0xE001: [.605, .014, 1.056, {ic: .02}],
0xE150: [.12, .213, .45, {ic: .01}],
0xE151: [.12, .213, .45, {ic: .024}],
0xE152: [.333, 0, .45, {ic: .01}],
0xE153: [.333, 0, .45, {ic: .024}],
0xE154: [.32, .2, .4, {ic: .01}],
0xE155: [.333, 0, .9, {ic: .01}],
0xE156: [.12, .213, .9, {ic: .01}],
};

View File

@@ -0,0 +1,59 @@
/*************************************************************
*
* Copyright (c) 2018-2022 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {CharMap, CharOptions} from '../../FontData.js';
export const texVariant: CharMap<CharOptions> = {
0x2C6: [.845, -0.561, 2.333, {ic: .013}],
0x2DC: [.899, -0.628, 2.333],
0x302: [.845, -0.561, 0, {ic: .013}],
0x303: [.899, -0.628, 0],
0x3F0: [.434, .006, .667, {ic: .067}],
0x210F: [.695, .013, .54, {ic: .022}],
0x2190: [.437, -0.064, .5],
0x2192: [.437, -0.064, .5],
0x21CC: [.514, .014, 1],
0x2204: [.86, .166, .556],
0x2205: [.587, 0, .778],
0x2212: [.27, -0.23, .5],
0x2216: [.43, .023, .778],
0x221D: [.472, -0.028, .778],
0x2223: [.43, .023, .222],
0x2224: [.43, .023, .222, {ic: .018}],
0x2225: [.431, .023, .389],
0x2226: [.431, .024, .389, {ic: .018}],
0x223C: [.365, -0.132, .778],
0x2248: [.481, -0.05, .778],
0x2268: [.752, .284, .778],
0x2269: [.752, .284, .778],
0x2270: [.919, .421, .778],
0x2271: [.919, .421, .778],
0x2288: [.828, .33, .778],
0x2289: [.828, .33, .778],
0x228A: [.634, .255, .778],
0x228B: [.634, .254, .778],
0x22A8: [.694, 0, .611],
0x22C5: [.189, 0, .278],
0x2322: [.378, -0.122, .778],
0x2323: [.378, -0.143, .778],
0x25B3: [.575, .02, .722],
0x25BD: [.576, .019, .722],
0x2A87: [.801, .303, .778],
0x2A88: [.801, .303, .778],
0x2ACB: [.752, .332, .778],
0x2ACC: [.752, .333, .778],
};