Comment 1 for bug 595821

Revision history for this message
Henry Gomersall (hgomersall) wrote : Re: ps+LaTeX wrong size when text outside other drawing objects

Yeah, I too have experienced the problem.

The problem is in the way the eps file is generated using Cairo, with text objects effectively ignored (and so the bounding box not being stretched by them), and then using the whole image to define the height and width of the image box. This has a knock on consequence to making the unitlength incorrect and so the whole thing buggers up.

I had a look at fixing it, but i'm not sure of the best way to do it. The definitions of the width and height in latex-text-renderer.cpp need to use the size of the exported ps and not the size of the document as inkscape thinks it is.