features.fea 2.7 KB

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