www

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

BlockElements.js (1419B)


      1 /*************************************************************
      2  *
      3  *  MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.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.Hub.Insert(
     22   MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'],
     23   {
     24     0x2580: [910,-304,1213,0,1213],    // UPPER HALF BLOCK
     25     0x2584: [303,303,1213,0,1213],     // LOWER HALF BLOCK
     26     0x2588: [910,303,1213,0,1213],     // FULL BLOCK
     27     0x258C: [910,303,1212,0,606],      // LEFT HALF BLOCK
     28     0x2590: [910,303,1212,606,1212],   // RIGHT HALF BLOCK
     29     0x2591: [860,258,1200,0,1200],     // LIGHT SHADE
     30     0x2592: [874,273,1200,0,1200],     // MEDIUM SHADE
     31     0x2593: [874,273,1200,0,1200]      // DARK SHADE
     32   }
     33 );
     34 
     35 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BlockElements.js");