45 lines
1.7 KiB
JavaScript
45 lines
1.7 KiB
JavaScript
/*************************************************************
|
|
*
|
|
* MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js
|
|
*
|
|
* Copyright (c) 2009-2010 Design Science, Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*
|
|
*/
|
|
|
|
MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinChrome'] = {
|
|
directory: 'WinChrome/Regular',
|
|
family: 'MathJax_WinChrome',
|
|
testString: "> T d "+String.fromCharCode(0x23A6)+" "+String.fromCharCode(0x2A00),
|
|
skew: {
|
|
0x54: 0.0278,
|
|
0xE2F0: 0.0319
|
|
},
|
|
0x20: [0,0,250,0,0], // SPACE
|
|
0x3E: [540,40,778,82,694], // GREATER-THAN SIGN
|
|
0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T
|
|
0x64: [694,11,511,100,567], // LATIN SMALL LETTER D
|
|
0xA0: [0,0,250,0,0], // NO-BREAK SPACE
|
|
0x22C3: [750,250,833,55,777], // N-ARY UNION
|
|
0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER
|
|
0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR
|
|
0xE2F0: [720,69,644,38,947], // ??
|
|
0xE2F1: [587,85,894,95,797] // ??
|
|
};
|
|
|
|
MathJax.Callback.Queue(
|
|
["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_WinChrome"],
|
|
["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/WinChrome/Regular/Main.js"]
|
|
);
|