Use web-fonts by default for unknown browsers. Addresses issue #317.
This commit is contained in:
parent
be28147f2d
commit
beff612f53
|
@ -2334,9 +2334,12 @@ MathJax.Hub.Startup = {
|
|||
isMac: (navigator.platform.substr(0,3) === "Mac"),
|
||||
isPC: (navigator.platform.substr(0,3) === "Win"),
|
||||
isMSIE: (window.ActiveXObject != null && window.clipboardData != null),
|
||||
isFirefox: (window.netscape != null && document.ATTRIBUTE_NODE != null && !window.opera),
|
||||
/*
|
||||
isFirefox: ((window.netscape != null || window.mozPaintCount != null) &&
|
||||
document.ATTRIBUTE_NODE != null && !window.opera),
|
||||
isSafari: (navigator.userAgent.match(/ (Apple)?WebKit\//) != null &&
|
||||
(!window.chrome || window.chrome.loadTimes == null)),
|
||||
*/
|
||||
isChrome: (window.chrome != null && window.chrome.loadTimes != null),
|
||||
isOpera: (window.opera != null && window.opera.version != null),
|
||||
isKonqueror: (window.hasOwnProperty && window.hasOwnProperty("konqueror") && navigator.vendor == "KDE"),
|
||||
|
|
|
@ -292,8 +292,9 @@
|
|||
|
||||
hideProcessedMath: true, // use display:none until all math is processed
|
||||
|
||||
Font: null, // created by Config() below
|
||||
Font: null, // created by Config() below
|
||||
webFontDefault: "MathJax_Blank",
|
||||
allowWebFonts: "otf", // assume browser can use OTF web fonts
|
||||
|
||||
Config: function () {
|
||||
if (!this.require) {this.require = []}
|
||||
|
|
Loading…
Reference in New Issue
Block a user