Main.js (3858B)
1 /************************************************************* 2 * 3 * MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js 4 * 5 * Copyright (c) 2009-2015 The MathJax Consortium 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 * 19 */ 20 21 MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Caligraphic'] = { 22 directory: 'Caligraphic/Regular', 23 family: 'MathJax_Caligraphic', 24 testString: "MATHJAX CALIGRAPHIC", 25 skew: { 26 0x41: 0.194, 27 0x42: 0.139, 28 0x43: 0.139, 29 0x44: 0.0833, 30 0x45: 0.111, 31 0x46: 0.111, 32 0x47: 0.111, 33 0x48: 0.111, 34 0x49: 0.0278, 35 0x4A: 0.167, 36 0x4B: 0.0556, 37 0x4C: 0.139, 38 0x4D: 0.139, 39 0x4E: 0.0833, 40 0x4F: 0.111, 41 0x50: 0.0833, 42 0x51: 0.111, 43 0x52: 0.0833, 44 0x53: 0.139, 45 0x54: 0.0278, 46 0x55: 0.0833, 47 0x56: 0.0278, 48 0x57: 0.0833, 49 0x58: 0.139, 50 0x59: 0.0833, 51 0x5A: 0.139 52 }, 53 0x20: [0,0,250,0,0], // SPACE 54 0x30: [452,22,500,39,460], // DIGIT ZERO 55 0x31: [453,0,500,86,426], // DIGIT ONE 56 0x32: [453,0,500,44,449], // DIGIT TWO 57 0x33: [452,216,500,42,456], // DIGIT THREE 58 0x34: [464,194,500,28,471], // DIGIT FOUR 59 0x35: [453,216,500,50,448], // DIGIT FIVE 60 0x36: [665,22,500,42,456], // DIGIT SIX 61 0x37: [463,216,500,55,485], // DIGIT SEVEN 62 0x38: [666,21,500,43,456], // DIGIT EIGHT 63 0x39: [453,216,500,42,457], // DIGIT NINE 64 0x41: [728,50,798,30,819], // LATIN CAPITAL LETTER A 65 0x42: [705,22,657,32,664], // LATIN CAPITAL LETTER B 66 0x43: [705,25,527,12,533], // LATIN CAPITAL LETTER C 67 0x44: [683,0,771,19,766], // LATIN CAPITAL LETTER D 68 0x45: [705,22,528,30,564], // LATIN CAPITAL LETTER E 69 0x46: [683,32,719,18,829], // LATIN CAPITAL LETTER F 70 0x47: [704,119,595,44,599], // LATIN CAPITAL LETTER G 71 0x48: [683,48,845,18,803], // LATIN CAPITAL LETTER H 72 0x49: [683,0,545,-30,642], // LATIN CAPITAL LETTER I 73 0x4A: [683,119,678,47,839], // LATIN CAPITAL LETTER J 74 0x4B: [705,22,762,32,732], // LATIN CAPITAL LETTER K 75 0x4C: [705,22,690,32,656], // LATIN CAPITAL LETTER L 76 0x4D: [705,50,1201,28,1137], // LATIN CAPITAL LETTER M 77 0x4E: [789,50,820,-27,979], // LATIN CAPITAL LETTER N 78 0x4F: [705,22,796,58,777], // LATIN CAPITAL LETTER O 79 0x50: [683,57,696,19,733], // LATIN CAPITAL LETTER P 80 0x51: [705,131,817,114,787], // LATIN CAPITAL LETTER Q 81 0x52: [682,22,848,19,837], // LATIN CAPITAL LETTER R 82 0x53: [705,22,606,18,642], // LATIN CAPITAL LETTER S 83 0x54: [717,68,545,34,833], // LATIN CAPITAL LETTER T 84 0x55: [683,28,626,-17,687], // LATIN CAPITAL LETTER U 85 0x56: [683,52,613,25,658], // LATIN CAPITAL LETTER V 86 0x57: [683,53,988,25,1034], // LATIN CAPITAL LETTER W 87 0x58: [683,0,713,52,807], // LATIN CAPITAL LETTER X 88 0x59: [683,143,668,31,714], // LATIN CAPITAL LETTER Y 89 0x5A: [683,0,725,37,767], // LATIN CAPITAL LETTER Z 90 0xA0: [0,0,250,0,0] // NO-BREAK SPACE 91 }; 92 93 MathJax.Callback.Queue( 94 ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Caligraphic"], 95 ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Caligraphic/Regular/Main.js"] 96 );