summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-02-12 00:39:37 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2016-02-12 07:23:51 +0100
commit2f2f16ec56510dc000302297aca4098a17eb7f5d (patch)
tree4c637f815bfed9f51e4662bce3fd7c7dd73065f3
parent55799dad5b8a2716aea1cfee28b4ce093e587f8a (diff)
downloadluaotfload-2.6-fix-6.tar.gz
[fontloader] patch font-otn.lua to skip unusable contextpos featuresv2.6-fix-6
Address issue #322 The annotation says it all; reportedly this is fine with TL 2016, though.
-rw-r--r--src/fontloader/misc/fontloader-font-otn.lua4
-rw-r--r--src/luaotfload-main.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fontloader/misc/fontloader-font-otn.lua b/src/fontloader/misc/fontloader-font-otn.lua
index 081630a..9cdb79b 100644
--- a/src/fontloader/misc/fontloader-font-otn.lua
+++ b/src/fontloader/misc/fontloader-font-otn.lua
@@ -3897,9 +3897,9 @@ local function split(replacement,original)
end
local valid = { -- does contextpos work?
- coverage = { chainsub = true, chainpos = true, contextsub = true, contextpos = true },
+ coverage = { chainsub = true, chainpos = true, contextsub = true, contextpos = false },
reversecoverage = { reversesub = true },
- glyphs = { chainsub = true, chainpos = true, contextsub = true, contextpos = true },
+ glyphs = { chainsub = true, chainpos = true, contextsub = true, contextpos = false },
}
local function prepare_contextchains(tfmdata)
diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua
index c843f26..d5fdb9e 100644
--- a/src/luaotfload-main.lua
+++ b/src/luaotfload-main.lua
@@ -13,7 +13,7 @@ local luaotfload = luaotfload
luaotfload.log = luaotfload.log or { }
luaotfload.version = "2.6"
luaotfload.loaders = { }
-luaotfload.min_luatex_version = 80 --- i. e. 0.79
+luaotfload.min_luatex_version = 80 --- i. e. 0.80
luaotfload.fontloader_package = "reference" --- default: from current Context
local authors = "\z