diff options
Diffstat (limited to 'tex/context/base/mkxl/font-vfc.lmt')
-rw-r--r-- | tex/context/base/mkxl/font-vfc.lmt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/font-vfc.lmt b/tex/context/base/mkxl/font-vfc.lmt index 93e6fd4e5..c28b8b988 100644 --- a/tex/context/base/mkxl/font-vfc.lmt +++ b/tex/context/base/mkxl/font-vfc.lmt @@ -81,10 +81,26 @@ helpers.commands = utilities.storage.allocate { dummy = dummy, } +local codeinjections = backends.codeinjections +local vfstartcolor = codeinjections.vfstartcolor +local vfstopcolor = codeinjections.vfstopcolor +----- vfliteral = codeinjections.vfliteral + helpers.vfinjectors = { - -- backend specific: startcolor, stopcolor etc + -- startcolor = function(h,v,packet) codeinjections.vfstartcolor(h,v,packet) end, + -- stopcolor = function(h,v,packet) codeinjections.vfstartcolor(h,v,packet) end, + -- literal = function(h,v,packet) codeinjections.vfliteral (h,v,packer) end, + startcolor = function(h,v,packet) vfstartcolor(h,v,packet) end, + stopcolor = function(h,v,packet) vfstartcolor(h,v,packet) end, + -- literal = function(h,v,packet) vfliteral (h,v,packer) end, } +updaters.register("backends.injections.latebindings",function() + vfstartcolor = backends.codeinjections.vfstartcolor + vfstopcolor = backends.codeinjections.vfstopcolor + -- vfliteral = backends.codeinjections.vfliteral +end) + -- maybe round() local defaultline = 16384 |