www

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

BasicLatin.js (6424B)


      1 /*************************************************************
      2  *
      3  *  MathJax/fonts/HTML-CSS/TeX/png/Script/Regular/BasicLatin.js
      4  *  
      5  *  Defines the image size data needed for the HTML-CSS OutputJax
      6  *  to display mathematics using fallback images when the fonts
      7  *  are not availble to the client browser.
      8  *
      9  *  ---------------------------------------------------------------------
     10  *
     11  *  Copyright (c) 2009-2013 The MathJax Consortium
     12  *
     13  *  Licensed under the Apache License, Version 2.0 (the "License");
     14  *  you may not use this file except in compliance with the License.
     15  *  You may obtain a copy of the
     16  *
     17  *     http://www.apache.org/licenses/LICENSE-2.0
     18  *
     19  *  Unless required by applicable law or agreed to in writing, software
     20  *  distributed under the License is distributed on an "AS IS" BASIS,
     21  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     22  *  See the License for the specific language governing permissions and
     23  *  limitations under the License.
     24  *
     25  */
     26 
     27 MathJax.OutputJax["HTML-CSS"].defineImageData({
     28   "MathJax_Script": {
     29     0x20: [  // SPACE
     30       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
     31       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
     32     ],
     33     0x41: [  // LATIN CAPITAL LETTER A
     34       [7,5,0],[9,6,0],[10,7,0],[12,9,0],[14,10,0],[17,12,0],[20,14,0],[24,17,0],
     35       [28,20,0],[34,25,1],[40,29,1],[48,34,1],[56,41,1],[67,48,1]
     36     ],
     37     0x42: [  // LATIN CAPITAL LETTER B
     38       [7,5,0],[8,6,0],[10,7,0],[11,8,0],[13,10,0],[16,12,0],[19,14,0],[22,17,0],
     39       [26,20,0],[31,24,1],[37,30,1],[44,35,1],[52,40,2],[62,48,2]
     40     ],
     41     0x43: [  // LATIN CAPITAL LETTER C
     42       [6,5,0],[7,6,0],[9,7,0],[10,9,0],[12,10,0],[14,12,0],[16,14,0],[20,17,0],
     43       [23,20,0],[27,25,1],[33,29,1],[39,34,1],[46,41,1],[54,50,3]
     44     ],
     45     0x44: [  // LATIN CAPITAL LETTER D
     46       [6,5,0],[8,6,0],[9,7,0],[11,8,0],[12,10,0],[15,12,0],[17,14,0],[20,17,0],
     47       [24,20,0],[29,25,1],[34,30,2],[40,35,2],[48,42,2],[57,49,2]
     48     ],
     49     0x45: [  // LATIN CAPITAL LETTER E
     50       [5,5,0],[6,6,0],[8,7,0],[9,8,0],[10,10,0],[12,12,0],[14,14,0],[17,17,0],
     51       [20,20,0],[24,24,1],[29,28,1],[34,33,1],[40,40,0],[48,47,1]
     52     ],
     53     0x46: [  // LATIN CAPITAL LETTER F
     54       [7,5,0],[9,6,0],[10,7,0],[12,8,0],[14,10,0],[17,12,0],[20,14,0],[24,17,0],
     55       [28,21,1],[33,26,2],[39,31,2],[47,36,2],[55,43,2],[66,51,2]
     56     ],
     57     0x47: [  // LATIN CAPITAL LETTER G
     58       [6,5,0],[7,6,0],[8,7,0],[9,9,0],[11,10,0],[13,12,0],[15,14,0],[18,17,0],
     59       [21,22,2],[25,25,1],[29,30,2],[35,35,2],[41,42,2],[49,50,3]
     60     ],
     61     0x48: [  // LATIN CAPITAL LETTER H
     62       [9,5,0],[11,6,0],[13,7,0],[15,8,0],[18,10,0],[21,12,0],[25,14,0],[29,17,0],
     63       [35,20,0],[41,25,1],[49,30,2],[58,35,2],[69,42,2],[82,50,3]
     64     ],
     65     0x49: [  // LATIN CAPITAL LETTER I
     66       [7,5,0],[8,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[22,17,0],
     67       [27,20,0],[32,25,1],[38,29,1],[44,34,1],[53,41,1],[63,48,1]
     68     ],
     69     0x4A: [  // LATIN CAPITAL LETTER J
     70       [8,7,2],[10,9,3],[12,10,3],[14,12,4],[16,14,4],[19,17,5],[22,20,6],[27,24,7],
     71       [32,28,8],[38,36,12],[45,41,13],[53,48,15],[63,57,17],[75,68,21]
     72     ],
     73     0x4B: [  // LATIN CAPITAL LETTER K
     74       [9,5,0],[10,6,0],[12,7,0],[15,8,0],[17,10,0],[20,12,0],[24,14,0],[28,17,0],
     75       [34,21,1],[40,26,2],[48,30,2],[56,35,2],[67,43,3],[80,50,3]
     76     ],
     77     0x4C: [  // LATIN CAPITAL LETTER L
     78       [8,5,0],[9,6,0],[11,7,0],[13,8,0],[15,10,0],[18,12,0],[21,14,0],[25,17,0],
     79       [29,20,0],[35,25,1],[41,29,1],[49,34,1],[58,41,1],[69,48,1]
     80     ],
     81     0x4D: [  // LATIN CAPITAL LETTER M
     82       [9,5,0],[11,6,0],[12,7,0],[15,8,0],[17,10,0],[21,12,0],[24,15,1],[29,18,1],
     83       [34,21,1],[40,27,3],[48,31,3],[57,36,3],[68,43,3],[80,51,4]
     84     ],
     85     0x4E: [  // LATIN CAPITAL LETTER N
     86       [9,5,0],[11,6,0],[12,7,0],[15,8,0],[17,10,0],[21,12,0],[24,14,0],[29,17,0],
     87       [34,22,2],[40,27,3],[48,31,3],[57,36,2],[67,42,2],[80,51,2]
     88     ],
     89     0x4F: [  // LATIN CAPITAL LETTER O
     90       [6,5,0],[7,6,0],[8,7,0],[10,8,0],[12,10,0],[14,12,0],[16,14,0],[19,17,0],
     91       [23,20,0],[27,25,1],[32,29,1],[38,33,0],[45,40,0],[53,47,0]
     92     ],
     93     0x50: [  // LATIN CAPITAL LETTER P
     94       [8,5,0],[9,6,0],[11,7,0],[13,8,0],[15,10,0],[18,12,0],[21,14,0],[24,17,0],
     95       [29,22,2],[34,25,1],[41,30,2],[48,35,2],[57,42,2],[68,50,3]
     96     ],
     97     0x51: [  // LATIN CAPITAL LETTER Q
     98       [7,5,0],[8,6,0],[9,7,0],[11,8,0],[13,10,0],[15,12,0],[18,14,0],[21,17,0],
     99       [25,20,0],[30,25,1],[35,29,1],[42,34,1],[49,41,1],[59,48,1]
    100     ],
    101     0x52: [  // LATIN CAPITAL LETTER R
    102       [8,5,0],[9,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[22,17,0],
    103       [26,20,0],[31,25,1],[36,29,1],[43,34,1],[50,41,1],[60,48,1]
    104     ],
    105     0x53: [  // LATIN CAPITAL LETTER S
    106       [8,5,0],[9,6,0],[10,7,0],[12,9,0],[15,10,0],[17,12,0],[20,14,0],[24,17,0],
    107       [29,21,1],[34,25,1],[40,30,2],[48,35,2],[57,42,2],[67,49,2]
    108     ],
    109     0x54: [  // LATIN CAPITAL LETTER T
    110       [7,5,0],[9,6,0],[10,7,0],[12,8,0],[14,10,0],[17,12,0],[20,14,0],[24,17,0],
    111       [28,22,2],[33,27,2],[39,31,2],[47,36,2],[55,43,2],[66,51,2]
    112     ],
    113     0x55: [  // LATIN CAPITAL LETTER U
    114       [7,5,0],[8,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[23,17,0],
    115       [27,20,0],[32,25,1],[38,29,1],[45,34,1],[53,41,1],[64,48,1]
    116     ],
    117     0x56: [  // LATIN CAPITAL LETTER V
    118       [6,5,0],[8,6,0],[9,7,0],[10,8,0],[12,10,0],[15,12,0],[17,14,0],[20,17,0],
    119       [24,20,0],[28,25,1],[34,29,1],[40,34,1],[47,41,1],[56,48,1]
    120     ],
    121     0x57: [  // LATIN CAPITAL LETTER W
    122       [8,6,1],[9,7,1],[11,8,1],[13,9,1],[15,11,1],[18,13,1],[20,15,1],[24,18,1],
    123       [29,21,1],[34,26,2],[41,30,2],[48,35,2],[57,42,2],[68,49,2]
    124     ],
    125     0x58: [  // LATIN CAPITAL LETTER X
    126       [8,5,0],[10,6,0],[12,7,0],[14,8,0],[16,10,0],[19,12,0],[23,14,0],[27,17,0],
    127       [32,20,0],[38,25,1],[45,29,1],[53,34,1],[63,41,1],[75,48,1]
    128     ],
    129     0x59: [  // LATIN CAPITAL LETTER Y
    130       [7,5,0],[8,6,0],[10,7,0],[12,8,0],[14,10,0],[16,12,0],[19,14,0],[23,17,0],
    131       [27,20,0],[32,25,1],[38,29,1],[45,34,1],[54,41,1],[64,48,1]
    132     ],
    133     0x5A: [  // LATIN CAPITAL LETTER Z
    134       [8,5,0],[9,6,0],[11,7,0],[13,8,0],[15,10,0],[18,12,0],[21,14,0],[24,17,0],
    135       [29,20,0],[34,25,1],[41,29,1],[48,34,1],[57,41,1],[68,48,1]
    136     ]
    137   }
    138 });
    139 
    140 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Script/Regular"+
    141                           MathJax.OutputJax["HTML-CSS"].imgPacked+"/BasicLatin.js");