features.fea 4.5 KB

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