I've run into a problem when converting a book manuscript from LaTeX to XeLaTeX. The problem is that my image sizing and placement has not survived the conversion.
The book has numerous picture inclusions where the source is a .png file. While .png has much to recommend itself, it does not include bounding box information in the file itself. So I use a script to cache the bounding box information in a separate file which I then use to set the bounding box of the image. In my document, I prepare the way with:
\DeclareGraphicsExtensions{.png,.bb}
\DeclareGraphicsRule{.png}{eps}{.bb}{}
\graphicspath{{./images/}}
I created the .bb files with a Q&D (Quick and Dirty) perl script.
With LaTeX, all was now well. Images were of the correct size and correctly placed on each page. Then I switched to XeLaTeX only to have my carefully crafted scheme join the aft gang aglay crowd!
What's going wrong? The bounding boxes are the same and yet the images are no longer placed correctly in my document?