How does fig2vect calculate the image dimensions?
The fig2vect program inspects all drawing elements except the texts and calculates the elements dimensions. The element dimensions of all elements are combined to calculate the dimensions for the entire drawing. The output file dimensions are choosen to match the borders of the outermost elements.