www

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

Other.js (1812B)


      1 /*************************************************************
      2  *
      3  *  MathJax/fonts/HTML-CSS/TeX/png/Fraktur/Regular/Other.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_Fraktur": {
     29     0xA0: [  // NO-BREAK 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     0x2018: [  // LEFT SINGLE QUOTATION MARK
     34       [2,2,-2],[2,3,-3],[2,3,-4],[2,4,-5],[3,5,-5],[3,5,-7],[4,6,-7],[4,7,-9],
     35       [5,8,-11],[6,10,-14],[7,12,-16],[8,14,-18],[9,17,-21],[11,20,-26]
     36     ],
     37     0x2019: [  // RIGHT SINGLE QUOTATION MARK
     38       [2,2,-2],[2,3,-3],[2,3,-4],[2,4,-5],[3,5,-5],[3,5,-7],[4,6,-7],[4,7,-9],
     39       [5,8,-11],[6,10,-14],[7,12,-16],[8,14,-18],[10,17,-21],[11,20,-26]
     40     ]
     41   }
     42 });
     43 
     44 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Fraktur/Regular"+
     45                           MathJax.OutputJax["HTML-CSS"].imgPacked+"/Other.js");