summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-03 11:09:03 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-03 11:09:03 +0200
commit6a30d02676f81dfae238b4ac47463c5781c34576 (patch)
treeefa4e2d9f394536fdf0e3ea3b8281b4553155b0c
parent00fd07c628af41b0709d25fd00805385be561459 (diff)
downloadluaotfload-6a30d02676f81dfae238b4ac47463c5781c34576.tar.gz
adapt luaotfload.lua to new dir system
-rw-r--r--luaotfload.dtx8
1 files changed, 5 insertions, 3 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index b66a88f..bccdc0c 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1460,8 +1460,8 @@ and the derived files
%<*lua>
% \fi
% \begin{macrocode}
-luaotfload = luaotfload or {}
-local luaotfload = luaotfload
+luaotfload = luaotfload or {}
+local luaotfload = luaotfload
config = config or { }
config.luaotfload = config.luaotfload or { }
@@ -1472,7 +1472,9 @@ config.luaotfload.compatibility = config.luaotfload.compatibility or false
config.luaotfload.loglevel = config.luaotfload.loglevel or 1
config.luaotfload.color_callback = config.luaotfload.color_callback or "pre_linebreak_filter"
config.luaotfload.prioritize = config.luaotfload.prioritize or "sys"
---luaotfload.prefer_merge = config.luaotfload.prefer_merge or true
+config.luaotfload.names_dir = config.luaotfload.names_dir or "names"
+config.luaotfload.cache_dir = config.luaotfload.cache_dir or "fonts"
+config.luaotfload.names_file = config.luaotfload.names_file or "luaotfload-names.lua"
luaotfload.module = {
name = "luaotfload",