FontWarnings.js 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
  2. /* vim: set ts=2 et sw=2 tw=80: */
  3. /*************************************************************
  4. *
  5. * MathJax/localization/en/FontWarnings.js
  6. *
  7. * Copyright (c) 2013 The MathJax Consortium
  8. *
  9. * Licensed under the Apache License, Version 2.0 (the "License");
  10. * you may not use this file except in compliance with the License.
  11. * You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. *
  21. */
  22. MathJax.Localization.addTranslation("en","FontWarnings",{
  23. version: "2.2",
  24. isLoaded: true,
  25. strings: {
  26. webFont:
  27. "MathJax is using web-based fonts to display the mathematics "+
  28. "on this page. These take time to download, so the page would "+
  29. "render faster if you installed math fonts directly in your "+
  30. "system's font folder.",
  31. imageFonts:
  32. "MathJax is using its image fonts rather than local or web-based fonts. "+
  33. "This will render slower than usual, and the mathematics may not print "+
  34. "at the full resolution of your printer.",
  35. noFonts:
  36. "MathJax is unable to locate a font to use to display "+
  37. "its mathematics, and image fonts are not available, so it "+
  38. "is falling back on generic unicode characters in hopes that "+
  39. "your browser will be able to display them. Some characters "+
  40. "may not show up properly, or possibly not at all.",
  41. webFonts:
  42. "Most modern browsers allow for fonts to be downloaded over the web. "+
  43. "Updating to a more recent version of your browser (or changing "+
  44. "browsers) could improve the quality of the mathematics on this page.",
  45. fonts:
  46. "MathJax can use either the [STIX fonts](%1) or the [MathJax TeX fonts](%2). " +
  47. "Download and install one of those fonts to improve your MathJax experience.",
  48. STIXPage:
  49. "This page is designed to use the [STIX fonts](%1). " +
  50. "Download and install those fonts to improve your MathJax experience.",
  51. TeXPage:
  52. "This page is designed to use the [MathJax TeX fonts](%1). " +
  53. "Download and install those fonts to improve your MathJax experience."
  54. }
  55. });
  56. MathJax.Ajax.loadComplete("[MathJax]/localization/en/FontWarnings.js");