From 77cbe03bfaabbfaee2157d4778a18c13548634ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CA=9Fx=C9=A2=E1=B4=A1?= <51902309+lxgw@users.noreply.github.com> Date: Thu, 12 Dec 2024 19:26:13 +0800 Subject: [PATCH] Update features.fea Remove all language-specific code (expect `DFLT`) of all features in order to make features work properly in Safari. --- sources/features.fea | 114 ------------------------------------------- 1 file changed, 114 deletions(-) diff --git a/sources/features.fea b/sources/features.fea index 5d79e39c..2fcf3e8e 100644 --- a/sources/features.fea +++ b/sources/features.fea @@ -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 { @@ -3139,20 +3127,12 @@ 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 { @@ -3160,60 +3140,18 @@ feature vert { 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 { @@ -3221,18 +3159,6 @@ feature halt { 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 { @@ -3240,18 +3166,6 @@ feature vhal { 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 { @@ -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; \ No newline at end of file