summaryrefslogtreecommitdiff
path: root/src/luaotfload-configuration.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-07-13 15:19:22 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-07-13 15:19:22 +0200
commit16f1a6bde623466e2ffb34e361797b1481ad07d9 (patch)
treefa315c4a27b4b42e4ba1769a0a5dec6d5cd288f6 /src/luaotfload-configuration.lua
parentf66b2ffe8fdc30e517d00b4796c142acd0e4438d (diff)
downloadluaotfload-16f1a6bde623466e2ffb34e361797b1481ad07d9.tar.gz
[conf] use hash tables for default feature lists
Diffstat (limited to 'src/luaotfload-configuration.lua')
-rw-r--r--src/luaotfload-configuration.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/luaotfload-configuration.lua b/src/luaotfload-configuration.lua
index 696bee6..dfa222c 100644
--- a/src/luaotfload-configuration.lua
+++ b/src/luaotfload-configuration.lua
@@ -102,26 +102,26 @@ local valid_formats = tabletohash {
}
local feature_presets = {
- arab = {
+ arab = tabletohash {
"ccmp", "locl", "isol", "fina", "fin2",
"fin3", "medi", "med2", "init", "rlig",
"calt", "liga", "cswh", "mset", "curs",
"kern", "mark", "mkmk",
},
- deva = {
+ deva = tabletohash {
"ccmp", "locl", "init", "nukt", "akhn",
"rphf", "blwf", "half", "pstf", "vatu",
"pres", "blws", "abvs", "psts", "haln",
"calt", "blwm", "abvm", "dist", "kern",
"mark", "mkmk",
},
- khmr = {
+ khmr = tabletohash {
"ccmp", "locl", "pref", "blwf", "abvf",
"pstf", "pres", "blws", "abvs", "psts",
"clig", "calt", "blwm", "abvm", "dist",
"kern", "mark", "mkmk",
},
- thai = {
+ thai = tabletohash {
"ccmp", "locl", "liga", "kern", "mark",
"mkmk",
},
@@ -167,7 +167,7 @@ local default_config = {
},
default_features = {
global = { mode = "node" },
- dflt = {
+ dflt = tabletohash {
"ccmp", "locl", "rlig", "liga", "clig",
"kern", "mark", "mkmk", 'itlc',
},
@@ -193,7 +193,7 @@ local default_config = {
thai = feature_presets.thai,
lao = feature_presets.thai,
- hang = { "ccmp", "ljmo", "vjmo", "tjmo", },
+ hang = tabletohash { "ccmp", "ljmo", "vjmo", "tjmo", },
},
}