[tex-k] Broken "-tex" option in MetaPost
Igor Liferenko
igor.liferenko at gmail.com
Tue Nov 20 03:53:05 CET 2018
Hi,
MetaPost, version 2.00 (TeX Live 2019/dev/Debian) (kpathsea version 6.3.1/dev)
When I run
rm -f test.mpx test.eps; /usr/bin/mpost test
and
rm -f test.mpx test.eps; /usr/bin/mpost -tex=tex test
on the following file:
outputtemplate:="%j.eps"; prologues:=3;
beginfig(1);
label.lrt(btex \font\x=cmcyr10 \x priwet etex, (0,0));
endfig;
end
I get different outputs: in the second case bounding box for figure
is smaller, which causes part of the word to be "cut-off" in previewer.
This is the diff of correct and incorrect output:
@@ -2,2 +2,2 @@
-%%BoundingBox: 2 -9 45 -2
-%%HiResBoundingBox: 2.09999 -8.90779 44.85638 -2.09999
+%%BoundingBox: 2 -9 37 -2
+%%HiResBoundingBox: 2.09999 -8.90779 36.49419 -2.09999
@@ -165 +165 @@ cleartomark
-2.09999 -8.90779 moveto
+-6.2622 -8.90779 moveto
(the case "-tex=tex" was found to be minimal thing that reproduces the bug,
actually I'm using another executable to use my own format)
Regards,
Igor
More information about the tex-k
mailing list