Magnification in pdfTeX

Some current distributions of pdfTeX have a bug (feature?) that using \magnification rescales the paper along with the printing. The results can look very puzzling. This happens only with pdf output, not with dvi.

The reason is that the pdf dimensions relating to the paper size have been set in pt instead of truept. The cure is simple enough: after \magnification just insert something like this.


\pdfpagewidth=210.2truemm  \pdfpageheight=297.3truemm
% This is for A4 paper, use 8truein and 11truein for letter-size paper.
\pdfhorigin=1truein \pdfvorigin=1truein


\catcodeP=12 \catcodeT=12