summaryrefslogtreecommitdiff
path: root/src/luaotfload-configuration.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-07-21 08:11:21 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2015-07-21 08:11:26 +0200
commit6eff203e9bf3348d090b6b5046466415bcd6530a (patch)
tree64497a1911ca3b94b0de89f273c148cc7fbf3d08 /src/luaotfload-configuration.lua
parente3d7d44a4eb599e7168158c66c6421e6e5f867a0 (diff)
downloadluaotfload-6eff203e9bf3348d090b6b5046466415bcd6530a.tar.gz
[mkstatus,build,conf] default to packaged fontloader via status file
This adds an entry ``loader`` on the ``notes`` hash in the status table by means of which the fontloader can be specified. The status file is read when building the configuration table, and if it is present the entry in the ``loader`` table will be used as the default fontloader. Otherwise, Luaotfload falls back on the reference loader.
Diffstat (limited to 'src/luaotfload-configuration.lua')
-rw-r--r--src/luaotfload-configuration.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/luaotfload-configuration.lua b/src/luaotfload-configuration.lua
index e9393c5..e2cfbd8 100644
--- a/src/luaotfload-configuration.lua
+++ b/src/luaotfload-configuration.lua
@@ -140,9 +140,9 @@ local feature_presets = {
--doc]]--
local registered_loaders = {
- default = "fontloader",
- fontloader = "fontloader",
- tl2013 = "tl2013",
+ default = luaotfloadstatus and luaotfloadstatus.notes.loader or "reference",
+ reference = "reference",
+ tl2014 = "tl2014",
}
--[[doc--