Re: Bug with in-box test alignment

Pétiard François <[email protected]> Wed, 29 Dec 2021 19:22:48 +0100
Newsgroups gmane.comp.tex.metapost
Message-ID <[email protected]>
Hello

With that code:

prologues:=3;
outputtemplate := "%j-%c.mps";
input boxes
beginfig(1);
   circleit.n0(btex $0$ etex);
   drawboxed(n0);
endfig;
bye

I have no problem (Windows 10 pro, MiKTeX, "This is MetaPost, version 
2.01 (MiKTeX 21.12.10)").

François

Le 29/12/2021 à 16:42, Sebastiano Vigna a écrit :
> The following Metapost program
>
> outputtemplate := "%j-%c.mps";
>
> input boxes
>
> beginfig(1);
> 	circleit.n0(btex $0$ etex);
> 	drawboxed(n0)
> endfig;
>
> bye
>
>
> generates a circle with a 0 label inside, but the label is not centered (I'm converting the output of Metapost with mptopdf).
>
> This behavior started in two different TeX installations after a recent upgrade. I'd like to know if this is reproducible elsewhere, or if anyone has met already this kind of behavior.
>
> Ciao,
>
> 					seba
>
>
> --
> http://tug.org/metapost/

--
http://tug.org/metapost/
test-1.mps (application/postscript, 15.2 KB) - not displayed