I am trying to change the DPI of the output PDF using \pdfpxdimen
in the preamble, but it returns an error:
"! Undefined control sequence \pdfpxdimen".
I guess that is because I am using XeLaTeX instead of pdfLaTeX. If it is so, is there any way to change the DPI using XeLaTeX?
Here is the MWE:
\documentclass[a4paper,11pt]{article}
\pdfpxdimen=1in % 1 DPI
\divide\pdfpxdimen by 96 % 96 DPI
\begin{document}
some text
\end{document}