From 5b0c1656911e5f2d436a8145fd046349ac1cb66f Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Mon, 11 Jan 2016 07:31:19 +0100 Subject: [fontloader] re-patch font-otn.lua to avoid crash See issue https://github.com/lualatex/luaotfload/issues/303 --- src/fontloader/misc/fontloader-font-otn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fontloader/misc') diff --git a/src/fontloader/misc/fontloader-font-otn.lua b/src/fontloader/misc/fontloader-font-otn.lua index 8df01bd..b6f30c3 100644 --- a/src/fontloader/misc/fontloader-font-otn.lua +++ b/src/fontloader/misc/fontloader-font-otn.lua @@ -3894,7 +3894,7 @@ local function prepare_contextchains(tfmdata) sequence[nofsequences] = after[n] end end - if sequence[1] then + if sequence[start] then -- Replacements only happen with reverse lookups as they are single only. We -- could pack them into current (replacement value instead of true) and then -- use sequence[start] instead but it's somewhat ugly. -- cgit v1.2.3