From 44eadadf3c6425f121136a0fcf736671a31f82d9 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 22 Dec 2015 08:30:07 +0100 Subject: [fontloader] patch font-otn to preven calt crash --- src/fontloader/misc/fontloader-font-otn.lua | 3 +++ 1 file changed, 3 insertions(+) (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..b48aea7 100644 --- a/src/fontloader/misc/fontloader-font-otn.lua +++ b/src/fontloader/misc/fontloader-font-otn.lua @@ -3894,7 +3894,10 @@ local function prepare_contextchains(tfmdata) sequence[nofsequences] = after[n] end end +--[[phg-- Hard patch: This crashes, see https://github.com/lualatex/luaotfload/issues/303 if sequence[1] then +--phg]]-- + 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