summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/font-vir.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/font-vir.lmt')
-rw-r--r--tex/context/base/mkxl/font-vir.lmt6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/font-vir.lmt b/tex/context/base/mkxl/font-vir.lmt
index f60639d6a..84da09064 100644
--- a/tex/context/base/mkxl/font-vir.lmt
+++ b/tex/context/base/mkxl/font-vir.lmt
@@ -38,6 +38,8 @@ vf.whatever = whatever
vf.helpers = helpers
vf.predefined = predefined
+local slotcommand = predefined.slot
+
setmetatableindex(whatever, function(t,k) local v = { } t[k] = v return v end)
local function checkparameters(g,f)
@@ -78,7 +80,7 @@ local function combine_assign(g, name, from, to, start, force)
for i=from,to do
if fc[i] and (force or not gc[i]) then
gc[i] = fastcopy(fc[i],true) -- can be optimized
- gc[i].commands = { { "slot", hn, start } }
+ gc[i].commands = { slotcommand[hn][start] }
gd[i] = fd[i]
end
start = start + 1
@@ -107,7 +109,7 @@ local function combine_names(g,name,force)
for k, v in next, fc do
if force or not gc[k] then
gc[k] = fastcopy(v,true)
- gc[k].commands = { { "slot", hn, k } }
+ gc[k].commands = { slotcommand[hn][k] }
gd[i] = fd[i]
end
end