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:15:14 +0100
commitfdefa722cdbf92c38e02f26a1a7092ef70a14cae (patch)
tree28ec2752ed2966c2cb9158475caf543a66a302c3
parentd13bf9e8773eb51d5aea3dcd79b1c43605cc60f0 (diff)
downloadluaotfload-fdefa722cdbf92c38e02f26a1a7092ef70a14cae.tar.gz
[fontloader] patch font-otn.lua to skip unusable contextpos features
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