summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/mlib-lmp.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-10-04 18:59:44 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-10-04 18:59:44 +0200
commit6f2d249bfb4ead58ed709e59c403df9457f51982 (patch)
tree36f93bbacf4a42ab52b0440dba42d4ac65e86b0b /tex/context/base/mkiv/mlib-lmp.lua
parent6ab4432f6fe56cc63e53aeb256c89f01a04fb84f (diff)
downloadcontext-6f2d249bfb4ead58ed709e59c403df9457f51982.tar.gz
2019-10-04 17:52:00
Diffstat (limited to 'tex/context/base/mkiv/mlib-lmp.lua')
-rw-r--r--tex/context/base/mkiv/mlib-lmp.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/mlib-lmp.lua b/tex/context/base/mkiv/mlib-lmp.lua
index dc130c2fd..e72ddd03c 100644
--- a/tex/context/base/mkiv/mlib-lmp.lua
+++ b/tex/context/base/mkiv/mlib-lmp.lua
@@ -154,3 +154,19 @@ function mp.lmt_svg_include()
mpdirect(metacode)
end
end
+
+if CONTEXTLMTXMODE > 0 then
+
+ local dropins = fonts.dropins
+ local registerglyphs = dropins.registerglyphs
+ local registerglyph = dropins.registerglyph
+
+ function mp.lmt_register_glyph()
+ registerglyph(metapost.getparameterset("mpsglyph"))
+ end
+
+ function mp.lmt_register_glyphs()
+ registerglyphs(metapost.getparameterset("mpsglyphs"))
+ end
+
+end