summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otl.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-07-12 16:15:05 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-07-12 16:15:05 +0200
commitbd0ef6b1b32b7a6bb313ad7619c35da45cb4ede3 (patch)
tree2650e8dfd099b363a7611916cf56421be0a55da3 /tex/context/base/font-otl.lua
parent83703e9634edaf36b05c50d9744a5caa1523648b (diff)
downloadcontext-bd0ef6b1b32b7a6bb313ad7619c35da45cb4ede3.tar.gz
2015-07-12 15:42:00
Diffstat (limited to 'tex/context/base/font-otl.lua')
-rw-r--r--tex/context/base/font-otl.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/font-otl.lua b/tex/context/base/font-otl.lua
index 4dd95a7d1..f86850bf4 100644
--- a/tex/context/base/font-otl.lua
+++ b/tex/context/base/font-otl.lua
@@ -53,7 +53,7 @@ local report_otf = logs.reporter("fonts","otf loading")
local fonts = fonts
local otf = fonts.handlers.otf
-otf.version = 3.000 -- beware: also sync font-mis.lua and in mtx-fonts
+otf.version = 3.002 -- beware: also sync font-mis.lua and in mtx-fonts
otf.cache = containers.define("fonts", "otl", otf.version, true)
local otfreaders = otf.readers
@@ -183,6 +183,9 @@ function enhancers.register(what,action) -- only already registered can be overl
end
function otf.load(filename,sub,featurefile) -- second argument (format) is gone !
+ --
+ local featurefile = nil -- not supported (yet)
+ --
local base = file.basename(file.removesuffix(filename))
local name = file.removesuffix(base)
local attr = lfs.attributes(filename)
@@ -251,7 +254,7 @@ function otf.load(filename,sub,featurefile) -- second argument (format) is gone
report_otf("loading %a, hash %a",filename,hash)
--
starttiming(otfreaders)
- data = otfreaders.loadfont(filename,sub)
+ data = otfreaders.loadfont(filename,sub or 1)
--
-- if featurefiles then
-- for i=1,#featurefiles do