Re: Bug with in-box test alignment

luigi scarso <[email protected]> Thu, 30 Dec 2021 10:02:57 +0100
Newsgroups gmane.comp.tex.metapost
Message-ID <CAG5iGsCEgAbhtYe0DceaT==6rc9hEa_Ag-Y=sY5108JYU5rwSw@mail.gmail.com>
On Wed, Dec 29, 2021 at 7:55 PM Sebastiano Vigna <[email protected]>
wrote:

>
>
> > On 29 Dec 2021, at 07:42, Sebastiano Vigna <[email protected]>
> wrote:
> >
> > 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.
>
> After input from other users, the "not centered" behavior appears to be
> there with TeX 3.141592653, but not with TeX 3.14159265. Can anyone
> reproduce it with that version?
>

here (linux ubuntu) both
pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020)
pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2021)
give the same result.

You can test with
mpost -debug test.mp
that preserves temp. files

-- 
luigi

--
http://tug.org/metapost/