diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/mlib-pdf.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/mlib-pdf.mkiv | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/mlib-pdf.mkiv b/Master/texmf-dist/tex/context/base/mkiv/mlib-pdf.mkiv index 6dc73a15352..147b67f743c 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/mlib-pdf.mkiv +++ b/Master/texmf-dist/tex/context/base/mkiv/mlib-pdf.mkiv @@ -47,18 +47,6 @@ \global\MPurx \zeropoint \global\MPury \zeropoint} -\let\popMPboundingbox\relax - -\unexpanded\def\pushMPboundingbox - {\edef\popMPboundingbox - {\global\MPwidth \the\MPwidth - \global\MPheight\the\MPheight - \global\MPllx \the\MPllx - \global\MPlly \the\MPlly - \global\MPurx \the\MPurx - \global\MPury \the\MPury - \relax}} - \unexpanded\def\repositionMPboxindeed {\setbox\MPbox\hpack\bgroup \kern-\MPllx @@ -88,15 +76,15 @@ \wd\MPbox\MPwidth \ht\MPbox\MPheight} -% \unexpanded\def\MPtextext#1#2#3#4#5% beware: we use a different method now (see mlib-pps) -% {\begingroup -% \setbox\MPbox\hbox{\font\temp=#1\space at #2\onebasepoint \let\c\char \temp #3}% text -% \MPllx-#4\onebasepoint -% \MPlly-#5\onebasepoint -% \repositionMPbox -% \smashbox\MPbox -% \box\MPbox -% \endgroup} +\unexpanded\def\MPtextext#1#2#3#4#5% beware: we use a different method now (see mlib-pps) + {\begingroup + \setbox\MPbox\hbox{\font\temp=#1\space at #2\onebasepoint \let\c\char \temp #3}% text + \MPllx-#4\onebasepoint + \MPlly-#5\onebasepoint + \repositionMPbox + \smashbox\MPbox + \box\MPbox + \endgroup} % MPLIB specific: |