diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-11-10 21:15:51 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-11-10 21:15:51 +0200 |
commit | 6cc1d2bb944b91a2ddcdf7ad1a2b1a22b8c16d6a (patch) | |
tree | 11958a4f8520fb139f2246d0409a080ce41a72b7 | |
parent | ce41e1b48f6cf87fa3cc876488e2243c991e8770 (diff) | |
download | luaotfload-6cc1d2bb944b91a2ddcdf7ad1a2b1a22b8c16d6a.tar.gz |
Really set default mode to node
This have been long broken since ConTeXt code no longer uses the value
of `fonts.mode`, now we set it independent of ConTeXt code.
-rw-r--r-- | otfl-font-ltx.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/otfl-font-ltx.lua b/otfl-font-ltx.lua index 655a22e..f9d7fc4 100644 --- a/otfl-font-ltx.lua +++ b/otfl-font-ltx.lua @@ -168,6 +168,10 @@ local function colonized(specification) -- xetex mode specification.sub = list.sub list.sub = nil end + if not list.mode then + -- if no mode is set, use our default + list.mode = fonts.mode + end specification.features.normal = fonts.handlers.otf.features.normalize(list) return specification end |