italic.ts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 italic: CharMap<CharOptions> = {
  19. 0x21: [.716, 0, .307, {ic: .073}],
  20. 0x22: [.694, -0.379, .514, {ic: .024}],
  21. 0x23: [.694, .194, .818, {ic: .01}],
  22. 0x25: [.75, .056, .818, {ic: .029}],
  23. 0x26: [.716, .022, .767, {ic: .035}],
  24. 0x27: [.694, -0.379, .307, {ic: .07}],
  25. 0x28: [.75, .25, .409, {ic: .108}],
  26. 0x29: [.75, .25, .409],
  27. 0x2A: [.75, -0.32, .511, {ic: .073}],
  28. 0x2B: [.557, .057, .767],
  29. 0x2C: [.121, .194, .307],
  30. 0x2D: [.251, -0.18, .358],
  31. 0x2E: [.121, 0, .307],
  32. 0x2F: [.716, .215, .778],
  33. 0x30: [.665, .021, .511, {ic: .051}],
  34. 0x31: [.666, 0, .511],
  35. 0x32: [.666, .022, .511, {ic: .04}],
  36. 0x33: [.666, .022, .511, {ic: .051}],
  37. 0x34: [.666, .194, .511],
  38. 0x35: [.666, .022, .511, {ic: .056}],
  39. 0x36: [.665, .022, .511, {ic: .054}],
  40. 0x37: [.666, .022, .511, {ic: .123}],
  41. 0x38: [.666, .021, .511, {ic: .042}],
  42. 0x39: [.666, .022, .511, {ic: .042}],
  43. 0x3A: [.431, 0, .307],
  44. 0x3B: [.431, .194, .307],
  45. 0x3D: [.367, -0.133, .767],
  46. 0x3F: [.716, 0, .511, {ic: .04}],
  47. 0x40: [.705, .011, .767, {ic: .022}],
  48. 0x5B: [.75, .25, .307, {ic: .139}],
  49. 0x5D: [.75, .25, .307, {ic: .052}],
  50. 0x5E: [.694, -0.527, .511, {ic: .017}],
  51. 0x5F: [-0.025, .062, .511, {ic: .043}],
  52. 0x7E: [.318, -0.208, .511, {ic: .06}],
  53. 0x131: [.441, .01, .307, {ic: .033}],
  54. 0x237: [.442, .204, .332],
  55. 0x300: [.697, -0.5, 0],
  56. 0x301: [.697, -0.5, 0, {ic: .039}],
  57. 0x302: [.694, -0.527, 0, {ic: .017}],
  58. 0x303: [.668, -0.558, 0, {ic: .06}],
  59. 0x304: [.589, -0.544, 0, {ic: .054}],
  60. 0x306: [.694, -0.515, 0, {ic: .062}],
  61. 0x307: [.669, -0.548, 0],
  62. 0x308: [.669, -0.554, 0, {ic: .045}],
  63. 0x30A: [.716, -0.542, 0],
  64. 0x30B: [.697, -0.503, 0, {ic: .065}],
  65. 0x30C: [.638, -0.502, 0, {ic: .029}],
  66. 0x3DD: [.605, .085, .778],
  67. 0x2013: [.285, -0.248, .511, {ic: .043}],
  68. 0x2014: [.285, -0.248, 1.022, {ic: .016}],
  69. 0x2015: [.285, -0.248, 1.022, {ic: .016}],
  70. 0x2017: [-0.025, .062, .511, {ic: .043}],
  71. 0x2018: [.694, -0.379, .307, {ic: .055}],
  72. 0x2019: [.694, -0.379, .307, {ic: .07}],
  73. 0x201C: [.694, -0.379, .514, {ic: .092}],
  74. 0x201D: [.694, -0.379, .514, {ic: .024}],
  75. 0x2044: [.716, .215, .778],
  76. 0x210F: [.695, .013, .54, {ic: .022}],
  77. 0x2206: [.716, 0, .833, {sk: .167}],
  78. 0x29F8: [.716, .215, .778],
  79. };