Comment 13 for bug 1405292

Revision history for this message
David Mathog (mathog) wrote :

This does seem to be, once again, a problem with units. Attached is work_1405292.svg. When opened in trunk, and then saved to EMF, and the EMF reopened, the drawing inside is correct. However, if these two lines are removed from the SVG

     inkscape:document-units="pt"
     units="pt"

(or the entire sodipodi:namedview structure removed) and the experiment repeated, then the clip box moves. It seems quite unreasonable that this should occur since this SVG specifies width and height explicitly in points. This is probably manifesting itself in PrintEmf::merge_PathVector_with_shape() in emf-print.cpp, or thereabouts, where the transform for the clipping object is used.

Copying the sodipodi:namedview structure from that attached example into the OP's SVG example does not "rescue" that example, there are still issues with the clipping rectangle changing size and position.

Note that the work_1405292.emf which is produced is NOT seen as clipped when "insert->image" in PPT 2003, nor in Windows XP preview.