www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

Caligraphic-Bold.js (3744B)


      1 /*************************************************************
      2  *
      3  *  MathJax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js
      4  *
      5  *  Copyright (c) 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 (function (CHTML) {
     22 
     23 var font = 'MathJax_Caligraphic-Bold';
     24 
     25 CHTML.FONTDATA.FONTS[font] = {
     26   className: CHTML.FONTDATA.familyName(font),
     27   centerline: 315, ascent: 840, descent: 211,
     28   weight: 'bold',
     29   skew: {
     30     0x41: 0.224,
     31     0x42: 0.16,
     32     0x43: 0.16,
     33     0x44: 0.0958,
     34     0x45: 0.128,
     35     0x46: 0.128,
     36     0x47: 0.128,
     37     0x48: 0.128,
     38     0x49: 0.0319,
     39     0x4A: 0.192,
     40     0x4B: 0.0639,
     41     0x4C: 0.16,
     42     0x4D: 0.16,
     43     0x4E: 0.0958,
     44     0x4F: 0.128,
     45     0x50: 0.0958,
     46     0x51: 0.128,
     47     0x52: 0.0958,
     48     0x53: 0.16,
     49     0x54: 0.0319,
     50     0x55: 0.0958,
     51     0x56: 0.0319,
     52     0x57: 0.0958,
     53     0x58: 0.16,
     54     0x59: 0.0958,
     55     0x5A: 0.16
     56   },
     57   0x20: [0,0,250,0,0],               // SPACE
     58   0x30: [460,17,575,46,528],         // DIGIT ZERO
     59   0x31: [461,0,575,80,494],          // DIGIT ONE
     60   0x32: [460,0,575,51,517],          // DIGIT TWO
     61   0x33: [461,211,575,48,525],        // DIGIT THREE
     62   0x34: [469,194,575,32,542],        // DIGIT FOUR
     63   0x35: [461,211,575,57,517],        // DIGIT FIVE
     64   0x36: [660,17,575,48,526],         // DIGIT SIX
     65   0x37: [476,211,575,64,558],        // DIGIT SEVEN
     66   0x38: [661,17,575,48,526],         // DIGIT EIGHT
     67   0x39: [461,210,575,48,526],        // DIGIT NINE
     68   0x41: [751,49,921,39,989],         // LATIN CAPITAL LETTER A
     69   0x42: [705,17,748,40,740],         // LATIN CAPITAL LETTER B
     70   0x43: [703,20,613,20,599],         // LATIN CAPITAL LETTER C
     71   0x44: [686,0,892,20,885],          // LATIN CAPITAL LETTER D
     72   0x45: [703,16,607,37,627],         // LATIN CAPITAL LETTER E
     73   0x46: [686,30,814,17,930],         // LATIN CAPITAL LETTER F
     74   0x47: [703,113,682,50,671],        // LATIN CAPITAL LETTER G
     75   0x48: [686,48,987,20,946],         // LATIN CAPITAL LETTER H
     76   0x49: [686,0,642,-27,746],         // LATIN CAPITAL LETTER I
     77   0x4A: [686,114,779,53,937],        // LATIN CAPITAL LETTER J
     78   0x4B: [703,17,871,40,834],         // LATIN CAPITAL LETTER K
     79   0x4C: [703,17,788,41,751],         // LATIN CAPITAL LETTER L
     80   0x4D: [703,49,1378,38,1353],       // LATIN CAPITAL LETTER M
     81   0x4E: [840,49,937,-24,1105],       // LATIN CAPITAL LETTER N
     82   0x4F: [703,17,906,63,882],         // LATIN CAPITAL LETTER O
     83   0x50: [686,67,810,20,846],         // LATIN CAPITAL LETTER P
     84   0x51: [703,146,939,120,905],       // LATIN CAPITAL LETTER Q
     85   0x52: [686,17,990,20,981],         // LATIN CAPITAL LETTER R
     86   0x53: [703,16,696,25,721],         // LATIN CAPITAL LETTER S
     87   0x54: [720,69,644,38,947],         // LATIN CAPITAL LETTER T
     88   0x55: [686,24,715,-10,771],        // LATIN CAPITAL LETTER U
     89   0x56: [686,77,737,25,774],         // LATIN CAPITAL LETTER V
     90   0x57: [686,77,1169,25,1206],       // LATIN CAPITAL LETTER W
     91   0x58: [686,-1,817,56,906],         // LATIN CAPITAL LETTER X
     92   0x59: [686,164,759,36,797],        // LATIN CAPITAL LETTER Y
     93   0x5A: [686,0,818,46,853],          // LATIN CAPITAL LETTER Z
     94   0xA0: [0,0,250,0,0]                // NO-BREAK SPACE
     95 };
     96 
     97 CHTML.fontLoaded("TeX/"+font.substr(8));
     98 
     99 })(MathJax.OutputJax.CommonHTML);