Comment 2 for bug 1656663

Revision history for this message
carmen fierro (cfierrob) wrote : Re: [Bug 1656663] Re: Dimensions on saving as Optimized SVG

I hsve just installed version 0.92, and--yes: saving as Optimizad SVG,
option "viewBox" DOESN'T default width/height to 100%. Result: no
stertching when put into an html <img />, as shown in the atttachments:
HerringsPMap.svg is the Inkscape SVG (made with version 0.91, opened and
re-saved from version 0.92); HerringsPMapO.svg comes from 'save a copy as
Optimized SVG".
Note: changing from the new version, at document level, default units to
px, has resulted in height/width with no units (px being the html default)
BUT they are set, nevertheless.
Many thanks.

Carmen

2017-01-15 18:06 GMT+01:00 su_v <email address hidden>:

> Please attach a test case (original Inkscape SVG file, optimized SVG
> saved with Inkscape 0.91) to the bug report to allow further
> investigation, thank you.
>
> Does the issue persist with latest release Inkscape 0.92?
> The Windows packages of Inkscape 0.92 include a copy of latest upstream
> version of scour (the python module which saves the optimized version of
> the SVG file).
>
> ** Changed in: inkscape
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1656663
>
> Title:
> Dimensions on saving as Optimized SVG
>
> Status in Inkscape:
> Incomplete
>
> Bug description:
> Running Inkscape 0.91 on Windows7 64x:
> On saving as Optimized SVG for includinding in .epub (as <img />), I
> keep checked the option to "set viewBox AND establish width/height to
> 100%"--BUT although I get the viewBox, I also get height="84.949mm"
> width="84.102mm" (or other measures--always mm, although my selection is
> for px as unit at document level).
> I find it rather annoying, for of course the image (usually a map) fails
> to strech in the viewer until--after some heartburning--I DO remember the
> issue and edit the dimensions by hand...
> Thanks!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/1656663/+subscriptions
>