At 22:30 11/06/2003 +0200, you wrote:
If one converts a file x.mp into pdf, e. g. a small file x.mp
beginfig(1) labeloffset:=0; label.urt("Hello", origin); endfig; end
by the command mptopdf, the lower part of the word "Hello" in the resulting x-1.pdf file is missing, it's below the Bounding Box!
Reason for this is, that in mptopdf.tex, macro \processMPfile, the \topskip is not set to zero. I included a \topskip=0pt before the line with \setbox0=..., and the resulting x-1.pdf now has the word "Hello" within its bounding box, which I believe should be the correct behavior. And also Acroread now shows the complete word.
ok, added Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------