GeneralPunctuation.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*************************************************************
  2. *
  3. * MathJax/fonts/HTML-CSS/TeX/png/Main/Regular/GeneralPunctuation.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": {
  28. 0x2002: [ // ??
  29. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  30. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  31. ],
  32. 0x2003: [ // ??
  33. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  34. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  35. ],
  36. 0x2004: [ // ??
  37. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  38. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  39. ],
  40. 0x2005: [ // ??
  41. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  42. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  43. ],
  44. 0x2006: [ // ??
  45. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  46. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  47. ],
  48. 0x2009: [ // ??
  49. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  50. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  51. ],
  52. 0x200A: [ // ??
  53. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],
  54. [1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0],[1,1,0]
  55. ],
  56. 0x2013: [ // EN DASH
  57. [4,1,-1],[5,1,-2],[5,1,-2],[6,1,-2],[7,1,-3],[9,1,-4],[10,1,-5],[12,1,-6],
  58. [14,2,-6],[17,3,-8],[20,3,-9],[24,2,-12],[28,3,-14],[33,3,-17]
  59. ],
  60. 0x2014: [ // EM DASH
  61. [7,1,-1],[9,1,-2],[10,1,-2],[12,1,-2],[14,1,-3],[17,1,-4],[20,1,-5],[24,1,-6],
  62. [28,2,-6],[33,3,-8],[40,3,-9],[47,2,-12],[56,3,-14],[66,3,-17]
  63. ],
  64. 0x2018: [ // LEFT SINGLE QUOTATION MARK
  65. [2,2,-3],[2,4,-2],[2,4,-4],[3,4,-4],[3,4,-5],[4,6,-6],[4,7,-7],[5,8,-9],
  66. [6,9,-11],[7,11,-12],[8,13,-15],[10,15,-18],[11,18,-21],[14,21,-25]
  67. ],
  68. 0x2019: [ // RIGHT SINGLE QUOTATION MARK
  69. [2,3,-2],[2,3,-3],[3,4,-4],[3,4,-4],[3,5,-4],[4,6,-6],[5,7,-7],[5,8,-9],
  70. [6,10,-10],[7,11,-12],[9,13,-15],[10,15,-18],[12,18,-21],[14,22,-25]
  71. ],
  72. 0x201C: [ // LEFT DOUBLE QUOTATION MARK
  73. [4,2,-3],[4,4,-2],[5,4,-4],[6,4,-4],[7,4,-5],[8,6,-6],[10,7,-7],[11,8,-9],
  74. [13,9,-11],[16,11,-12],[19,13,-15],[22,15,-18],[26,18,-21],[31,21,-25]
  75. ],
  76. 0x201D: [ // RIGHT DOUBLE QUOTATION MARK
  77. [3,3,-2],[4,3,-3],[4,4,-4],[5,4,-4],[6,5,-4],[7,6,-6],[8,7,-7],[9,8,-9],
  78. [11,10,-10],[13,11,-12],[15,13,-15],[18,15,-18],[21,18,-21],[25,22,-25]
  79. ],
  80. 0x2020: [ // DAGGER
  81. [3,6,1],[4,8,2],[4,10,2],[5,10,2],[6,12,3],[7,16,4],[8,18,4],[9,23,5],
  82. [11,27,6],[13,31,7],[16,37,8],[18,44,11],[22,52,12],[26,62,15]
  83. ],
  84. 0x2021: [ // DOUBLE DAGGER
  85. [3,6,1],[4,8,2],[4,10,2],[5,10,2],[6,12,3],[7,16,4],[8,18,4],[10,23,5],
  86. [11,27,6],[13,31,7],[16,37,8],[19,43,9],[22,51,11],[26,61,13]
  87. ],
  88. 0x2026: [ // HORIZONTAL ELLIPSIS
  89. [8,1,0],[10,2,0],[11,2,0],[13,2,0],[16,2,0],[19,3,0],[22,3,0],[26,3,0],
  90. [31,4,0],[36,5,0],[43,5,0],[51,6,0],[61,7,0],[72,9,0]
  91. ],
  92. 0x2032: [ // PRIME
  93. [2,4,0],[3,5,0],[3,6,0],[4,6,0],[4,7,-1],[5,9,-1],[6,11,-1],[7,13,-1],
  94. [8,15,-1],[9,18,-1],[11,21,-2],[13,24,-2],[15,29,-2],[18,35,-3]
  95. ]
  96. }
  97. });
  98. MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Main/Regular"+
  99. MathJax.OutputJax["HTML-CSS"].imgPacked+"/GeneralPunctuation.js");