Skip to content

Commit 61f57ed

Browse files
committed
Fix stretch data for U+222B (integral) in STIX-Web data for HTML-CSS and SVG, and add it so local STIX data. Resolves issue mathjax#1092.
1 parent 7523687 commit 61f57ed

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

unpacked/jax/output/HTML-CSS/fonts/STIX-Web/fontdata-extra.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,9 @@
415415
},
416416
0x222B:
417417
{
418-
dir: H,
418+
dir: V,
419419
HW: [[0.607,MAIN], [0.979,SIZE1]],
420-
stretch: {top:[0xE03C,SIZE5], rep:[0xE03D,SIZE5], bot:[0xE03E,SIZE5]}
420+
stretch: {top:[0xE03C,SIZE5], ext:[0xE03D,SIZE5], bot:[0xE03E,SIZE5]}
421421
},
422422
0x222C:
423423
{

unpacked/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@
531531
HW: [[0.879,MAIN]],
532532
stretch: {ext:[0x2225,MAIN]}
533533
},
534-
0x222B: EXTRAH,
534+
0x222B: EXTRAV,
535535
0x222C: EXTRAV,
536536
0x222D: EXTRAV,
537537
0x222E: EXTRAV,

unpacked/jax/output/HTML-CSS/fonts/STIX/fontdata-extra.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
SIZE2 = "STIXSizeTwoSym",
3838
SIZE3 = "STIXSizeThreeSym",
3939
SIZE4 = "STIXSizeFourSym",
40-
SIZE5 = "STIXSizeFiveSym";
40+
SIZE5 = "STIXSizeFiveSym",
41+
INTD = "STIXIntegralsD";
4142
var H = "H", V = "V";
4243

4344
var delim = {
@@ -121,6 +122,11 @@
121122
{
122123
dir: H, HW: [[.926,GENERAL]], stretch: {right:[0x21DB,GENERAL], rep:[0x2261,GENERAL]}
123124
},
125+
0x222B: // integral
126+
{
127+
dir: V, HW: [[0.607,GENERAL], [0.979,INTD]],
128+
stretch: {top:[0x2320,SIZE1], ext:[0x23AE,SIZE1], bot:[0x2321,SIZE1]}
129+
},
124130
0x23B4: // top square bracket
125131
{
126132
dir: H, HW: [[.926,GENERAL],[1.063,SIZE1],[1.606,SIZE2],[2.147,SIZE3],[2.692,SIZE4],[3.237,SIZE5]],

unpacked/jax/output/HTML-CSS/fonts/STIX/fontdata.js

+1
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@
406406
0x21C3: EXTRAV, // down harpoon with barb left
407407
0x21DA: EXTRAH, // left triple arrow
408408
0x21DB: EXTRAH, // right triple arrow
409+
0x222B: EXTRAV, // integral
409410
0x23B4: EXTRAH, // top square bracket
410411
0x23B5: EXTRAH, // bottom square bracket
411412
0x23DC: EXTRAH, // top paren

unpacked/jax/output/SVG/fonts/STIX-Web/fontdata-extra.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,9 @@
415415
},
416416
0x222B:
417417
{
418-
dir: H,
418+
dir: V,
419419
HW: [[607,MAIN], [979,SIZE1]],
420-
stretch: {top:[0xE03C,SIZE5], rep:[0xE03D,SIZE5], bot:[0xE03E,SIZE5]}
420+
stretch: {top:[0xE03C,SIZE5], ext:[0xE03D,SIZE5], bot:[0xE03E,SIZE5]}
421421
},
422422
0x222C:
423423
{

unpacked/jax/output/SVG/fonts/STIX-Web/fontdata.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@
528528
HW: [[879,MAIN]],
529529
stretch: {ext:[0x2225,MAIN]}
530530
},
531-
0x222B: EXTRAH,
531+
0x222B: EXTRAV,
532532
0x222C: EXTRAV,
533533
0x222D: EXTRAV,
534534
0x222E: EXTRAV,

0 commit comments

Comments
 (0)