sans-serif.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*************************************************************
  2. *
  3. * Copyright (c) 2018-2022 The MathJax Consortium
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. import {CharMap, CharOptions} from '../../FontData.js';
  18. export const sansSerif: CharMap<CharOptions> = {
  19. 0x21: [.694, 0, .319],
  20. 0x22: [.694, -0.471, .5],
  21. 0x23: [.694, .194, .833],
  22. 0x24: [.75, .056, .5],
  23. 0x25: [.75, .056, .833],
  24. 0x26: [.716, .022, .758],
  25. 0x27: [.694, -0.471, .278],
  26. 0x28: [.75, .25, .389],
  27. 0x29: [.75, .25, .389],
  28. 0x2A: [.75, -0.306, .5],
  29. 0x2B: [.583, .082, .778],
  30. 0x2C: [.098, .125, .278],
  31. 0x2D: [.259, -0.186, .333],
  32. 0x2E: [.098, 0, .278],
  33. 0x2F: [.75, .25, .5],
  34. 0x3A: [.444, 0, .278],
  35. 0x3B: [.444, .125, .278],
  36. 0x3D: [.37, -0.13, .778],
  37. 0x3F: [.704, 0, .472],
  38. 0x40: [.704, .011, .667],
  39. 0x5B: [.75, .25, .289],
  40. 0x5D: [.75, .25, .289],
  41. 0x5E: [.694, -0.527, .5],
  42. 0x5F: [-0.038, .114, .5],
  43. 0x7E: [.327, -0.193, .5],
  44. 0x131: [.444, 0, .239],
  45. 0x237: [.444, .205, .267],
  46. 0x300: [.694, -0.527, 0],
  47. 0x301: [.694, -0.527, 0],
  48. 0x302: [.694, -0.527, 0],
  49. 0x303: [.677, -0.543, 0],
  50. 0x304: [.631, -0.552, 0],
  51. 0x306: [.694, -0.508, 0],
  52. 0x307: [.68, -0.576, 0],
  53. 0x308: [.68, -0.582, 0],
  54. 0x30A: [.694, -0.527, 0],
  55. 0x30B: [.694, -0.527, 0],
  56. 0x30C: [.654, -0.487, 0],
  57. 0x391: [.694, 0, .667],
  58. 0x392: [.694, 0, .667],
  59. 0x393: [.691, 0, .542],
  60. 0x394: [.694, 0, .833],
  61. 0x395: [.691, 0, .597],
  62. 0x396: [.694, 0, .611],
  63. 0x397: [.694, 0, .708],
  64. 0x398: [.716, .021, .778],
  65. 0x399: [.694, 0, .278],
  66. 0x39A: [.694, 0, .694],
  67. 0x39B: [.694, 0, .611],
  68. 0x39C: [.694, 0, .875],
  69. 0x39D: [.694, 0, .708],
  70. 0x39E: [.688, 0, .667],
  71. 0x39F: [.715, .022, .736],
  72. 0x3A0: [.691, 0, .708],
  73. 0x3A1: [.694, 0, .639],
  74. 0x3A3: [.694, 0, .722],
  75. 0x3A4: [.688, 0, .681],
  76. 0x3A5: [.716, 0, .778],
  77. 0x3A6: [.694, 0, .722],
  78. 0x3A7: [.694, 0, .667],
  79. 0x3A8: [.694, 0, .778],
  80. 0x3A9: [.716, 0, .722],
  81. 0x2013: [.312, -0.236, .5],
  82. 0x2014: [.312, -0.236, 1],
  83. 0x2015: [.312, -0.236, 1],
  84. 0x2017: [-0.038, .114, .5],
  85. 0x2018: [.694, -0.471, .278],
  86. 0x2019: [.694, -0.471, .278],
  87. 0x201C: [.694, -0.471, .5],
  88. 0x201D: [.694, -0.471, .5],
  89. 0x2044: [.75, .25, .5],
  90. 0x2206: [.694, 0, .833],
  91. };