diff options
Diffstat (limited to 'tex/generic/context/luatex/luatex-fonts-gbn.lua')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-gbn.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-gbn.lua b/tex/generic/context/luatex/luatex-fonts-gbn.lua index 272f65e95..53be41c7e 100644 --- a/tex/generic/context/luatex/luatex-fonts-gbn.lua +++ b/tex/generic/context/luatex/luatex-fonts-gbn.lua @@ -9,7 +9,6 @@ if not modules then modules = { } end modules ['luatex-fonts-gbn'] = { -- generic [base|node] mode handler if context then - texio.write_nl("fatal error: this module is not for context") os.exit() end @@ -52,8 +51,8 @@ local d_kerning = nuts.kerning local basemodepass = true -local function l_warning() texio.write_nl("warning: node.ligaturing called directly") l_warning = nil end -local function k_warning() texio.write_nl("warning: node.kerning called directly") k_warning = nil end +local function l_warning() logs.report("fonts","don't call 'node.ligaturing' directly") l_warning = nil end +local function k_warning() logs.report("fonts","don't call 'node.kerning' directly") k_warning = nil end function node.ligaturing(...) if basemodepass and l_warning then |