Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
[fontloader] patch font-otn.lua to skip unusable contextpos features
Browse files Browse the repository at this point in the history
Address issue #322

The annotation says it all; reportedly this is fine with TL 2016,
though.
  • Loading branch information
phi-gamma committed Feb 12, 2016
1 parent 55799da commit 2f2f16e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/fontloader/misc/fontloader-font-otn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/luaotfload-main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f2f16e

Please sign in to comment.