features.fea 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. # Prefix: Languagesystems
  2. languagesystem DFLT dflt;
  3. languagesystem latn dflt;
  4. languagesystem latn MOL ;
  5. languagesystem latn ROM ;
  6. # Prefix: Prefix
  7. @aalt1 = [\zero \one \two \three \four \five \six \seven \eight \nine];
  8. @subs1 = [\zero.subs \one.subs \two.subs \three.subs \four.subs \five.subs \six.subs \seven.subs \eight.subs \nine.subs];
  9. @sups1 = [\uni2070 \uni00B9 \uni00B2 \uni00B3 \uni2074 \uni2075 \uni2076 \uni2077 \uni2078 \uni2079];
  10. # @case1 = [\exclamdown \questiondown \uni2E18 \uni0304 \uni0306 \uni0307 \uni030B \uni030F \uni0311];
  11. # @case2 = [\exclamdown.case \questiondown.case \uni2E18.case \uni0304.case \uni0306.case \uni0307.case \uni030B.case \uni030F.case \uni0311.case];
  12. #
  13. feature aalt {
  14. feature locl;
  15. feature subs;
  16. feature sinf;
  17. feature sups;
  18. feature ordn;
  19. } aalt;
  20. feature locl {
  21. # Localized Forms
  22. script latn; # Latin
  23. language MOL exclude_dflt; # Moldavian
  24. sub [Scedilla scedilla] by [uni0218 uni0219];
  25. language ROM exclude_dflt; # Romanian
  26. sub [Scedilla scedilla] by [uni0218 uni0219];
  27. } locl;
  28. feature subs {
  29. # Subscript
  30. # DEFAULT
  31. sub @aalt1 by @subs1;
  32. script latn; # Latin
  33. sub @aalt1 by @subs1;
  34. language MOL ; # Moldavian
  35. language ROM ; # Romanian
  36. } subs;
  37. feature sinf {
  38. # Scientific Inferiors
  39. # DEFAULT
  40. sub @aalt1 by @subs1;
  41. script latn; # Latin
  42. sub @aalt1 by @subs1;
  43. language MOL ; # Moldavian
  44. language ROM ; # Romanian
  45. } sinf;
  46. feature sups {
  47. # Superscript
  48. # DEFAULT
  49. sub @aalt1 by @sups1;
  50. script latn; # Latin
  51. sub @aalt1 by @sups1;
  52. language MOL ; # Moldavian
  53. language ROM ; # Romanian
  54. } sups;
  55. feature frac {
  56. # Fractions
  57. # DEFAULT
  58. sub one slash two by onehalf;
  59. sub one slash three by uni2153;
  60. sub one slash four by onequarter;
  61. sub one slash five by uni2155;
  62. sub one slash six by uni2159;
  63. sub one slash eight by oneeighth;
  64. sub two slash three by uni2154;
  65. sub two slash five by uni2156;
  66. sub three slash four by threequarters;
  67. sub three slash five by uni2157;
  68. sub three slash eight by threeeighths;
  69. sub four slash five by uni2158;
  70. sub five slash six by uni215A;
  71. sub five slash eight by fiveeighths;
  72. sub seven slash eight by seveneighths;
  73. script latn; # Latin
  74. sub one slash two by onehalf;
  75. sub one slash three by uni2153;
  76. sub one slash four by onequarter;
  77. sub one slash five by uni2155;
  78. sub one slash six by uni2159;
  79. sub one slash eight by oneeighth;
  80. sub two slash three by uni2154;
  81. sub two slash five by uni2156;
  82. sub three slash four by threequarters;
  83. sub three slash five by uni2157;
  84. sub three slash eight by threeeighths;
  85. sub four slash five by uni2158;
  86. sub five slash six by uni215A;
  87. sub five slash eight by fiveeighths;
  88. sub seven slash eight by seveneighths;
  89. language MOL ; # Moldavian
  90. language ROM ; # Romanian
  91. } frac;
  92. feature ordn {
  93. # Ordinals
  94. # DEFAULT
  95. sub @aalt1 [A a]' by [ordfeminine ordfeminine];
  96. sub @aalt1 [O o]' by [ordmasculine ordmasculine];
  97. script latn; # Latin
  98. sub @aalt1 [A a]' by [ordfeminine ordfeminine];
  99. sub @aalt1 [O o]' by [ordmasculine ordmasculine];
  100. language MOL ; # Moldavian
  101. language ROM ; # Romanian
  102. } ordn;
  103. feature case {
  104. # # Case-Sensitive Forms
  105. # # DEFAULT
  106. # sub @case1 by @case2;
  107. # script latn; # Latin
  108. # sub @case1 by @case2;
  109. # language MOL ; # Moldavian
  110. # language ROM ; # Romanian
  111. #
  112. } case;