nfroidure/gulp-iconfont

same svg display different between mac and window

Closed this issue · 0 comments

I build file.svg to a font on the mac, then look at it on the window, it displays a different.
I test this file.svg in http://nfroidure.github.io/svgiconfont/ on MAC and window, it still displays a different.

file.svg is

<?xml version="1.0" encoding="UTF-8"?> <svg width="70px" height="47px" viewBox="0 0 70 47" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- Generator: Sketch 49.3 (51167) - http://www.bohemiancoding.com/sketch --> <title>img-json</title> <desc>Created with Sketch.</desc> <defs></defs> <g id="3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="3.2.3" transform="translate(-980.000000, -390.000000)"> <g id="img-json" transform="translate(980.000000, 378.000000)"> <rect id="Rectangle-6" fill="#BBBEBF" x="0" y="12" width="70" height="47" rx="8"></rect> <path d="M12.2089844,27 L12.2089844,29.7226562 L11.8354492,29.7226562 C11.4868147,29.7226562 11.2253427,29.7959791 11.0510254,29.942627 C10.8767081,30.0892748 10.7535811,30.3147771 10.6816406,30.6191406 C10.6429035,30.7851571 10.6207683,32.240312 10.6152344,32.9846191 C10.6097005,33.7289262 10.5322273,34.3141255 10.3828125,34.7402344 C10.2721349,35.0667334 10.1144216,35.3295888 9.90966797,35.5288086 C9.75471928,35.6782234 9.50016453,35.8304029 9.14599609,35.9853516 C9.51676618,36.1569019 9.79207267,36.3353669 9.97192383,36.520752 C10.151775,36.706137 10.3053379,36.9883607 10.4326172,37.3674316 C10.5598965,37.7465025 10.6235352,38.3510701 10.6235352,39.1811523 C10.6235352,39.9282264 10.6622717,41.4152007 10.7397461,41.6420898 C10.8172204,41.868979 10.9458813,42.0294592 11.1257324,42.1235352 C11.3055836,42.2176111 11.666664,42.2646484 12.2089844,42.2646484 L12.2089844,44.9541016 L11.1630859,44.9541016 C10.083979,44.9541016 9.31754784,44.8365083 8.86376953,44.6013184 C8.40999122,44.3661284 8.08626399,44.0230329 7.89257812,43.5720215 C7.69889226,43.1210101 7.60205078,42.4445032 7.60205078,41.5424805 C7.60205078,41.3432607 7.60758458,40.144044 7.61865234,39.9448242 C7.62418623,39.8230788 7.62695313,39.6985683 7.62695313,39.5712891 C7.62695313,38.9293588 7.56884824,38.4728204 7.45263672,38.2016602 C7.3364252,37.9304999 7.16902779,37.7340501 6.95043945,37.6123047 C6.73185112,37.4905593 6.41504114,37.4241537 6,37.4130859 L6,34.565918 C6.4261089,34.565918 6.74568578,34.4995124 6.95874023,34.3666992 C7.17179469,34.2338861 7.3336583,34.0305189 7.44433594,33.7565918 C7.55501357,33.4826646 7.61035156,33.019209 7.61035156,32.3662109 L7.61035156,32.0839844 C7.60481768,31.9567051 7.60205078,30.8294277 7.60205078,30.7021484 C7.60205078,29.7226514 7.68367431,29.0143251 7.84692383,28.5771484 C8.01017334,28.1399718 8.23567564,27.8051769 8.5234375,27.5727539 C8.73925889,27.3956697 9.03255023,27.2628585 9.40332031,27.1743164 C9.8958358,27.0581049 10.4575164,27 11.0883789,27 L12.2089844,27 Z M18.7657227,29.6391602 L20.9263672,29.6391602 L20.9263672,36.4360352 C20.9263672,37.3247115 20.848243,38.0082984 20.6919922,38.4868164 C20.4820302,39.1118195 20.1011746,39.6135235 19.5494141,39.9919434 C18.9976535,40.3703632 18.2701217,40.5595703 17.3667969,40.5595703 C16.3072213,40.5595703 15.4917997,40.2629424 14.9205078,39.6696777 C14.3492159,39.076413 14.0611328,38.2060604 14.05625,37.0585938 L16.099707,36.8242188 C16.1241212,37.4394562 16.2144523,37.8740222 16.3707031,38.1279297 C16.6050793,38.5136738 16.9615211,38.706543 17.4400391,38.706543 C17.9234399,38.706543 18.2652334,38.5686049 18.4654297,38.2927246 C18.665626,38.0168443 18.7657227,37.4443403 18.7657227,36.5751953 L18.7657227,29.6391602 Z M23.0841797,36.8828125 L25.1935547,36.6777344 C25.3205085,37.3857457 25.5780742,37.9057601 25.9662598,38.237793 C26.3544453,38.5698259 26.8781217,38.7358398 27.5373047,38.7358398 C28.2355504,38.7358398 28.7616682,38.5881362 29.1156738,38.2927246 C29.4696795,37.997313 29.6466797,37.6518574 29.6466797,37.2563477 C29.6466797,37.0024401 29.5722176,36.7863778 29.423291,36.6081543 C29.2743645,36.4299307 29.0143573,36.274903 28.6432617,36.1430664 C28.3893542,36.0551753 27.8107467,35.8989269 26.9074219,35.6743164 C25.7453067,35.386229 24.9298852,35.0322287 24.4611328,34.6123047 C23.8019498,34.0214814 23.4723633,33.3012738 23.4723633,32.4516602 C23.4723633,31.9047824 23.627391,31.3933129 23.9374512,30.9172363 C24.2475113,30.4411597 24.6942842,30.0786145 25.2777832,29.8295898 C25.8612822,29.5805652 26.5656209,29.4560547 27.3908203,29.4560547 C28.7384833,29.4560547 29.7528775,29.7514619 30.4340332,30.3422852 C31.115189,30.9331084 31.4728514,31.7216748 31.5070313,32.7080078 L29.3390625,32.8032227 C29.2462886,32.2514621 29.047316,31.8547375 28.7421387,31.6130371 C28.4369614,31.3713367 27.9792023,31.2504883 27.3688477,31.2504883 C26.7389617,31.2504883 26.2458026,31.3798815 25.8893555,31.6386719 C25.6598621,31.8046883 25.5451172,32.0268541 25.5451172,32.3051758 C25.5451172,32.5590833 25.652538,32.7763663 25.8673828,32.9570312 C26.1408217,33.1865246 26.8048776,33.42578 27.8595703,33.6748047 C28.9142631,33.9238294 29.6942846,34.1813952 30.1996582,34.4475098 C30.7050318,34.7136244 31.1005357,35.0773903 31.3861817,35.5388184 C31.6718276,36.0002464 31.8146484,36.5703091 31.8146484,37.2490234 C31.8146484,37.8642609 31.6437517,38.440427 31.3019531,38.9775391 C30.9601546,39.5146511 30.4767609,39.9138171 29.8517578,40.1750488 C29.2267547,40.4362806 28.4479539,40.5668945 27.515332,40.5668945 C26.1579034,40.5668945 25.1154333,40.253177 24.3878906,39.6257324 C23.6603479,38.9982879 23.225782,38.0839904 23.0841797,36.8828125 Z M33.5989258,35.0737305 C33.5989258,33.979975 33.7624984,33.0620154 34.0896485,32.3198242 C34.3337903,31.7729465 34.6670389,31.2822287 35.0894043,30.8476562 C35.5117697,30.4130838 35.9744116,30.0908214 36.4773438,29.8808594 C37.1462924,29.5976548 37.9177691,29.4560547 38.7917969,29.4560547 C40.3738361,29.4560547 41.6396925,29.9467724 42.5894043,30.9282227 C43.5391161,31.9096729 44.0139649,33.2744053 44.0139649,35.0224609 C44.0139649,36.755868 43.5427782,38.1120557 42.6003906,39.0910645 C41.6580031,40.0700733 40.3982501,40.5595703 38.8210938,40.5595703 C37.2244061,40.5595703 35.9548875,40.0725146 35.0125,39.0983887 C34.0701125,38.1242627 33.5989258,36.7827234 33.5989258,35.0737305 Z M35.8328125,35.0004883 C35.8328125,36.2163147 36.1135714,37.1379363 36.6750977,37.7653809 C37.2366239,38.3928254 37.9495074,38.706543 38.8137695,38.706543 C39.6780317,38.706543 40.3872531,38.3952668 40.9414551,37.7727051 C41.4956571,37.1501434 41.7727539,36.2163148 41.7727539,34.9711914 C41.7727539,33.7407165 41.5029812,32.8227569 40.9634278,32.2172852 C40.4238743,31.6118134 39.7073287,31.309082 38.8137695,31.309082 C37.9202104,31.309082 37.2000028,31.6154755 36.653125,32.2282715 C36.1062473,32.8410675 35.8328125,33.7651305 35.8328125,35.0004883 Z M46.1278321,40.3764648 L46.1278321,29.6391602 L48.2372071,29.6391602 L52.6317383,36.8095703 L52.6317383,29.6391602 L54.6458985,29.6391602 L54.6458985,40.3764648 L52.4706055,40.3764648 L48.1419922,33.3745117 L48.1419922,40.3764648 L46.1278321,40.3764648 Z M58,27 L59.1206055,27 C59.751468,27 60.3131486,27.0581049 60.8056641,27.1743164 C61.1764341,27.2628585 61.4697255,27.3956697 61.6855469,27.5727539 C61.9733087,27.8051769 62.198811,28.1399718 62.3620605,28.5771484 C62.5253101,29.0143251 62.6069336,29.7226514 62.6069336,30.7021484 C62.6069336,30.8294277 62.6041667,31.9567051 62.5986328,32.0839844 L62.5986328,32.3662109 C62.5986328,33.019209 62.6539708,33.4826646 62.7646484,33.7565918 C62.8753261,34.0305189 63.0371897,34.2338861 63.2502441,34.3666992 C63.4632986,34.4995124 63.7828755,34.565918 64.2089844,34.565918 L64.2089844,37.4130859 C63.7939432,37.4241537 63.4771333,37.4905593 63.2585449,37.6123047 C63.0399566,37.7340501 62.8725592,37.9304999 62.7563477,38.2016602 C62.6401361,38.4728204 62.5820312,38.9293588 62.5820312,39.5712891 C62.5820312,39.6985683 62.5847981,39.8230788 62.590332,39.9448242 C62.6013998,40.144044 62.6069336,41.3432607 62.6069336,41.5424805 C62.6069336,42.4445032 62.5100921,43.1210101 62.3164062,43.5720215 C62.1227204,44.0230329 61.7989932,44.3661284 61.3452148,44.6013184 C60.8914365,44.8365083 60.1250054,44.9541016 59.0458984,44.9541016 L58,44.9541016 L58,42.2646484 C58.5423204,42.2646484 58.9034008,42.2176111 59.083252,42.1235352 C59.2631031,42.0294592 59.3917639,41.868979 59.4692383,41.6420898 C59.5467126,41.4152007 59.5854492,39.9282264 59.5854492,39.1811523 C59.5854492,38.3510701 59.6490879,37.7465025 59.7763672,37.3674316 C59.9036465,36.9883607 60.0572094,36.706137 60.2370605,36.520752 C60.4169117,36.3353669 60.6922182,36.1569019 61.0629883,35.9853516 C60.7088198,35.8304029 60.4542651,35.6782234 60.2993164,35.5288086 C60.0945628,35.3295888 59.9368495,35.0667334 59.8261719,34.7402344 C59.6767571,34.3141255 59.5992839,33.7289262 59.59375,32.9846191 C59.5882161,32.240312 59.5660809,30.7851571 59.5273438,30.6191406 C59.4554033,30.3147771 59.3322763,30.0892748 59.157959,29.942627 C58.9836417,29.7959791 58.7221697,29.7226562 58.3735352,29.7226562 L58,29.7226562 L58,27 Z" id="{JSON}" fill="#FFFFFF"></path> </g> </g> </g> </svg>