features.fea 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. feature aalt {
  13. feature locl;
  14. feature subs;
  15. feature sinf;
  16. feature sups;
  17. feature ordn;
  18. } aalt;
  19. feature locl {
  20. # Localized Forms
  21. script latn; # Latin
  22. language MOL exclude_dflt; # Moldavian
  23. sub [Scedilla scedilla] by [uni0218 uni0219];
  24. language ROM exclude_dflt; # Romanian
  25. sub [Scedilla scedilla] by [uni0218 uni0219];
  26. } locl;
  27. feature subs {
  28. # Subscript
  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. } subs;
  36. feature sinf {
  37. # Scientific Inferiors
  38. # DEFAULT
  39. sub @aalt1 by @subs1;
  40. script latn; # Latin
  41. sub @aalt1 by @subs1;
  42. language MOL ; # Moldavian
  43. language ROM ; # Romanian
  44. } sinf;
  45. feature sups {
  46. # Superscript
  47. # DEFAULT
  48. sub @aalt1 by @sups1;
  49. script latn; # Latin
  50. sub @aalt1 by @sups1;
  51. language MOL ; # Moldavian
  52. language ROM ; # Romanian
  53. } sups;
  54. feature frac {
  55. # Fractions
  56. # DEFAULT
  57. sub one slash two by onehalf;
  58. sub one slash three by uni2153;
  59. sub one slash four by onequarter;
  60. sub one slash five by uni2155;
  61. sub one slash six by uni2159;
  62. sub one slash eight by oneeighth;
  63. sub two slash three by uni2154;
  64. sub two slash five by uni2156;
  65. sub three slash four by threequarters;
  66. sub three slash five by uni2157;
  67. sub three slash eight by threeeighths;
  68. sub four slash five by uni2158;
  69. sub five slash six by uni215A;
  70. sub five slash eight by fiveeighths;
  71. sub seven slash eight by seveneighths;
  72. script latn; # Latin
  73. sub one slash two by onehalf;
  74. sub one slash three by uni2153;
  75. sub one slash four by onequarter;
  76. sub one slash five by uni2155;
  77. sub one slash six by uni2159;
  78. sub one slash eight by oneeighth;
  79. sub two slash three by uni2154;
  80. sub two slash five by uni2156;
  81. sub three slash four by threequarters;
  82. sub three slash five by uni2157;
  83. sub three slash eight by threeeighths;
  84. sub four slash five by uni2158;
  85. sub five slash six by uni215A;
  86. sub five slash eight by fiveeighths;
  87. sub seven slash eight by seveneighths;
  88. language MOL ; # Moldavian
  89. language ROM ; # Romanian
  90. } frac;
  91. feature ordn {
  92. # 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 {
  103. # # Case-Sensitive Forms
  104. # # DEFAULT
  105. # sub @case1 by @case2;
  106. # script latn; # Latin
  107. # sub @case1 by @case2;
  108. # language MOL ; # Moldavian
  109. # language ROM ; # Romanian
  110. #} case;