Comment 15 for bug 1348417

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

The attached patch resolves the EMF/WMF import issue. It may break something else. The method scaleChildItemsRec() was modified to apply the scaling at the group level and not to recurse into the group and apply it singly to the child items. There were no other changes. With that patch in place all tested incoming clip's from EMF worked in the SVG.

Before committing this we need to know WHY it was doing it the other way, since at the SVG level setting the transform on the group results in the same coordinates as setting the transform on each of the items in the group. I think that code has something to do with changing the units on a drawing, but I am not familiar enough with it to know what to look for in terms of bugs this change might have introduced.