From 16f1a6bde623466e2ffb34e361797b1481ad07d9 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 13 Jul 2014 15:19:22 +0200 Subject: [conf] use hash tables for default feature lists --- src/luaotfload-configuration.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/luaotfload-configuration.lua') 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", }, }, } -- cgit v1.2.3