summaryrefslogtreecommitdiff
path: root/tex/context/base/font-enh.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-enh.lua')
-rw-r--r--tex/context/base/font-enh.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/font-enh.lua b/tex/context/base/font-enh.lua
index 31f2b2387..7a585a7d1 100644
--- a/tex/context/base/font-enh.lua
+++ b/tex/context/base/font-enh.lua
@@ -6,6 +6,8 @@ if not modules then modules = { } end modules ['font-enh'] = {
license = "see context related readme files"
}
+-- todo: optimize a bit
+
local next, match = next, string.match
local trace_defining = false trackers.register("fonts.defining", function(v) trace_defining = v end)
@@ -21,7 +23,8 @@ local report_define = logs.new("define fonts")
<p>Here we only implement a few helper functions.</p>
--ldx]]--
-local tfm = fonts.tfm
+local fonts = fonts
+local tfm = fonts.tfm
--[[ldx--
<p>The next function encapsulates the standard <l n='tfm'/> loader as