I wish to include a pdf graphic generated by a third-party scientific code in a LaTeX file. The problem: the pdf graphic has a bounding box issue. When the pdf graphic is opened---along with the resulting LaTeX-generated pdf which includes it---I get the following popup error in Acrobat Reader: "The font XYZ contains a bad /BBox"
I don't control the third-party software that generates this image and thus can't generate a vector graphic from it besides using its built-in capabilities. Yes, I could take a screenshot but this needs to be vector-quality.
Is there a way to sanitize such a pdf graphic to remove the bounding box issue before including in LaTeX?