Whenever I compile my beamer presentations with xelatex, it forces any .pdf figures I've included with \includegraphics to rotate 90 degrees. If I compile with pdflatex or lualatex, I do not have this problem. Has anyone else seen this issue and/or know how to fix this?
For example, if I compile the following .tex code with lualtex, the sizing and positioning of fig1.pdf is as I expect. If I compile with xelatex, the figure is rotated by 90 degrees.
\documentclass{beamer}
\usepackage{fontspec}
\setsansfont[Ligatures=TeX]{GillSansMT}
\begin{document}
\begin{frame}
\frametitle{Frame Title}
\includegraphics[width=0.5\textwidth]{fig1.pdf}
\end{frame}
\end{document}
Compiling with xelatex also outputs the message
<use "fig1.pdf" > [1] (./slides.aux)
** WARNING ** << /Rotate 90 >> found. (Not supported yet)
)
/Rotate 90command into the .pdf code as a quick fix, andxelatex(and some versions of PowerPoint) doesn't know what to do with it. – xvtk Aug 9 '12 at 22:12