Main.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/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_Caligraphic'] = {
  21. directory: 'Caligraphic/Regular',
  22. family: 'MathJax_Caligraphic',
  23. testString: "MATHJAX CALIGRAPHIC",
  24. skew: {
  25. 0x41: 0.194,
  26. 0x42: 0.139,
  27. 0x43: 0.139,
  28. 0x44: 0.0833,
  29. 0x45: 0.111,
  30. 0x46: 0.111,
  31. 0x47: 0.111,
  32. 0x48: 0.111,
  33. 0x49: 0.0278,
  34. 0x4A: 0.167,
  35. 0x4B: 0.0556,
  36. 0x4C: 0.139,
  37. 0x4D: 0.139,
  38. 0x4E: 0.0833,
  39. 0x4F: 0.111,
  40. 0x50: 0.0833,
  41. 0x51: 0.111,
  42. 0x52: 0.0833,
  43. 0x53: 0.139,
  44. 0x54: 0.0278,
  45. 0x55: 0.0833,
  46. 0x56: 0.0278,
  47. 0x57: 0.0833,
  48. 0x58: 0.139,
  49. 0x59: 0.0833,
  50. 0x5A: 0.139
  51. },
  52. 0x20: [0,0,250,0,0], // SPACE
  53. 0x30: [452,22,500,39,460], // DIGIT ZERO
  54. 0x31: [453,0,500,86,426], // DIGIT ONE
  55. 0x32: [453,0,500,44,449], // DIGIT TWO
  56. 0x33: [452,216,500,42,456], // DIGIT THREE
  57. 0x34: [464,194,500,28,471], // DIGIT FOUR
  58. 0x35: [453,216,500,50,448], // DIGIT FIVE
  59. 0x36: [665,22,500,42,456], // DIGIT SIX
  60. 0x37: [463,216,500,55,485], // DIGIT SEVEN
  61. 0x38: [666,21,500,43,456], // DIGIT EIGHT
  62. 0x39: [453,216,500,42,457], // DIGIT NINE
  63. 0x41: [728,50,798,30,819], // LATIN CAPITAL LETTER A
  64. 0x42: [705,22,657,32,664], // LATIN CAPITAL LETTER B
  65. 0x43: [705,25,527,12,533], // LATIN CAPITAL LETTER C
  66. 0x44: [683,0,771,19,766], // LATIN CAPITAL LETTER D
  67. 0x45: [705,22,528,30,564], // LATIN CAPITAL LETTER E
  68. 0x46: [683,32,719,18,829], // LATIN CAPITAL LETTER F
  69. 0x47: [704,119,595,44,599], // LATIN CAPITAL LETTER G
  70. 0x48: [683,48,845,18,803], // LATIN CAPITAL LETTER H
  71. 0x49: [683,0,545,-30,642], // LATIN CAPITAL LETTER I
  72. 0x4A: [683,119,678,47,839], // LATIN CAPITAL LETTER J
  73. 0x4B: [705,22,762,32,732], // LATIN CAPITAL LETTER K
  74. 0x4C: [705,22,690,32,656], // LATIN CAPITAL LETTER L
  75. 0x4D: [705,50,1201,28,1137], // LATIN CAPITAL LETTER M
  76. 0x4E: [789,50,820,-27,979], // LATIN CAPITAL LETTER N
  77. 0x4F: [705,22,796,58,777], // LATIN CAPITAL LETTER O
  78. 0x50: [683,57,696,19,733], // LATIN CAPITAL LETTER P
  79. 0x51: [705,131,817,114,787], // LATIN CAPITAL LETTER Q
  80. 0x52: [682,22,848,19,837], // LATIN CAPITAL LETTER R
  81. 0x53: [705,22,606,18,642], // LATIN CAPITAL LETTER S
  82. 0x54: [717,68,545,34,833], // LATIN CAPITAL LETTER T
  83. 0x55: [683,28,626,-17,687], // LATIN CAPITAL LETTER U
  84. 0x56: [683,52,613,25,658], // LATIN CAPITAL LETTER V
  85. 0x57: [683,53,988,25,1034], // LATIN CAPITAL LETTER W
  86. 0x58: [683,0,713,52,807], // LATIN CAPITAL LETTER X
  87. 0x59: [683,143,668,31,714], // LATIN CAPITAL LETTER Y
  88. 0x5A: [683,0,725,37,767], // LATIN CAPITAL LETTER Z
  89. 0xA0: [0,0,250,0,0] // NO-BREAK SPACE
  90. };
  91. MathJax.Callback.Queue(
  92. ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Caligraphic"],
  93. ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Caligraphic/Regular/Main.js"]
  94. );