Skip to content

Commit

Permalink
Update features.fea
Browse files Browse the repository at this point in the history
Remove all language-specific code (expect `DFLT`) of all features in order to make features work properly in Safari.
  • Loading branch information
lxgw authored Dec 12, 2024
1 parent 9a93bf5 commit 77cbe03
Showing 1 changed file with 0 additions and 114 deletions.
114 changes: 0 additions & 114 deletions sources/features.fea
Original file line number Diff line number Diff line change
Expand Up @@ -3115,18 +3115,6 @@ feature dlig {
script DFLT;
language dflt ;
lookup dligDiscretionaryLigatureslookup1;

script hani;
language dflt ;
lookup dligDiscretionaryLigatureslookup1;

script kana;
language dflt ;
lookup dligDiscretionaryLigatureslookup1;

script latn;
language dflt ;
lookup dligDiscretionaryLigatureslookup1;
} dlig;

feature frac {
Expand All @@ -3139,119 +3127,45 @@ feature subs {
script DFLT;
language dflt ;
lookup subsSubscriptinLatinlookup3;

script latn;
language dflt ;
lookup subsSubscriptinLatinlookup3;
} subs;

feature sups {
script DFLT;
language dflt ;
lookup supsSuperscriptinLatinlookup4;

script latn;
language dflt ;
lookup supsSuperscriptinLatinlookup4;
} sups;

feature vert {
script DFLT;
language dflt ;
lookup vertVerticalAlternateslookup5;
lookup SinglePositioning3;

script hani;
language dflt ;
lookup vertVerticalAlternateslookup5;
lookup SinglePositioning3;

script kana;
language dflt ;
lookup vertVerticalAlternateslookup5;
lookup SinglePositioning3;
} vert;

feature calt {
script DFLT;
language dflt ;
lookup caltContextualAlternateslookup7;

script grek;
language dflt ;
lookup caltContextualAlternateslookup7;

script hani;
language dflt ;
lookup caltContextualAlternateslookup7;

script kana;
language dflt ;
lookup caltContextualAlternateslookup7;

script latn;
language dflt ;
lookup caltContextualAlternateslookup7;
} calt;

feature salt {
script DFLT;
language dflt ;
lookup saltStylisticAlternativeslookup9;

script grek;
language dflt ;
lookup saltStylisticAlternativeslookup9;

script hani;
language dflt ;
lookup saltStylisticAlternativeslookup9;

script kana;
language dflt ;
lookup saltStylisticAlternativeslookup9;

script latn;
language dflt ;
lookup saltStylisticAlternativeslookup9;
} salt;

feature halt {
script DFLT;
language dflt;
lookup SinglePositioning1;

script hani;
language dflt;
lookup SinglePositioning1;

script kana;
language dflt;
lookup SinglePositioning1;

script latn;
language dflt;
lookup SinglePositioning1;

} halt;

feature vhal {
script DFLT;
language dflt;
lookup SinglePositioning2;

script hani;
language dflt;
lookup SinglePositioning2;

script kana;
language dflt;
lookup SinglePositioning2;

script latn;
language dflt;
lookup SinglePositioning2;

} vhal;

feature ccmp {
Expand All @@ -3260,31 +3174,3 @@ feature ccmp {
lookup LigatureSubstitution9;

} ccmp;

feature ccmp {
script grek;
language dflt;
lookup LigatureSubstitution9;

} ccmp;

feature ccmp {
script hani;
language dflt;
lookup LigatureSubstitution9;

} ccmp;

feature ccmp {
script kana;
language dflt;
lookup LigatureSubstitution9;

} ccmp;

feature ccmp {
script latn;
language dflt;
lookup LigatureSubstitution9;

} ccmp;

0 comments on commit 77cbe03

Please sign in to comment.