Comment 3 for bug 772057

Revision history for this message
su_v (suv-lp) wrote : Re: Letter spacing nightmare when used with "Flow into Frame"

Do you remember how the original SVG file was created? It defines a 'viewBox' attribute [1] for the top-level <svg> node which scales the whole drawing content by the factor 0.8 - possibly to scale the SVG user unit (px) to the 'pt' unit. Inkscape itself does not write this attribute into the SVG source, but respects it if present. If you change the values of the viewBox to match the width and height attribute, the px values entered into e.g. the spacing entry box of the text tool will match your expectations.

<svg
   (…)
   width="1253.75"
   height="1513.75"
   viewBox="0 0 1003 1211"
   (…)

Proposing to close as 'Invalid' because AFAIU it is a correct interpretation of the information in the SVG source file. The 'viewBox' setting had to be intentionally added to the SVG source by manually editing it or the file was originally created by a third-party application which makes use of the 'viewBox' attribute.

> Apparently to "fix" it, I had to copy-paste objects one by one into a new .svg file.

That's because Inkscape doesn't add this attribute in its default template.

[1] <http://www.w3.org/TR/SVG11/coords.html#ViewBoxAttribute>