re-add mathml.js
[lambda.git] / jsMath / plugins / noImageFonts.js
1 /*
2  *  noImageFonts.js
3  *  
4  *  Part of the jsMath package for mathematics on the web.
5  *
6  *  This file indicates that no image fonts are available.
7  *  It should be loaded BEFORE jsMath.js is loaded.
8  *
9  *  ---------------------------------------------------------------------
10  *
11  *  Copyright 2004-2009 by Davide P. Cervone
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 License at
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 if (!window.jsMath) {window.jsMath = {}}
27 jsMath.noImgFonts = 1;
28
29 if (!jsMath.Font) {jsMath.Font = {}}
30 if (!jsMath.Font.message) {
31   jsMath.Font.message =
32     '<b>No jsMath TeX fonts found</b> -- using unicode fonts instead.<br/>\n'
33       + 'This may be slow and might not print well.<br/>\n'
34       + 'Use the jsMath control panel to get additional information.';
35 }
36 if (!jsMath.Font.extra_message) {
37   jsMath.Font.extra_message =
38     'Extra TeX fonts not found: <b><span id="jsMath_ExtraFonts"></span></b><br/>'
39       + 'Using unicode fonts instead.  This may be slow and might not print well.<br/>\n'
40       + 'Use the jsMath control panel to get additional information.';
41 }