CombDiacritMarks.js 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*************************************************************
  2. *
  3. * MathJax/fonts/HTML-CSS/TeX/png/Main/Italic/CombDiacritMarks.js
  4. *
  5. * Defines the image size data needed for the HTML-CSS OutputJax
  6. * to display mathematics using fallback images when the fonts
  7. * are not available to the client browser.
  8. *
  9. * ---------------------------------------------------------------------
  10. *
  11. * Copyright (c) 2009-2013 The MathJax Consortium
  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
  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.
  24. *
  25. */
  26. MathJax.OutputJax["HTML-CSS"].defineImageData({
  27. "MathJax_Main-italic": {
  28. 0x300: [ // COMBINING GRAVE ACCENT
  29. [2,2,-3],[2,2,-4],[3,2,-4],[3,2,-6],[3,3,-6],[3,3,-8],[4,4,-10],[5,5,-10],
  30. [5,6,-14],[6,7,-17],[7,8,-19],[8,10,-23],[9,11,-28],[11,13,-32]
  31. ],
  32. 0x301: [ // COMBINING ACUTE ACCENT
  33. [3,2,-3],[3,2,-4],[3,2,-4],[4,2,-6],[4,3,-6],[4,3,-8],[5,4,-10],[6,5,-10],
  34. [7,6,-14],[8,7,-17],[9,8,-19],[11,10,-23],[13,11,-28],[15,13,-32]
  35. ],
  36. 0x302: [ // COMBINING CIRCUMFLEX ACCENT
  37. [3,1,-4],[4,2,-4],[4,2,-4],[4,2,-6],[5,2,-7],[6,3,-8],[6,4,-10],[7,4,-12],
  38. [8,5,-14],[10,6,-17],[11,7,-20],[13,8,-25],[15,10,-29],[19,11,-34]
  39. ],
  40. 0x303: [ // COMBINING TILDE
  41. [3,1,-4],[4,1,-5],[4,1,-5],[5,1,-7],[5,2,-7],[6,2,-9],[8,3,-11],[9,3,-12],
  42. [10,3,-16],[11,4,-19],[14,5,-21],[16,5,-27],[19,7,-32],[22,7,-37]
  43. ],
  44. 0x304: [ // COMBINING MACRON
  45. [3,1,-3],[4,1,-5],[4,1,-5],[5,1,-6],[5,1,-7],[6,1,-8],[8,1,-11],[9,2,-11],
  46. [10,3,-14],[12,3,-17],[14,3,-20],[16,4,-25],[20,4,-30],[23,4,-35]
  47. ],
  48. 0x306: [ // COMBINING BREVE
  49. [3,2,-3],[3,2,-4],[4,2,-4],[4,2,-6],[5,3,-6],[6,3,-8],[7,5,-9],[8,5,-11],
  50. [9,6,-13],[11,6,-17],[13,7,-20],[15,9,-24],[18,10,-29],[21,12,-33]
  51. ],
  52. 0x307: [ // COMBINING DOT ABOVE
  53. [2,1,-4],[2,2,-4],[2,2,-4],[2,2,-6],[3,2,-7],[3,2,-9],[4,3,-11],[4,3,-12],
  54. [4,4,-15],[5,5,-19],[6,5,-21],[7,6,-26],[8,7,-31],[9,8,-36]
  55. ],
  56. 0x308: [ // COMBINING DIAERESIS
  57. [3,1,-4],[4,2,-4],[4,2,-4],[4,2,-6],[5,2,-7],[6,2,-9],[6,3,-11],[8,3,-12],
  58. [9,4,-15],[11,4,-19],[12,5,-21],[15,6,-26],[17,7,-31],[20,8,-36]
  59. ],
  60. 0x30A: [ // COMBINING RING ABOVE
  61. [3,2,-3],[3,2,-4],[3,2,-4],[4,2,-6],[4,3,-6],[5,3,-8],[5,4,-10],[6,4,-11],
  62. [7,5,-15],[8,7,-17],[9,8,-20],[11,8,-26],[12,10,-31],[15,12,-36]
  63. ],
  64. 0x30B: [ // COMBINING DOUBLE ACUTE ACCENT
  65. [3,2,-3],[4,2,-4],[4,2,-4],[4,2,-6],[5,3,-6],[7,3,-8],[7,4,-10],[8,5,-10],
  66. [9,6,-14],[12,7,-17],[13,8,-19],[16,9,-24],[18,11,-28],[22,13,-32]
  67. ],
  68. 0x30C: [ // COMBINING CARON
  69. [3,1,-3],[3,1,-5],[4,1,-5],[4,2,-6],[5,2,-7],[5,2,-8],[6,3,-10],[7,3,-11],
  70. [8,4,-14],[9,5,-17],[12,5,-19],[13,7,-24],[16,8,-28],[18,9,-33]
  71. ]
  72. }
  73. });
  74. MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Main/Italic"+
  75. MathJax.OutputJax["HTML-CSS"].imgPacked+"/CombDiacritMarks.js");