45 lines
2.0 KiB
JavaScript
45 lines
2.0 KiB
JavaScript
/*************************************************************
|
|
*
|
|
* MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/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-bold'] = {
|
|
directory: 'Greek/Bold',
|
|
family: 'MathJax_Greek',
|
|
weight: 'bold',
|
|
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,692,39,643], // GREEK CAPITAL LETTER GAMMA
|
|
0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA
|
|
0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA
|
|
0x39B: [698,0,806,40,765], // GREEK CAPITAL LETTER LAMDA
|
|
0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI
|
|
0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI
|
|
0x3A3: [686,0,831,64,766], // GREEK CAPITAL LETTER SIGMA
|
|
0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON
|
|
0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI
|
|
0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI
|
|
0x3A9: [696,1,831,51,779] // GREEK CAPITAL LETTER OMEGA
|
|
};
|
|
|
|
MathJax.Callback.Queue(
|
|
["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Greek-bold"],
|
|
["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Greek/Bold/Main.js"]
|
|
);
|