Gisellameloni / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

letter-spacing tag removed from svg code #1183

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create SVG code in text editor that using a line like this:
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.0.2, SVG Export Plug-In . SVG Version: 
6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" 
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
      width="392.424px" height="445.455px" viewBox="0 0 392.424 445.455" enable-background="new 0 0 392.424 445.455"
      xml:space="preserve">
<text transform="matrix(1 0 0 1 122.3494 352.092)"><tspan x="20.664" y="24" 
fill="#757575" font-family="'Montserrat-Regular'" font-size="16" 
letter-spacing="10px">EST. 2014</tspan></text>
</svg>

2. Then view, and see that letter-spacing is ignored
3. Then go back to svg code and see that letter-spacing param was removed from 
svg code

What is the expected output? 
Expected that letter-spacing tag would stay.

What do you see instead?
letter-spacing tag removed

In what browser did you experience this problem? (ALL, Firefox, Opera, etc)
Chrome

In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
2.6: http://svg-edit.googlecode.com/svn/branches/2.6/editor/svg-editor.html

Please provide any additional information below.

Even if UI does not support modifying the letter spacing, the tag should not be 
removed if manually edited.

Original issue reported on code.google.com by justin.g...@gmail.com on 1 Feb 2014 at 6:44