Main.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js
  4. *
  5. * Copyright (c) 2009-2019 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. MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Script'] = {
  21. directory: 'Script/Regular',
  22. family: 'MathJax_Script',
  23. testString: "MATHJAX SCRIPT",
  24. skew: {
  25. 0x41: 0.389,
  26. 0x42: 0.194,
  27. 0x43: 0.278,
  28. 0x44: 0.111,
  29. 0x45: 0.139,
  30. 0x46: 0.222,
  31. 0x47: 0.25,
  32. 0x48: 0.333,
  33. 0x49: 0.333,
  34. 0x4A: 0.417,
  35. 0x4B: 0.361,
  36. 0x4C: 0.306,
  37. 0x4D: 0.444,
  38. 0x4E: 0.389,
  39. 0x4F: 0.167,
  40. 0x50: 0.222,
  41. 0x51: 0.278,
  42. 0x52: 0.194,
  43. 0x53: 0.333,
  44. 0x54: 0.222,
  45. 0x55: 0.25,
  46. 0x56: 0.222,
  47. 0x57: 0.25,
  48. 0x58: 0.278,
  49. 0x59: 0.194,
  50. 0x5A: 0.306
  51. },
  52. Ranges: [
  53. [0x0,0x7F,"BasicLatin"],
  54. [0x80,0xFFFF,"Other"]
  55. ]
  56. };
  57. MathJax.Callback.Queue(
  58. ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Script"],
  59. ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Script/Regular/Main.js"]
  60. );