tex-variant.ts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 texVariant: CharMap<CharOptions> = {
  19. 0x2C6: [.845, -0.561, 2.333, {ic: .013}],
  20. 0x2DC: [.899, -0.628, 2.333],
  21. 0x302: [.845, -0.561, 0, {ic: .013}],
  22. 0x303: [.899, -0.628, 0],
  23. 0x3F0: [.434, .006, .667, {ic: .067}],
  24. 0x210F: [.695, .013, .54, {ic: .022}],
  25. 0x2190: [.437, -0.064, .5],
  26. 0x2192: [.437, -0.064, .5],
  27. 0x21CC: [.514, .014, 1],
  28. 0x2204: [.86, .166, .556],
  29. 0x2205: [.587, 0, .778],
  30. 0x2212: [.27, -0.23, .5],
  31. 0x2216: [.43, .023, .778],
  32. 0x221D: [.472, -0.028, .778],
  33. 0x2223: [.43, .023, .222],
  34. 0x2224: [.43, .023, .222, {ic: .018}],
  35. 0x2225: [.431, .023, .389],
  36. 0x2226: [.431, .024, .389, {ic: .018}],
  37. 0x223C: [.365, -0.132, .778],
  38. 0x2248: [.481, -0.05, .778],
  39. 0x2268: [.752, .284, .778],
  40. 0x2269: [.752, .284, .778],
  41. 0x2270: [.919, .421, .778],
  42. 0x2271: [.919, .421, .778],
  43. 0x2288: [.828, .33, .778],
  44. 0x2289: [.828, .33, .778],
  45. 0x228A: [.634, .255, .778],
  46. 0x228B: [.634, .254, .778],
  47. 0x22A8: [.694, 0, .611],
  48. 0x22C5: [.189, 0, .278],
  49. 0x2322: [.378, -0.122, .778],
  50. 0x2323: [.378, -0.143, .778],
  51. 0x25B3: [.575, .02, .722],
  52. 0x25BD: [.576, .019, .722],
  53. 0x2A87: [.801, .303, .778],
  54. 0x2A88: [.801, .303, .778],
  55. 0x2ACB: [.752, .332, .778],
  56. 0x2ACC: [.752, .333, .778],
  57. };