Optimized SVG adds gaps in tutorials
Bug #435689 reported by
jazzynico
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
codedread | ||
Scour |
Fix Released
|
High
|
codedread |
Bug Description
I've tried to scour the Shapes tutorial on Windows XP, Inkscape rev. 22275. The saved files contains lots of gaps in the text and some parts of the text are rendered in italic when they should be regular. Probably affects the other tutorials.
Steps to reproduce:
1. Open the Shape tutorial (Help>Tutorials
2. Scour it ((File>Save As>Optmized SVG).
3. Reopen the saved file (File>Revert).
Changed in scour: | |
status: | Fix Committed → Fix Released |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I see at least two problems when scouring the tutorials:
1) Scoured tutorial had to be zoomed in several times - not sure why.
2) Scour sees the following
xml:space= "preserve"
id="flowDiv289 0">Inkscape has four versatile <flowSpan "font-style: italic" flowSpan2892" >shape tools</flowSpan>, each tool capable of "font-style: italic" flowSpan2894" >handles< /flowSpan> and "font-style: italic" flowSpan2896" >parameters< /flowSpan> that determine the shape's appearance.
<flowDiv
style=
id="
creating and editing its own type of shapes. A shape is an object which you can modify
in ways unique to this shape type, using draggable <flowSpan
style=
id="
numeric <flowSpan
style=
id="
</flowDiv>
Scour sees the flowDiv element and notices that all the element children (the three flowSpans) all have font-style="italic" so it thinks it can commonize font-style="italic" to the flowDiv. This is definitely a bug in Scour that needs to be fixed (basically only commonize attributes if the parent only has element children - but not if it has text children).