diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-04-01 12:15:05 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-04-01 12:15:05 +0200 |
commit | d48764d88ac59aa9b0130f1049892296a3eb4684 (patch) | |
tree | 5b442ba162ab03943a24c482e0c4b32a311a6c38 /tex/context/base/font-ctx.lua | |
parent | aab1c4e9206382c1a96d738fddabf3d98218f267 (diff) | |
download | context-d48764d88ac59aa9b0130f1049892296a3eb4684.tar.gz |
2015-04-01 12:02:00
Diffstat (limited to 'tex/context/base/font-ctx.lua')
-rw-r--r-- | tex/context/base/font-ctx.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tex/context/base/font-ctx.lua b/tex/context/base/font-ctx.lua index 0a0e5eab6..d55bf2dad 100644 --- a/tex/context/base/font-ctx.lua +++ b/tex/context/base/font-ctx.lua @@ -1484,6 +1484,24 @@ end mappings.reset() -- resets the default file +implement { + name = "loadmapfile", + actions = mappings.loadfile, + arguments = "string" +} + +implement { + name = "loadmapline", + actions = mappings.loadline, + arguments = "string" +} + +implement { + name = "resetmapfiles", + actions = mappings.reset, + arguments = "string" +} + -- we need an 'do after the banner hook' -- => commands @@ -1770,6 +1788,12 @@ function fonts.definetypeface(name,t) ctx_dofastdefinetypeface(name, shortcut, shape, size, settings) end +implement { + name = "definetypeface", + actions = fonts.definetypeface, + arguments = { "string", "string" } +} + function fonts.current() -- todo: also handle name return fontdata[currentfont()] or fontdata[0] end |