diff options
-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 |