Comment 95 for bug 1389723

Revision history for this message
su_v (suv-lp) wrote :

@Jabiertxof - dpiswitcher.py in lp:inkscape (rev 15301) and lp:inkscape/0.92.x (rev 15241) does not scale any content which is placed within top-level container elements (most of the drawings created with Inkscape use layers, and thus have all graphics elements inside one or more container elements (<g>) in SVG root). With the current version of the extension, only graphics elements directly placed in SVG root are scaled (the conditional based on a number of element tags); groups and other container elements which may contain graphics elements ('a', 'switch' (?)) in SVG root are not considered.

AFAICT grids, guides and page area on the other hand are modified as expected.

Please review attached proposed changes - maybe we can discuss it on #inkscape-devel?