summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-pdf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mlib-pdf.lua')
-rw-r--r--tex/context/base/mlib-pdf.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/mlib-pdf.lua b/tex/context/base/mlib-pdf.lua
index 6cb094e3e..0115dfabe 100644
--- a/tex/context/base/mlib-pdf.lua
+++ b/tex/context/base/mlib-pdf.lua
@@ -340,6 +340,14 @@ function metapost.flush(result,flusher,askedfig)
metapost.urx = urx
metapost.ury = ury
metapost.variables = variables
+-- todo (maybe the lib will change to charwd too):
+--
+-- metapost.charcode = figure.charcode
+-- metapost.charwd = figure.width
+-- metapost.charht = figure.height
+-- metapost.chardp = figure.depth
+-- metapost.charic = figure.italic
+--
if urx < llx then
-- invalid
startfigure(fignum,0,0,0,0,"invalid",figure)