www

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

GeneralPunctuation.js (4265B)


      1 /*************************************************************
      2  *
      3  *  MathJax/fonts/HTML-CSS/TeX/png/Main/Bold/GeneralPunctuation.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_Main-bold": {
     29     0x2002: [  // ??
     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     0x2003: [  // ??
     34       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
     35       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
     36     ],
     37     0x2004: [  // ??
     38       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
     39       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
     40     ],
     41     0x2005: [  // ??
     42       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
     43       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
     44     ],
     45     0x2006: [  // ??
     46       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
     47       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
     48     ],
     49     0x2009: [  // ??
     50       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
     51       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
     52     ],
     53     0x200A: [  // ??
     54       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
     55       [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
     56     ],
     57     0x2013: [  // EN DASH
     58       [4,1,-1],[5,1,-2],[6,1,-3],[7,1,-3],[8,1,-3],[10,1,-4],[12,2,-4],[14,3,-5],
     59       [16,3,-6],[19,2,-8],[23,3,-10],[27,3,-12],[32,3,-14],[38,4,-17]
     60     ],
     61     0x2014: [  // EM DASH
     62       [8,1,-1],[10,1,-2],[12,1,-3],[14,1,-3],[16,1,-3],[20,1,-4],[23,2,-4],[27,3,-5],
     63       [32,3,-6],[38,2,-8],[45,3,-10],[54,3,-12],[64,3,-14],[76,4,-17]
     64     ],
     65     0x2018: [  // LEFT SINGLE QUOTATION MARK
     66       [2,3,-2],[3,3,-3],[3,4,-4],[3,4,-4],[4,5,-4],[5,7,-5],[5,8,-6],[6,9,-8],
     67       [7,11,-9],[9,12,-11],[10,15,-13],[12,17,-15],[14,20,-18],[17,25,-21]
     68     ],
     69     0x2019: [  // RIGHT SINGLE QUOTATION MARK
     70       [2,3,-2],[3,4,-2],[3,4,-4],[4,4,-4],[4,5,-4],[5,7,-5],[6,8,-6],[7,9,-8],
     71       [8,11,-9],[9,13,-10],[11,15,-13],[13,17,-15],[15,20,-18],[18,25,-21]
     72     ],
     73     0x201C: [  // LEFT DOUBLE QUOTATION MARK
     74       [4,3,-2],[5,3,-3],[6,4,-4],[7,4,-4],[8,5,-4],[10,7,-5],[11,8,-6],[14,9,-8],
     75       [16,11,-9],[19,12,-11],[23,15,-13],[27,17,-15],[32,20,-18],[38,25,-21]
     76     ],
     77     0x201D: [  // RIGHT DOUBLE QUOTATION MARK
     78       [4,3,-2],[5,4,-2],[5,4,-4],[6,4,-4],[7,5,-4],[9,7,-5],[10,8,-6],[12,9,-8],
     79       [14,11,-9],[17,13,-10],[20,15,-13],[23,17,-15],[28,20,-18],[33,25,-21]
     80     ],
     81     0x2020: [  // DAGGER
     82       [4,6,1],[4,8,2],[5,10,2],[6,10,2],[7,12,3],[8,15,3],[9,18,4],[11,22,5],
     83       [13,26,6],[15,29,6],[18,36,8],[21,41,9],[25,49,11],[30,61,14]
     84     ],
     85     0x2021: [  // DOUBLE DAGGER
     86       [4,6,1],[4,8,2],[5,10,2],[6,10,2],[7,12,3],[8,15,3],[9,18,4],[11,22,5],
     87       [13,26,6],[15,29,6],[18,36,8],[21,41,9],[25,49,11],[29,59,13]
     88     ],
     89     0x2026: [  // HORIZONTAL ELLIPSIS
     90       [9,2,0],[11,2,0],[12,2,0],[15,2,0],[17,3,0],[21,4,0],[24,4,0],[29,5,0],
     91       [34,5,0],[41,6,0],[48,7,0],[57,8,0],[68,10,0],[81,12,0]
     92     ],
     93     0x2032: [  // PRIME
     94       [3,4,0],[3,5,0],[4,6,0],[4,6,0],[5,7,0],[6,10,-1],[7,11,-1],[8,13,-1],
     95       [10,15,-1],[11,18,-1],[13,21,-1],[16,25,-2],[19,30,-2],[22,35,-2]
     96     ]
     97   }
     98 });
     99 
    100 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Main/Bold"+
    101                           MathJax.OutputJax["HTML-CSS"].imgPacked+"/GeneralPunctuation.js");