diff options
Diffstat (limited to 'tex/context/base/font-otf.lua')
-rw-r--r-- | tex/context/base/font-otf.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/font-otf.lua b/tex/context/base/font-otf.lua index dec564993..be05b8271 100644 --- a/tex/context/base/font-otf.lua +++ b/tex/context/base/font-otf.lua @@ -442,7 +442,9 @@ function otf.load(filename,format,sub,featurefile) collectgarbage("collect") end stoptiming(data) - report_otf("preprocessing and caching took %s seconds",elapsedtime(data)) + if elapsedtime then -- not in generic + report_otf("preprocessing and caching took %s seconds",elapsedtime(data)) + end data = containers.read(otf.cache, hash) -- this frees the old table and load the sparse one if cleanup > 1 then collectgarbage("collect") |