I have to use XeLaTeX because a mandatory template is written for it. I recently had to completely reinstall my laptop. My problem since then (before it worked all fine!): when I include a graphic, the bounding box is correct, but the graphic appears with an offset -- see attached PDF.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Actually I have the same problem. After an actualization of libraries, the compilation in XeLaTeX fails to print in the correct position the figures. Is this related to graphicx? Or to trimming?
As I tried to point out in my answer before: without some file that let's us reproduce the problem the answer can only be: maybe. I actually very much doubt that there is any problem with graphicx: it has been a base LaTeX package for many, many years. I'd think it is much more likely that the error is in some wrong data within the EPS. But that is of course only speculation...
Same problem. After updating MikTeX in the last week, included eps figures (produced within R) are offset to top right, by an amount seemingly corresponding to the origin of the bounding box set by R. In eight months of using XeLaTeX, this has not happened before. The eps has not changed (I have not regenerated it) and the source for XeLaTeX has not changed. All R figures are affected, but not those produced by (e.g.) Cytoscape, which have a bounding box starting "0 0". There is no "wrong data" in my eps. Can't seem to fix with bb, viewport or trim modifiers. Very frustrating. eps is attached. Here is the includegraphics snippet:
\begin{figure}[!ht]
\includegraphics{fourdists}
\caption{Human protein frequency by count of species exhibiting orthology:\\ for
different $e$ and species totals}
\label{four_dists}
\end{figure}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p