Another fix without using the geometry package is to add these two lines to the document preamble:
\setlength{\pdfpagewidth}{\paperwidth} \setlength{\pdfpageheight}{\paperheight}
It's working with testcase.tex attached above.
Another fix without using the geometry package is to add these two lines to the document preamble:
\setlength{ \pdfpagewidth} {\paperwidth} \pdfpageheight} {\paperheight}
\setlength{
It's working with testcase.tex attached above.