Main.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/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_Greek'] = {
  21. directory: 'Greek/Regular',
  22. family: 'MathJax_Greek',
  23. testString: "\u0393 \u03A5 \u039B",
  24. 0x20: [0,0,250,0,0], // SPACE
  25. 0xA0: [0,0,250,0,0], // NO-BREAK SPACE
  26. 0x393: [680,0,625,25,582], // GREEK CAPITAL LETTER GAMMA
  27. 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA
  28. 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA
  29. 0x39B: [716,0,694,32,661], // GREEK CAPITAL LETTER LAMDA
  30. 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI
  31. 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI
  32. 0x3A3: [683,0,722,55,666], // GREEK CAPITAL LETTER SIGMA
  33. 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON
  34. 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI
  35. 0x3A8: [683,0,778,55,722], // GREEK CAPITAL LETTER PSI
  36. 0x3A9: [704,0,722,44,677] // GREEK CAPITAL LETTER OMEGA
  37. };
  38. MathJax.Callback.Queue(
  39. ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Greek"],
  40. ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Greek/Regular/Main.js"]
  41. );