LetterlikeSymbols.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*************************************************************
  2. *
  3. * MathJax/fonts/HTML-CSS/TeX/png/Main/Bold/LetterlikeSymbols.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-bold": {
  28. 0x210F: [ // stix-/hbar - Planck's over 2pi
  29. [5,5,0],[6,6,0],[7,7,0],[8,9,0],[9,10,0],[11,12,0],[13,15,1],[15,17,1],
  30. [18,20,1],[22,24,1],[25,28,1],[30,34,1],[36,39,1],[42,47,1]
  31. ],
  32. 0x2111: [ // BLACK-LETTER CAPITAL I
  33. [6,5,0],[7,6,0],[8,7,0],[10,9,0],[12,10,0],[14,12,0],[16,14,0],[19,17,0],
  34. [23,21,1],[27,25,1],[32,29,1],[38,34,1],[45,40,1],[53,48,1]
  35. ],
  36. 0x2113: [ // SCRIPT SMALL L
  37. [3,5,0],[4,6,0],[5,7,0],[6,9,0],[7,11,1],[8,13,1],[9,15,1],[11,18,1],
  38. [13,21,1],[15,25,1],[18,29,1],[21,34,1],[25,41,2],[30,49,2]
  39. ],
  40. 0x2118: [ // SCRIPT CAPITAL P
  41. [5,6,2],[6,6,2],[8,7,2],[9,9,3],[11,10,3],[13,12,4],[14,14,5],[17,16,5],
  42. [21,19,6],[24,23,7],[29,27,9],[34,32,10],[41,38,12],[48,45,14]
  43. ],
  44. 0x211C: [ // BLACK-LETTER CAPITAL R
  45. [6,5,0],[7,6,0],[8,7,0],[10,10,1],[12,11,1],[14,13,1],[17,15,1],[20,18,1],
  46. [23,21,1],[28,25,1],[32,29,1],[39,34,1],[46,42,2],[55,49,2]
  47. ],
  48. 0x2135: [ // ALEF SYMBOL
  49. [5,5,0],[6,6,0],[7,7,0],[8,9,0],[9,10,0],[11,12,0],[13,14,0],[15,17,0],
  50. [18,20,0],[21,23,0],[25,28,0],[30,33,0],[36,39,0],[42,46,0]
  51. ]
  52. }
  53. });
  54. MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Main/Bold"+
  55. MathJax.OutputJax["HTML-CSS"].imgPacked+"/LetterlikeSymbols.js");