[metapost] Bug with in-box test alignment

Pétiard François petiard.francois at free.fr
Wed Dec 29 19:22:48 CET 2021


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-1.mps
Type: application/postscript
Size: 15561 bytes
Desc: not available
URL: <https://tug.org/pipermail/metapost/attachments/20211229/cc7995b1/attachment.ai>


More information about the metapost mailing list.