Skip to content

Commit ac64449

Browse files
authored
Merge pull request #1612 from dpvc/issue1610
Use proper glyph for \| in TeX fonts (in HTML-CSS, CHTML, and SVG). #1610
2 parents 33bcd33 + 46d6bff commit ac64449

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

jax/output/CommonHTML/fonts/TeX/fontdata.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jax/output/HTML-CSS/fonts/TeX/fontdata.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jax/output/SVG/fonts/TeX/fontdata.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/jax/output/CommonHTML/fonts/TeX/fontdata.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48,
9696
0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F,
9797
0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58,
98+
0x2016:0x2225,
9899
0x2216:[0x2216,"-TeX-variant"], // \smallsetminus
99100
0x210F:[0x210F,"-TeX-variant"], // \hbar
100101
0x2032:[0x27,"sans-serif-italic"], // HACK: a smaller prime
@@ -104,6 +105,7 @@
104105
remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48,
105106
0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F,
106107
0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58, 0x29F8:[0x002F,"bold-italic"],
108+
0x2016:0x2225,
107109
0x219A:"\u2190\u0338", 0x219B:"\u2192\u0338", 0x21AE:"\u2194\u0338",
108110
0x21CD:"\u21D0\u0338", 0x21CE:"\u21D4\u0338", 0x21CF:"\u21D2\u0338",
109111
0x2204:"\u2203\u0338", 0x2224:"\u2223\u0338", 0x2226:"\u2225\u0338",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48,
7979
0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F,
8080
0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58,
81+
0x2016:0x2225,
8182
0x2216:[0x2216,"-TeX-variant"], // \smallsetminus
8283
0x210F:[0x210F,"-TeX-variant"], // \hbar
8384
0x2032:[0x27,"sans-serif-italic"], // HACK: a smaller prime
@@ -87,6 +88,7 @@
8788
remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48,
8889
0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F,
8990
0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58, 0x29F8:[0x002F,"bold-italic"],
91+
0x2016:0x2225,
9092
0x219A:"\u2190\u0338", 0x219B:"\u2192\u0338", 0x21AE:"\u2194\u0338",
9193
0x21CD:"\u21D0\u0338", 0x21CE:"\u21D4\u0338", 0x21CF:"\u21D2\u0338",
9294
0x2204:"\u2203\u0338", 0x2224:"\u2223\u0338", 0x2226:"\u2225\u0338",

unpacked/jax/output/SVG/fonts/TeX/fontdata.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48,
7777
0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F,
7878
0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58,
79+
0x2016:0x2225,
7980
0x2216:[0x2216,"-TeX-variant"], // \smallsetminus
8081
0x210F:[0x210F,"-TeX-variant"], // \hbar
8182
0x2032:[0x27,"sans-serif-italic"], // HACK: a smaller prime
@@ -85,6 +86,7 @@
8586
remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48,
8687
0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F,
8788
0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58, 0x29F8:[0x002F,"bold-italic"],
89+
0x2016:0x2225,
8890
0x219A:"\u2190\u0338", 0x219B:"\u2192\u0338", 0x21AE:"\u2194\u0338",
8991
0x21CD:"\u21D0\u0338", 0x21CE:"\u21D4\u0338", 0x21CF:"\u21D2\u0338",
9092
0x2204:"\u2203\u0338", 0x2224:"\u2223\u0338", 0x2226:"\u2225\u0338",

0 commit comments

Comments
 (0)