summaryrefslogtreecommitdiff
path: root/otfl-font-tfm.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-02-22 14:26:34 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-02-23 01:44:03 +0200
commite064aa2dc70fb819cfdb6b3c0bdf1d081859584f (patch)
treeb429356162be25b812b6e75e85cccae61f893ad4 /otfl-font-tfm.lua
parente0931232fb05665da0e809cb3d7be0d3d6c8e820 (diff)
downloadluaotfload-e064aa2dc70fb819cfdb6b3c0bdf1d081859584f.tar.gz
Updating to latest ConTeXt beta (2010.02.23)
Now many of our fixes are incorporated upstream or fixed in a different way.
Diffstat (limited to 'otfl-font-tfm.lua')
-rw-r--r--otfl-font-tfm.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/otfl-font-tfm.lua b/otfl-font-tfm.lua
index 2f96de4..fd3d8b4 100644
--- a/otfl-font-tfm.lua
+++ b/otfl-font-tfm.lua
@@ -47,6 +47,7 @@ supplied by <l n='luatex'/>.</p>
tfm.resolve_vf = true -- false
tfm.share_base_kerns = false -- true (.5 sec slower on mk but brings down mem from 410M to 310M, beware: then script/lang share too)
tfm.mathactions = { }
+tfm.fontname_mode = "fullpath"
function tfm.enhance(tfmdata,specification)
local name, size = specification.name, specification.size
@@ -874,7 +875,5 @@ fonts.initializers.node.tfm.remap = tfm.remap
-- status info
statistics.register("fonts load time", function()
- if statistics.elapsedindeed(fonts) then
- return format("%s seconds",statistics.elapsedtime(fonts))
- end
+ return statistics.elapsedseconds(fonts)
end)