features.fea 3.9 KB

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