summaryrefslogtreecommitdiff
path: root/src/fontloader/misc/fontloader-font-otn.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-12-22 08:30:07 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-12-22 08:30:07 +0100
commit44eadadf3c6425f121136a0fcf736671a31f82d9 (patch)
tree008d44f67cc2efea258a208a657048100ecd6590 /src/fontloader/misc/fontloader-font-otn.lua
parent57482bf62a2819450161e6255c14b7f950db331a (diff)
downloadluaotfload-44eadadf3c6425f121136a0fcf736671a31f82d9.tar.gz
[fontloader] patch font-otn to preven calt crash
Diffstat (limited to 'src/fontloader/misc/fontloader-font-otn.lua')
-rw-r--r--src/fontloader/misc/fontloader-font-otn.lua3
1 files changed, 3 insertions, 0 deletions
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.