www

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

Main.js (1666B)


      1 /*************************************************************
      2  *
      3  *  MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/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['STIXSizeFiveSym'] = {
     22   directory: 'SizeFiveSym/Regular',
     23   family: 'STIXSizeFiveSym',
     24   Ranges: [
     25     [0x2B0,0x2FF,"All"],
     26     [0x300,0x338,"All"],
     27     [0x203E,0x203E,"All"],
     28     [0x20D0,0x20EF,"All"],
     29     [0x239B,0x23B9,"All"],
     30     [0x23DC,0x23E1,"All"]
     31   ],
     32   0x20: [0,0,250,0,0],               // SPACE
     33   0x5F: [-127,177,3000,0,3000],      // LOW LINE
     34   0xA0: [0,0,250,0,0],               // NO-BREAK SPACE
     35   0x302: [816,-572,0,-2485,-157],    // COMBINING CIRCUMFLEX ACCENT
     36   0x303: [780,-617,0,-2485,-157],    // COMBINING TILDE
     37   0x23DE: [181,90,3238,0,3238],      // TOP CURLY BRACKET (mathematical use)
     38   0x23DF: [844,-573,3238,0,3238]     // BOTTOM CURLY BRACKET (mathematical use)
     39 };
     40 
     41 MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeFiveSym");
     42 
     43 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFiveSym/Regular/Main.js");