www

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

Main.js (3234B)


      1 /*************************************************************
      2  *
      3  *  MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/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['STIXNonUnicode'] = {
     22   directory: 'NonUnicode/Regular',
     23   family: 'STIXNonUnicode',
     24   Ranges: [
     25     [0x20,0x20,"All"],
     26     [0xA0,0xA0,"All"],
     27     [0xE000,0xF8FF,"PrivateUse"]
     28   ],
     29   0xE000: [610,25,1184,829,895],     // stix-radical symbol vertical extender
     30   0xE001: [667,-41,1184,829,1211],   // stix-radical symbol top corner piece
     31   0xE138: [634,-584,480,-10,490],    // stix-horizontal extender for multiple character over accent arrows, harpoons, line
     32   0xE139: [-127,177,480,-10,490],    // stix-horizontal extender for multiple character under accent arrows, harpoons, line
     33   0xE13B: [955,-512,897,-25,908],    // stix-left end of extensible overbrace (CMEX10 x3A rotated 90deg)
     34   0xE13C: [955,-512,897,-11,922],    // stix-right end of extensible overbrace (CMEX10 x38 rotated 90deg)
     35   0xE13D: [182,261,897,-25,908],     // stix-left end of extensible underbrace (CMEX10 x3B rotated 90deg)
     36   0xE13E: [182,261,897,-11,922],     // stix-right end of extensible underbrace (CMEX10 x39 rotated 90deg)
     37   0xE140: [1218,-820,1844,-10,1854], // stix-center of extensible overbrace (CMEX10 x3C rotated 90deg)
     38   0xE141: [-126,524,1844,-10,1854],  // stix-center of extensible underbrace (CMEX10 x3D rotated 90deg)
     39   0xE14A: [955,-820,633,-1,634],     // stix-extensible horizontal for over paren or square bracket (CMEX10 x42 rotated 90deg)
     40   0xE14B: [-126,261,633,-1,634],     // stix-extensible horizontal for under paren or square bracket (CMEX10 x43 rotated 90deg)
     41   0xE261: [422,10,523,41,481],       // stix-old style digit 0
     42   0xE265: [421,0,523,127,405],       // stix-old style digit 1
     43   0xE269: [421,0,523,68,455],        // stix-old style digit 2
     44   0xE26D: [424,198,523,47,463],      // stix-old style digit 3
     45   0xE271: [420,198,523,58,480],      // stix-old style digit 4
     46   0xE275: [421,198,523,66,457],      // stix-old style digit 5
     47   0xE279: [612,8,523,37,486],        // stix-old style digit 6
     48   0xE27D: [421,198,523,25,490],      // stix-old style digit 7
     49   0xE281: [606,12,523,47,477],       // stix-old style digit 8
     50   0xE285: [421,200,523,41,483],      // stix-old style digit 9
     51   0xE28F: [135,0,325,-1,326],        // stix-short horizontal extender at baseline
     52   0xE290: [135,0,633,-1,634]         // stix-long horizontal extender at baseline
     53 };
     54 
     55 MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode");
     56 
     57 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Regular/Main.js");