tex-oldstyle.ts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 texOldstyle: CharMap<CharOptions> = {
  19. 0x30: [.452, .022, .5],
  20. 0x31: [.453, 0, .5],
  21. 0x32: [.453, 0, .5],
  22. 0x33: [.452, .216, .5],
  23. 0x34: [.464, .194, .5],
  24. 0x35: [.453, .216, .5],
  25. 0x36: [.665, .022, .5],
  26. 0x37: [.463, .216, .5],
  27. 0x38: [.666, .021, .5],
  28. 0x39: [.453, .216, .5],
  29. 0x41: [.728, .05, .798, {ic: .021, sk: .194}],
  30. 0x42: [.705, .022, .657, {sk: .139}],
  31. 0x43: [.705, .025, .527, {sk: .139}],
  32. 0x44: [.683, 0, .771, {sk: .0833}],
  33. 0x45: [.705, .022, .528, {ic: .036, sk: .111}],
  34. 0x46: [.683, .032, .719, {ic: .11, sk: .111}],
  35. 0x47: [.704, .119, .595, {sk: .111}],
  36. 0x48: [.683, .048, .845, {sk: .111}],
  37. 0x49: [.683, 0, .545, {ic: .097, sk: .0278}],
  38. 0x4A: [.683, .119, .678, {ic: .161, sk: .167}],
  39. 0x4B: [.705, .022, .762, {sk: .0556}],
  40. 0x4C: [.705, .022, .69, {sk: .139}],
  41. 0x4D: [.705, .05, 1.201, {sk: .139}],
  42. 0x4E: [.789, .05, .82, {ic: .159, sk: .0833}],
  43. 0x4F: [.705, .022, .796, {sk: .111}],
  44. 0x50: [.683, .057, .696, {ic: .037, sk: .0833}],
  45. 0x51: [.705, .131, .817, {sk: .111}],
  46. 0x52: [.682, .022, .848, {sk: .0833}],
  47. 0x53: [.705, .022, .606, {ic: .036, sk: .139}],
  48. 0x54: [.717, .068, .545, {ic: .288, sk: .0278}],
  49. 0x55: [.683, .028, .626, {ic: .061, sk: .0833}],
  50. 0x56: [.683, .052, .613, {ic: .045, sk: .0278}],
  51. 0x57: [.683, .053, .988, {ic: .046, sk: .0833}],
  52. 0x58: [.683, 0, .713, {ic: .094, sk: .139}],
  53. 0x59: [.683, .143, .668, {ic: .046, sk: .0833}],
  54. 0x5A: [.683, 0, .725, {ic: .042, sk: .139}],
  55. };