Comment 6 for bug 1656663

Revision history for this message
Patrick Storz (ede123) wrote :

Regarding sample file from comment #4:
- First of all you have to set the document units to "px" (otherwise you'll always hit number 1 above)
- Even then Scour will not yet remove width/height attributes as your sample file suffers from rounding errors in Inkscape: Original width="155.22223mm" which is 550.00002px (rounded to 8 significant digits) and this is the exact number set in the viewBox attribute. However if you change your document's units back to "px" Inkscape will round the 550.00002px down to 550px which differs from the value in the viewbox and therefore will be kept by Scour.