On 23.11.02 Tommi Komulainen (tommi.komulainen@iki.fi) wrote: Hi, > The epstopdf script 'corrects' the bounding box one point too > narrow and too short. This makes lines that are right at the edge > of the bounding box simply disappear from the pdf. > > It's a simple off-by-one error, patch attached. > Could you please post a minimal example, which shows that behaviour? (i.e. a small eps-file). What I see in the moment is rather the opposite. I've created a small file containing a square (using xfig) and exported it into an EPS-file^1. The Bounding Box is 220 302 and as far as I understand EPS the painted figure lies exactly on that box: newpath 0 302 moveto 0 0 lineto 220 0 lineto 220 302 lineto closepath clip newpath when I open that eps-file using gv and gs 6.53 I see white margins at two sides. Reproducible when converting to pdf using epstopdf and viewing in xpdf. EPS and fig-file are attached. Could it have been a bug in gs? How about the gs in unstable? H. ^1 fig2dev -L eps test.fig > test.eps fig2dev Version 3.2 Patchlevel 3d -- sigmentation fault
Attachment:
test.fig
Description: application/xfig
Attachment:
test.eps.bz2
Description: Binary data