May I ask what is the difference between the sketch svg and illustrator svg, why display different results?

60 views
Skip to first unread message

Thirty Jin

unread,
Apr 14, 2014, 6:26:24 AM4/14/14
to ico...@googlegroups.com

One is paste from sketch, other is draw in illustrator;Through the illustrator into the same file, and save as *.svg;

import icomoon, but  display problems.

May I ask what is the difference between the two, why display different results?

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.2" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
     
y="0px" width="64px" height="64px" viewBox="0 0 64 64" xml:space="preserve">
<g id="sketch">
   
<path fill-rule="evenodd" d="M3.782,5.086v26.007c0,0.55,0.439,0.997,1.002,0.997H24.78c0.554,0,1.002-0.44,1.002-0.997V5.086
        c0-0.55-0.439-0.997-1.002-0.997H4.785C4.231,4.089,3.782,4.529,3.782,5.086z M1.782,3.082v30.014c0,0.548,0.451,0.993,1.003,0.993
        h23.993c0.554,0,1.003-0.452,1.003-0.993V3.082c0-0.548-0.451-0.993-1.003-0.993H2.785C2.231,2.089,1.782,2.542,1.782,3.082z"
/>
</g>
<g id="ai">
   
<path fill-rule="evenodd" d="M62,32c0-1.105-0.895-2-2-2H38c-1.105,0-2,0.895-2,2v28c0,1.105,0.895,2,2,2h22c1.105,0,2-0.895,2-2
        V32z M60,58c0,1.105-0.895,2-2,2H40c-1.105,0-2-0.895-2-2V34c0-1.105,0.895-2,2-2h18c1.105,0,2,0.895,2,2V58z"
/>
</g>
</svg>
在此输入代码...



Untitled-2.svg
Snip20140414_4.png

Keyamoon

unread,
Apr 15, 2014, 2:17:51 PM4/15/14
to ico...@googlegroups.com
IcoMoon does not support the evenodd fill-rule right now. The AI one doesn't require the evenodd fill-rule while the one from sketch does.
Reply all
Reply to author
Forward
0 new messages