[latex3-commits] [latex3/luaotfload] dev: Fix luaotfload-tool (12521e87)

github at latex-project.org github at latex-project.org
Tue Mar 19 08:54:47 CET 2024


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/12521e87463d78e2cbf0bd94a09381bf97ee29be

>---------------------------------------------------------------

commit 12521e87463d78e2cbf0bd94a09381bf97ee29be
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Mar 19 08:54:47 2024 +0100

    Fix luaotfload-tool


>---------------------------------------------------------------

12521e87463d78e2cbf0bd94a09381bf97ee29be
 src/luaotfload-configuration.lua | 3 ++-
 src/luaotfload-features.lua      | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/luaotfload-configuration.lua b/src/luaotfload-configuration.lua
index d9ccec52..09387880 100644
--- a/src/luaotfload-configuration.lua
+++ b/src/luaotfload-configuration.lua
@@ -224,7 +224,8 @@ local default_config = {
     log_level          = 0,
     color_callback     = "post_linebreak_filter",
     fontloader         = default_fontloader (),
-    default_dvi_driver = "dvisvgm"
+    default_dvi_driver = "dvisvgm",
+    live               = true,
   },
   misc = {
     bisect         = false,
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index a714b403..3280a47f 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -40,7 +40,7 @@ local otf               = handlers.otf
 
 local config            = config or { luaotfload = { run = { } } }
 
-local as_script         = config.luaotfload.run.live
+local as_script         = not config.luaotfload.run.live
 local normalize
 
 if as_script then





More information about the latex3-commits mailing list.