scribble-math/unpacked/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js
2010-11-13 12:38:42 -06:00

36 lines
1.4 KiB
JavaScript

/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js
*
* Copyright (c) 2009-2010 Design Science, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
MathJax.Hub.Insert(
MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'],
{
0x2580: [910,-304,1213,0,1213], // UPPER HALF BLOCK
0x2584: [303,303,1213,0,1213], // LOWER HALF BLOCK
0x2588: [910,303,1213,0,1213], // FULL BLOCK
0x258C: [910,303,1212,0,606], // LEFT HALF BLOCK
0x2590: [910,303,1212,606,1212], // RIGHT HALF BLOCK
0x2591: [860,258,1200,0,1200], // LIGHT SHADE
0x2592: [874,273,1200,0,1200], // MEDIUM SHADE
0x2593: [874,273,1200,0,1200] // DARK SHADE
}
);
MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BlockElements.js");