commit 56c2da92d5c3221a052a63c66fd26c199263b8c6
parent 4a4d88c26f47e0e682fb6e0e1cfbc13986748956
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 3 Sep 2014 10:22:22 -0400
Add font data for spaces from U+2000 to U+200B. Resolves issue #898.
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/unpacked/jax/output/SVG/fonts/TeX/fontdata.js b/unpacked/jax/output/SVG/fonts/TeX/fontdata.js
@@ -1565,6 +1565,16 @@
// Add some spacing characters (more will come later)
//
MathJax.Hub.Insert(SVG.FONTDATA.FONTS['MathJax_Main'],{
+ 0x2000: [0,0,500,0,0], // en quad
+ 0x2001: [0,0,1000,0,0], // em quad
+ 0x2002: [0,0,500,0,0], // en space
+ 0x2003: [0,0,1000,0,0], // em space
+ 0x2004: [0,0,333,0,0], // 3-per-em space
+ 0x2005: [0,0,250,0,0], // 4-per-em space
+ 0x2006: [0,0,167,0,0], // 6-per-em space
+ 0x2009: [0,0,167,0,0], // thin space
+ 0x200A: [0,0,83,0,0], // hair space
+ 0x200B: [0,0,0,0,0], // zero-width space
0xEEE0: [0,0,-575,0,0,{space:1}],
0xEEE1: [0,0,-300,0,0,{space:1}],
0xEEE8: [0,0,25,0,0,{space:1}]