summaryrefslogtreecommitdiff
path: root/src/fontloader/misc/fontloader-font-otn.lua
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 /src/fontloader/misc/fontloader-font-otn.lua
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.
Diffstat (limited to 'src/fontloader/misc/fontloader-font-otn.lua')
-rw-r--r--src/fontloader/misc/fontloader-font-otn.lua4
1 files changed, 2 insertions, 2 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)