[XeTeX] hyperref 6.79n breaks xetex's (xdvipdfmx) ability to set proper page dimensions (and overrides page dimensions on pdftex)

Ulrike Fischer news3 at nililand.de
Mon Dec 14 09:33:49 CET 2009

Am Mon, 14 Dec 2009 04:28:33 +0300 schrieb Vladimir Volovich:

> [first is the xetex-related part of bug report, then follows the
> pdftex-related part]
> when using hyperref with unicode option, I'm not able to set the proper
> page dimensions.
> Here is a minimal working example which demonstrates the problem:
> \documentclass{article}
> \usepackage[unicode,pdftitle={test}]{hyperref}
> \pdfpagewidth=300bp
> \pdfpageheight=300bp
> \begin{document}
> %\showthe\pdfpagewidth
> This is a test.
> \end{document}
> when running "xelatex test.tex", i see the following few last lines on
> terminal:
> [1] (./test.aux)
> ** WARNING ** Failed to convert input string to UTF16...

I don't think that the "unicode" option should be used with xetex.
As far as I know it is similar to inputenc and tries to translate

And if you are using a package or commands to set the page size you
should disable the settings of hyperref by using the hyperref option

Ulrike Fischer 

More information about the XeTeX mailing list