Annotation of loncom/html/adm/jsMath/plugins/noImageFonts.js, revision 1.4

1.1       albertel    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:  *
1.2       albertel   11:  *  Copyright 2004-2006 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.
1.1       albertel   24:  */
                     25: 
1.3       albertel   26: if (!window.jsMath) {window.jsMath = {}}
1.4     ! albertel   27: jsMath.noImgFonts = 1;
        !            28: 
        !            29: if (!jsMath.Font) {jsMath.Font = {}}
        !            30: if (!jsMath.Font.extra_message) {
        !            31:   jsMath.Font.extra_message =
        !            32:     'Extra TeX fonts not found: <b><span id="jsMath_ExtraFonts"></span></b><br/>'
        !            33:       + 'Using unicode fonts instead.  This may be slow and might not print well.<br/>\n'
        !            34:       + 'Use the jsMath control panel to get additional information.';
        !            35: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>