44 lines
2.0 KiB
JavaScript
44 lines
2.0 KiB
JavaScript
/*************************************************************
|
|
*
|
|
* MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/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_Greek'] = {
|
|
directory: 'Greek/Regular',
|
|
family: 'MathJax_Greek',
|
|
testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B),
|
|
0x20: [0,0,250,0,0], // SPACE
|
|
0xA0: [0,0,250,0,0], // NO-BREAK SPACE
|
|
0x393: [680,0,625,25,582], // GREEK CAPITAL LETTER GAMMA
|
|
0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA
|
|
0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA
|
|
0x39B: [716,0,694,32,661], // GREEK CAPITAL LETTER LAMDA
|
|
0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI
|
|
0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI
|
|
0x3A3: [683,0,722,55,666], // GREEK CAPITAL LETTER SIGMA
|
|
0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON
|
|
0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI
|
|
0x3A8: [683,0,778,55,722], // GREEK CAPITAL LETTER PSI
|
|
0x3A9: [704,0,722,44,677] // GREEK CAPITAL LETTER OMEGA
|
|
};
|
|
|
|
MathJax.Callback.Queue(
|
|
["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Greek"],
|
|
["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Greek/Regular/Main.js"]
|
|
);
|