solution 1
gs -dNOPAUSE -dBATCH -q -sDEVICE=bbox img.eps
and replace the bounding box of the file with the two lines obtained
source: http://tex.stackexchange.com/questions/22063/how-to-fix-eps-with-incorrect-bounding-box
solution 2 (the font may become ugly)
ps2pdf img.eps img.pdf
pdfcrop img.pdf imgc.pdf
pdf2ps imgc.pdf imgc.eps
gs -dNOPAUSE -dBATCH -q -sDEVICE=bbox img.eps
and replace the bounding box of the file with the two lines obtained
source: http://tex.stackexchange.com/questions/22063/how-to-fix-eps-with-incorrect-bounding-box
solution 2 (the font may become ugly)
ps2pdf img.eps img.pdf
pdfcrop img.pdf imgc.pdf
pdf2ps imgc.pdf imgc.eps
No comments:
Post a Comment