Fix spacing problem with \cong in regular and bold fonts (SVG). Resolves issue #162 for now until fonts can be repaired.

This commit is contained in:
Davide P. Cervone 2011-11-20 17:07:15 -05:00
parent ed6623d22f
commit cc305b294c
2 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -1457,6 +1457,11 @@
SVG.FONTDATA.FONTS['MathJax_Size4'][0xE154][1] += 200; // adjust depth for brace extender
});
SVG.FONTDATA.FONTS['MathJax_Main'][0x2245][2] -= 222; // fix incorrect right bearing in font
MathJax.Hub.Register.LoadHook(SVG.fontDir+"/Main/Bold/MathOperators.js",function () {
SVG.FONTDATA.FONTS['MathJax_Main-bold'][0x2245][2] -= 106; // fix incorrect right bearing in font
});
AJAX.loadComplete(SVG.fontDir + "/fontdata.js");
})(MathJax.OutputJax.SVG,MathJax.ElementJax.mml,MathJax.Ajax);