summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-01-30 14:54:02 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-01-30 14:54:02 +0200
commit6e8ac2dd07c0143b8abbdb4016ec72dfac012c08 (patch)
treefff57d6493ab6c4946afc40abf5c43681df5d6ce /otfl-font-xtx.lua
parentc1e73bcd6714a925313c59bba8a72618e722a472 (diff)
downloadluaotfload-6e8ac2dd07c0143b8abbdb4016ec72dfac012c08.tar.gz
Further cleanup
Unify similar scripts and check default values with ICU.
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua27
1 files changed, 13 insertions, 14 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index 32a41ab..43e8e31 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -83,17 +83,14 @@ end
local default_features = {
dflt = {
- "ccmp", "locl", "liga", "clig", "kern",
- "mark", "mkmk",
+ "ccmp", "locl", "rlig", "liga", "clig",
+ "kern", "mark", "mkmk",
},
arab = {
- "ccmp", "locl", "isol", "fina", "medi",
- "init", "rlig", "calt", "liga", "cswh",
- "mset", "curs", "kern", "mark", "mkmk",
- },
- hebr = {
- "ccmp", "locl", "rlig", "kern", "mark",
- "mkmk",
+ "ccmp", "locl", "isol", "fina", "fin2",
+ "fin3", "medi", "med2", "init", "rlig",
+ "calt", "liga", "cswh", "mset", "curs",
+ "kern", "mark", "mkmk",
},
deva = {
"ccmp", "locl", "init", "nukt", "akhn",
@@ -117,12 +114,9 @@ local default_features = {
"ccmp", "locl", "liga", "kern", "mark",
"mkmk",
},
- tibt = {
- "ccmp", "locl", "pref", "blws", "abvs",
- "psts", "clig", "calt", "blwm", "abvm",
- "dist", "kern", "mark", "mkmk",
+ hang = {
+ "ccmp", "ljmo", "vjmo", "tjmo",
},
- hang = { },
}
default_features.beng = default_features.deva
@@ -135,7 +129,12 @@ default_features.knda = default_features.deva
default_features.mlym = default_features.deva
default_features.sinh = default_features.deva
+default_features.syrc = default_features.arab
+default_features.mong = default_features.arab
default_features.nko = default_features.arab
+
+default_features.tibt = default_features.khmr
+
default_features.lao = default_features.thai
local function parse_script(script)