fabricjs / fabric.js

Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser
http://fabricjs.com
Other
29.01k stars 3.51k forks source link

SVG images not rendering properly on canvas #6566

Closed fubuk-i closed 4 years ago

fubuk-i commented 4 years ago

I have used fabric.loadSVGFromURL function for loading SVG image to canvas. Some part of every SVG image is missing or distorted if its text. Following SVG is not loaded properly on canvas: image

The actual svg file hosted on: http://174.138.12.68:4000/transparent_images/1599056081625-google.pdf-1.svg

Its pdf version: 1589379674035-Google Five Star Cust. Rating.pdf

Following is the code which I have used: var imageUrl = 'http://174.138.12.68:4000/transparent_images/1599056081625-google.pdf-1.svg'; fabric.loadSVGFromURL(imageUrl, function(objects, options) { var img = fabric.util.groupSVGElements(objects, options); img.set({ left: canvas.width/2, top: canvas.height/2, scaleY: canvas.height / (img.height*3), scaleX: canvas.width /(img.width*3) }); canvas.add(img).renderAll();

asturur commented 4 years ago

there are 2 problems in importing text from SVG, fonts and tspans. Loading fonts is up to you, and i have no idea how they are specified in the SVG. Tspans are still unsupported

fubuk-i commented 4 years ago

Following is the svg data as it has no fonts no tspans in it still it is not rendering. And for other svg's also which does not include any text in it some part of it also missing or rendered incorrectly.

<svg width="222" height="184" viewBox="0 0 222 184" xmlns="http://www.w3.org/2000/svg"><path d="M40.695 33.52h17l-3.687 2.5v14.187s-7.813 3.5-21.563 2.75-26.5-7.625-26.5-25S18.238.918 33.156.918C48.07.918 53.82 6.25 53.82 6.25l-6.082 6.25.5-3.832s-5.73-6.336-17.418-5.586c-12.863.828-21.133 14.684-17.5 29.75 3.375 14 20.875 21.625 34.75 16.375V35.582h-8.75zm0 0" fill="#0068f2"/><path d="M159.07 70.52c-8.437 2.187-16.812-1.5-17.687-7.375s4.375-10.438 16.187-10.563c0 0 4.313 2.188 6.938 5.5 2.625 3.313 3 10.25-5.438 12.438M145.8 33.898c-1.675-5.652.477-11.277 4.81-12.566 4.331-1.285 9.206 2.254 10.89 7.906 1.676 5.653-.477 11.278-4.813 12.563-4.332 1.289-9.207-2.25-10.886-7.903M163.406 50c-4.168-3.832-5.418-5.668-5.418-5.668s8.418-4.414 9-12.164c.586-7.75-4.25-10.75-4.25-10.75h4.668l1.5-2.25h-15.5c-7.75 0-14.082 4.832-13.332 13.5.75 8.664 8.414 12.332 13.914 11.25-1.664 4.5 1.418 7.082 1.418 7.082s-11.25-.5-16.582 5.918c-4.48 5.387-3.086 13.582 6.914 16 10 2.414 21.086-.918 23.086-7.918s-1.254-11.168-5.418-15" fill="#0068f2"/><path d="M181.488 49.707V4.832h1.52l1.562-2.312h-11.25l-1.5 2.312h4.418v44.875h-1.793l-1.5 2.313h11.188l1.562-2.313zm0 0" fill="#00a158"/><path d="M193.57 34.707c-.75-11.687 6.313-13.937 11.063-13 4.75.938 5.875 5.938 5.875 5.938zm1.375 1.875l21.375-8.875s-2.625-9.375-12.75-8.5-17.5 8.75-15 19.25 13.625 20.875 28.75 9.25c0 0-19.5 8-22.375-11.125" fill="#d84424"/><path d="M82.707 50.215c-6.07 1.62-12.727-3.559-14.871-11.574-2.14-8.012 1.039-15.825 7.11-17.45 6.066-1.62 12.722 3.559 14.867 11.575 2.144 8.011-1.04 15.824-7.106 17.449M78.695 19c-9.457 0-17.125 7.535-17.125 16.832s7.668 16.836 17.125 16.836 17.125-7.54 17.125-16.836C95.82 26.535 88.152 19 78.695 19" fill="#d84424"/><path d="M121.465 50.215c-6.067 1.62-12.727-3.559-14.871-11.574-2.14-8.012 1.039-15.825 7.11-17.45 6.066-1.62 12.726 3.559 14.866 11.575 2.145 8.011-1.039 15.824-7.105 17.449M117.453 19c-9.457 0-17.125 7.535-17.125 16.832s7.668 16.836 17.125 16.836c9.461 0 17.125-7.54 17.125-16.836 0-9.297-7.664-16.832-17.125-16.832" fill="#ffb900"/><path d="M101.988 90.332L80.156 94.25l15.082 13.664-2.25 21.668 19.418-9.25 19.914 9.082-2.5-20.914 14.086-14.082-20.918-3.754-10.918-18zm0 0" fill="#ffbd00"/><path d="M53.934 102.871l-16.696 2.996 11.535 10.45-1.722 16.57 14.847-7.075 15.23 6.946-1.91-15.992 10.77-10.77-15.996-2.867-8.347-13.766zm0 0" fill="#ffbd00"/><path d="M13.727 115.246L.453 117.63l9.168 8.305-1.367 13.171 11.805-5.625 12.101 5.524-1.52-12.715 8.563-8.559-12.715-2.28-6.633-10.942zm0 0" fill="#ffbd00"/><path d="M196.723 114.629l-13.27 2.383 9.168 8.304-1.367 13.172 11.8-5.625 12.106 5.524-1.52-12.715 8.563-8.559-12.715-2.281-6.636-10.941zm0 0" fill="#ffbd00"/><path d="M156.54 103.605l-16.7 2.997 11.535 10.453-1.719 16.566 14.848-7.074 15.23 6.95-1.914-15.997 10.77-10.77-15.992-2.867-8.348-13.765zm0 0" fill="#ffbd00"/><path d="M73.219 145.707v2.836h-6.29v4.129h5.926v2.715h-5.949v7.648h-3.472v-17.328zm0 0" fill="#231f20"/><path d="M78.828 163.035h-3.445v-17.328h3.445zm0 0" fill="#231f20"/><path d="M84.36 145.707l2.53 14.86 2.66-14.86h3.602l-3.941 17.328h-4.773l-3.81-17.328zm0 0" fill="#231f20"/><path d="M104.527 145.707v2.836H98.34v4.082h5.793v2.734H98.34v4.817h6.262v2.86h-9.653v-17.329zm0 0" fill="#231f20"/><path d="M119.29 150.984c-.024-.586-.024-1.172-.18-1.757-.34-1.247-1.383-1.344-1.88-1.344-1.644 0-1.906 1.219-1.906 1.734 0 .196.028.586.29 1.004.39.559 1.042.977 2.269 1.758 1.148.71 2.945 1.762 3.836 2.738.937 1.004 1.172 2.102 1.172 3.399 0 .586-.024 2.027-1.227 3.297-.234.273-.937.933-1.98 1.273-.473.144-1.282.293-2.508.293-2.242 0-3.285-.61-4.043-1.367-1.41-1.418-1.41-3.254-1.383-5.063h3.39c-.023 1.469 0 2.371.34 2.985.524.855 1.516.925 1.829.925.78 0 2.113-.293 2.113-2.101 0-1.442-.836-1.88-1.957-2.613-2.168-1.47-3.418-2.153-4.281-3.032-.496-.488-1.227-1.441-1.227-3.105 0-3.203 2.191-4.696 5.43-4.696.652 0 2.972.051 4.304 1.813.86 1.172.887 2.492.914 3.887zm0 0" fill="#231f20"/><path d="M135.18 145.707v2.836h-3.942v14.469h-3.496v-14.446h-3.965v-2.859zm0 0" fill="#231f20"/><path d="M142.04 156.117l-.548-2.71c-.21-1.052-.445-2.102-.601-3.18a25.495 25.495 0 01-.262-1.88c-.18 1-.336 2.005-.547 3.005-.184.953-.418 1.91-.625 2.886-.133.61-.262 1.246-.39 1.88zm5.112 6.918h-3.703l-.887-4.398h-4.046l-.938 4.398h-3.473l4.23-17.328h4.669zm0 0" fill="#231f20"/><path d="M152.137 153.04h2.425c.079 0 .653 0 1.043-.145 1.333-.516 1.254-2.176 1.254-2.399 0-.195.078-1.71-1.175-2.176-.34-.12-.653-.144-1.043-.144h-2.504zm3.207-7.31c1.304 0 2.558.047 3.629.907.78.61 1.382 1.586 1.382 3.566 0 1.149-.156 2.3-1.12 3.129a2.604 2.604 0 01-1.048.61c-.285.074-.39.101-.652.124.63.098 2.168.317 2.586 2.028.207.883.102 2.394.234 4.472.024.516.051 1.274.313 1.739.078.144.234.293.34.39v.34h-3.758c-.34-.828-.39-1.293-.39-2.906v-1.027c0-.93.05-2.567-.81-3.25-.523-.391-1.097-.418-1.722-.418h-2.191v7.601h-3.446V145.73zm0 0" fill="#231f20"/><path d="M49.02 169.656h-.008c-2.024.012-2.86.774-3.305 1.496-.32.547-.539 1.192-.633 2.578a53.508 53.508 0 00-.094 2.958c0 2.335.192 3.519.75 4.464.063.125.317.524.7.805.886.672 2.289.688 2.562.684.285 0 1.055-.04 1.801-.36.156-.074.469-.21.785-.496a2.47 2.47 0 00.512-.652c.539-.926.59-1.871.594-2.946h-2.082c-.004 1.094-.16 1.91-.465 2.368-.367.539-.903.586-1.145.582-.601.008-1.113-.23-1.379-.774-.36-.652-.375-1.957-.383-3.601.004-2.13.036-3.727.352-4.598.313-.894 1.082-.976 1.445-.969h.047c.2 0 .696.012 1.051.426.426.52.48 1.379.504 1.969h2.059v-.164c.003-.64-.09-1.95-.84-2.766-.672-.746-1.805-1.004-2.828-1.004" fill="#231f20"/><path d="M58.742 181.086c-.262-.004-1.125-.055-1.582-.832-.336-.594-.305-1.266-.328-2.45v-7.859h-2.137v7.73c.016 1.981.117 2.962.676 3.708.77 1.023 2.055 1.258 3.371 1.258 1.324 0 2.68-.203 3.422-1.286.652-.953.648-2.527.664-3.675v-7.735h-2.14v7.016c-.004 1.527.015 2.613-.36 3.305-.187.375-.648.824-1.586.82" fill="#231f20"/><path d="M69.262 174.844c-.88-.574-1.371-.883-1.692-1.352a1.552 1.552 0 01-.234-.832c.004-.422.25-1.46 1.55-1.46.372-.012 1.259.093 1.528 1.124.106.399.117.79.133 1.16l2.027.016c-.02-.953-.074-1.809-.617-2.563-.887-1.218-2.496-1.265-2.957-1.261-2.281.023-3.71 1.015-3.727 3.273 0 1.164.493 1.809.832 2.153.586.617 1.489 1.125 3.051 2.207.79.515 1.496.925 1.489 2.082 0 1.449-1.11 1.726-1.7 1.726-.246 0-1.03-.05-1.472-.777-.23-.43-.274-.973-.274-1.754 0-.11 0-.227.004-.344h-2.082c-.004.094-.004.196-.004.293 0 1.164.11 2.25.95 3.117.519.524 1.199.946 2.785.953.867 0 1.433-.109 1.746-.207.71-.234 1.199-.703 1.355-.886.817-.887.832-1.883.832-2.305-.004-.934-.156-1.676-.797-2.375-.605-.684-1.894-1.465-2.726-1.988" fill="#231f20"/><path d="M73.781 171.703h2.86v10.633h2.156v-10.652h2.84v-1.72H73.78zm0 0" fill="#231f20"/><path d="M88.266 179.832c-.286 1.133-1.137 1.324-1.637 1.324h-.059c-.66 0-1.066-.215-1.304-.41-.477-.441-.543-1.101-.621-1.605-.098-.875-.118-1.746-.118-2.63.004-1.863.055-3.245.254-4.007.285-1.16 1.125-1.363 1.672-1.348.043 0 .086.004.117.004.43 0 .86.074 1.211.39.371.356.543.88.64 1.794.04.437.06.875.056 1.32.02.492.02 1 .02 1.524 0 1.675-.056 2.953-.231 3.644m1.855-8.633l-.156.094c-.48-.852-1.278-1.61-3.387-1.621-.043 0-.086.004-.137.004-1.902.043-2.683.637-3.187 1.312-.762 1.032-.906 2.446-.902 5.16-.004 2.606.175 4.082.851 5.079.762 1.132 1.957 1.41 3.348 1.414 1.922-.016 3.152-.602 3.738-2.395.344-1 .387-2.262.383-4.601.004-2.282-.152-3.41-.707-4.348zm0 0" fill="#231f20"/><path d="M99.484 174.84c-.242 1.18-.43 2.347-.636 3.52h-.356a99.477 99.477 0 00-.601-3.395c-.149-.7-.301-1.403-.45-2.121-.214-.961-.41-1.918-.609-2.88h-3.734v12.391h2.027l-.074-11.261.355-.043 2.543 11.285h1.328l2.637-11.445.356.043-.094 11.421h2.062v-12.39h-3.656c-.164.742-.34 1.472-.496 2.234-.207.88-.414 1.762-.602 2.64" fill="#231f20"/><path d="M109.086 176.703h4.172v-1.648h-4.172v-3.371h4.453v-1.72h-6.535v12.388h6.594v-1.739h-4.512zm0 0" fill="#231f20"/><path d="M121.656 173.305v.086c0 .332-.031 1.449-1.015 1.851-.332.125-.754.117-.817.121h-1.93v-3.949h1.989c.285 0 .539.016.812.117.926.364.961 1.383.961 1.692zm2.16 7.43c-.093-1.544-.023-2.673-.164-3.266-.27-1.137-1.254-1.274-1.715-1.356l.012-.363c.184-.02.235-.031.434-.082.36-.113.578-.309.687-.414.633-.555.746-1.328.746-2.164-.004-1.422-.406-2.059-.925-2.485-.715-.582-1.563-.62-2.504-.62l-4.61-.005v12.375h2.118v-5.597h1.761c.45 0 .922.015 1.352.347.644.543.64 1.594.648 2.293v.997c.004 1.113.031 1.437.227 1.96h2.39c-.066-.07-.152-.16-.207-.27-.218-.41-.226-.976-.25-1.35" fill="#231f20"/><path d="M136.145 173.305v.086c0 .332-.036 1.449-1.02 1.851-.332.125-.75.117-.813.121h-1.93v-3.949h1.985c.29 0 .543.016.813.117.93.364.965 1.383.965 1.692zm2.16 7.43c-.094-1.544-.024-2.673-.168-3.266-.27-1.137-1.254-1.274-1.711-1.356l.012-.363c.18-.02.23-.031.433-.082.356-.113.578-.309.688-.414.632-.555.742-1.328.746-2.164-.008-1.422-.41-2.059-.93-2.485-.715-.582-1.559-.62-2.5-.62h-4.613v12.37h2.12v-5.597h1.763c.449 0 .917.015 1.351.347.64.543.637 1.594.649 2.293v.997c.003 1.113.03 1.437.226 1.96h2.39c-.066-.07-.152-.16-.21-.27-.219-.41-.223-.976-.246-1.35" fill="#231f20"/><path d="M143.297 177.629l.047-.223.277-1.383c.156-.722.32-1.425.453-2.125.153-.734.262-1.468.395-2.207l.355.016c.035.441.113.902.188 1.375.11.781.281 1.555.43 2.328l.394 2 .043.219zm-.164-7.664l-2.957 12.39h2.125l.676-3.242h3.207l.636 3.242h2.297l-2.902-12.39zm0 0" fill="#231f20"/><path d="M148.734 171.703h2.856v10.633h2.156v-10.652h2.84v-1.72h-7.852zm0 0" fill="#231f20"/><path d="M157.883 182.355h2.12v-12.39h-2.12zm0 0" fill="#231f20"/><path d="M165.55 169.945h-2.784v12.407h1.988l-.149-9.293.344-.079 3.942 9.372h2.648v-12.407h-2.004l.223 9.168-.344.075zm0 0" fill="#231f20"/><path d="M180.168 177.625c-.008 1.387-.191 2.387-.668 2.898-.488.528-1.117.543-1.336.543-.508-.004-1.113-.164-1.473-.609-.59-.77-.578-2.164-.586-4.074 0-1.7.051-3.028.25-3.735.06-.253.168-.476.31-.687.233-.375.687-.793 1.651-.781.817-.028 1.754.398 1.887 1.984.016.164.02.324.02.48h2.043c-.02-.578-.036-1.187-.192-1.699-.078-.215-.195-.562-.52-.992-.534-.691-1.374-1.27-3.331-1.277-2.055.008-2.91.656-3.446 1.363-.351.492-.59 1.098-.738 2.375-.094.98-.129 1.969-.129 2.95 0 2.16.078 3.265.453 4.214.25.598.696 1.57 2.29 1.89.163.048.57.118 1.077.118 1.262 0 1.918-.547 2.211-.922.098-.129.184-.27.332-.605l.344.062.082 1.234h1.492v-6.597h-3.734v1.683h1.711zm0 0" fill="#231f20"/></svg>

asturur commented 4 years ago

path only svg should render good, unless i broke paths in 4.1 did you try loading it in current fabricjs.com/kitchensink ? please paste the result here together with how the browser renders it

fubuk-i commented 4 years ago

I tried to load four svg's on fabricjs.com/kitchensink here are the results:

Screenshot from 2020-09-03 16-22-31

Along with their browser representations: Google svg: Screenshot from 2020-09-03 16-25-01

Women Empowerment logo: Screenshot from 2020-09-03 16-25-47

Heart logo: Screenshot from 2020-09-03 16-26-34

ES store logo: Screenshot from 2020-09-03 16-27-18

I have also check their svg data and they all are path only svg.

asturur commented 4 years ago

ok interesting, i believe that fabricjs.com is still based on 3.6.3 so either an svg import bug or i broke something on 4.1 and updated fabricjs by error.

can you pleae add the svgs here? they are useful for testing

fubuk-i commented 4 years ago

Yeah sure!!! Google svg data posted above: https://github.com/fabricjs/fabric.js/issues/6566#issuecomment-686321509

Women Empowerment svg data:: <svg width="296" height="352" viewBox="0 0 296 352" xmlns="http://www.w3.org/2000/svg"><path d="M75.695 125.508c-2.066 2.297-4.726 3.449-7.972 3.449-3.227 0-5.891-1.16-7.989-3.48-2.097-2.317-3.144-5.696-3.144-10.133 0-4.555 1.02-7.957 3.055-10.207 2.035-2.25 4.73-3.371 8.078-3.371 3.347 0 6.03 1.113 8.047 3.34 2.015 2.23 3.027 5.601 3.027 10.117 0 4.558-1.035 7.984-3.102 10.285m-7.824-32.504c-3.508 0-6.613.558-9.316 1.683-2.016.825-3.871 2.094-5.57 3.813a19.732 19.732 0 00-3.587 5.016v22.914a18.037 18.037 0 003.29 4.632c3.769 3.836 8.87 5.75 15.304 5.75 6.336 0 11.39-1.925 15.16-5.78 3.774-3.852 5.66-9.204 5.66-16.052 0-6.882-1.902-12.27-5.703-16.152-3.804-3.883-8.882-5.824-15.234-5.824"/><path d="M118.645 122.27L100.94 94.086h-9.71V136.3h9.32V108.75l17.398 27.55h10.196V94.087h-9.5zm0 0"/><path d="M159.234 125.508c-2.07 2.297-4.726 3.449-7.972 3.449-3.227 0-5.89-1.16-7.989-3.48-2.097-2.317-3.144-5.696-3.144-10.133 0-4.555 1.016-7.957 3.055-10.207 2.035-2.25 4.73-3.371 8.078-3.371 3.347 0 6.031 1.113 8.047 3.34 2.015 2.23 3.027 5.601 3.027 10.117 0 4.558-1.035 7.984-3.102 10.285m-7.824-32.504c-3.508 0-6.613.558-9.316 1.683-2.016.825-3.875 2.094-5.567 3.813a19.637 19.637 0 00-3.996 5.824c-1.308 2.91-1.965 6.531-1.965 10.871 0 6.743 1.887 12.032 5.657 15.868 3.773 3.835 8.875 5.75 15.312 5.75 6.332 0 11.387-1.926 15.156-5.782 3.774-3.851 5.66-9.203 5.66-16.05 0-6.883-1.902-12.27-5.703-16.153-3.8-3.883-8.882-5.824-15.238-5.824"/><path d="M201.246 114.082c2.785-2.773 4.195-5.867 4.234-9.289.043-3.426-.93-6.074-2.917-7.953-1.989-1.875-4.555-2.793-7.7-2.754h-20.09l.032 42.094h9.468l.059-32.727h9.504c1.047-.043 1.773.336 2.176 1.125.402.797.23 1.594-.516 2.395l-7.652 8.46c-.324.504-.543.958-.664 1.356l-.153.813.059 1.898.094.121.543 1.625 8.472 14.965 11.618.059-9.684-16.649c-.707-.922.336-2.77 3.117-5.539"/><path d="M242.852 119.59v-.09l-.243-.754a4.136 4.136 0 01-.304-.601l-.121-.301-.121-.121a1.804 1.804 0 00-.395-.66l-.027-.122a3.838 3.838 0 01-.395-.574c-.101-.117-.203-.238-.305-.36a2.305 2.305 0 00-.328-.421l-.789-.781-.21-.153-.243-.242a3.028 3.028 0 01-.637-.512l-.148-.058-.578-.453-.363-.18-.633-.332-.063-.059a6.948 6.948 0 01-.969-.511l-.937-.395-.152-.027-1.75-.602-.368-.12-.273-.063c-.18 0-.313-.028-.39-.09l-.09-.031a7.333 7.333 0 00-.938-.27l-.184-.059-.511-.09-.184-.062c-.25-.086-.5-.156-.758-.21l-.726-.18-.211-.032-.18-.058a6.411 6.411 0 01-.758-.211c-.02 0-.132-.012-.332-.032-.203-.02-.324-.058-.363-.12l-.152-.028-.243-.031-.21-.09-2.692-.754-.215-.063-.754-.296-.332-.121-.515-.184a3.034 3.034 0 01-.817-.66c-.425-.824-.465-1.625-.125-2.41.707-.922 1.578-1.524 2.606-1.805-.02 0-.031.008-.031.027l.695-.117.363-.094c.422-.058.926-.097 1.516-.117l15.64.028.09-8.672.016-.059H227.69c-.363.02-.675 0-.937-.062h-1.547c-5.441.285-9.437 2.37-11.977 6.265-2 3.613-2.25 7.149-.757 10.598l.27.48.152.274.09.18c.163.304.324.554.484.753l.183.211.18.27 1.3 1.324c.243.203.427.363.548.484l.273.18.09.09.242.148.18.121.394.27.274.184.18.03c.242.18.433.29.574.333l1 .48.394.153c.262.136.485.218.664.238l.422.148.606.243.183.03.969.302.18.062.273.059.152.058c.223.02.391.063.512.121h.094l.422.184c.176.012.347.043.515.09.18 0 .301.027.364.09.16.02.332.07.511.148l.301.059c.426.066.75.144.973.242.02 0 .14.031.36.094l1.09.27h.12l.547.148.059.062c.324.04.593.11.816.211a2.8 2.8 0 01.457.121h.149l.183.09h.121l.301.148.727.243.335.152c.383.14.696.281.934.418 1.414.785 1.957 1.898 1.637 3.344-.387 1.804-1.617 2.91-3.692 3.312h-17.55v8.64l15.918-.03.148-.06h.574c.281-.058.563-.089.848-.089l.152-.027.395-.063.18-.031.363-.059.152-.03.242-.09h.184l.238-.06.211-.03.547-.184c-.082 0-.133.012-.152.035l.605-.152 2.36-.907c.183-.117.335-.187.457-.207.363-.203.593-.332.695-.394l1.27-.871.12-.121.243-.153 1.664-1.625c2.785-3.652 3.59-7.507 2.422-11.562"/><path d="M241.715 94.207h.137c-.055-.16-.098-.152-.137 0"/><path d="M60.777 58.621c2.22-2.379 5.157-3.57 8.805-3.57 3.648 0 6.574 1.18 8.77 3.535 2.203 2.36 3.3 5.93 3.3 10.707 0 4.824-1.129 8.453-3.382 10.883-2.254 2.433-5.149 3.648-8.688 3.648-3.516 0-6.422-1.226-8.703-3.68-2.29-2.453-3.434-6.027-3.434-10.722 0-4.824 1.11-8.422 3.332-10.8m-7.586 27.433c4.114 4.058 9.676 6.086 16.688 6.086 6.902 0 12.41-2.04 16.52-6.118 4.113-4.078 6.167-9.738 6.167-16.984 0-7.285-2.07-12.984-6.214-17.098-4.145-4.109-9.68-6.164-16.606-6.164-3.824 0-7.21.594-10.156 1.785-2.2.872-4.223 2.215-6.067 4.032a20.743 20.743 0 00-4.125 5.722v23.438a19.295 19.295 0 003.793 5.3" fill="#f0028e"/><path d="M104.965 56.484l9.629 35.118h9.433l9.66-35.118v35.118h10.387V47.02h-17.508l-6.53 27.023-7.52-27.023H95.203v44.582h9.762zm0 0" fill="#f0028e"/><path d="M157.527 91.473h17.246v-9.559h-16.949v-7.586h13.688v-9.621h-13.688v-8.191h16.95v-9.59h-17.247c-6.507-.172-9.968 2.41-10.39 7.742v28.105c-.282 6.247 3.18 9.145 10.39 8.7" fill="#f0028e"/><path d="M187.57 62.441l18.961 29.16h11.114V46.927h-10.356V76.75L188 46.926h-10.586v44.676h10.156zm0 0" fill="#f0028e"/><path d="M59.031 32.086l3.7-9.95 3.624 9.95zm6.438-19.668c-.805-.586-1.73-.879-2.785-.879-1.04 0-1.961.277-2.762.832-.805.55-1.524 1.45-2.152 2.684l-8.372 22.527v7.656h4.747l2.722-7.394h11.656l2.7 7.394h7.543L67.62 15.055c-.633-1.172-1.351-2.051-2.152-2.637"/><path d="M102 27.512c2.238-2.219 3.371-4.696 3.402-7.434.035-2.738-.75-4.86-2.347-6.36-1.594-1.5-3.66-2.238-6.188-2.202H80.711l.023 33.675h7.618l.046-26.183h7.641c.844-.035 1.426.265 1.75.902.328.633.188 1.274-.414 1.914l-6.152 6.77c-.262.402-.442.761-.535 1.086l-.126.648.051 1.52.075.093.437 1.301 6.813 11.973 9.34.047-7.786-13.32c-.566-.739.27-2.215 2.508-4.43"/><path d="M109.227 45.36h7.71V11.585h-7.71zm0 0"/><path d="M134.844 37.82h-8.2V18.72l6.376.023c1.753-.082 2.261.703 1.53 2.36l-5.23 6.359c-.695.754-.93 1.45-.707 2.086.23.633 1.45 1.992 3.664 4.082 2.211 2.086 3.332 3.281 3.36 3.578.02.297-.242.5-.793.613m5.363-13.73c1.793-2.668 2.41-5.297 1.852-7.89-.559-2.595-2.61-4.137-6.145-4.637h-17.031v33.675h16.984l.317-.047.437-.12.316-.048c.715-.16 1.297-.347 1.75-.554 1.93-1.14 3.118-2.653 3.551-4.528.926-3.324-.707-7.027-4.886-11.105.113-.5 1.062-2.082 2.855-4.746"/><path d="M161.535 37.82h-8.203V18.72l6.375.023c1.754-.082 2.262.703 1.535 2.36l-5.23 6.359c-.7.754-.934 1.45-.707 2.086.226.633 1.449 1.992 3.66 4.082 2.215 2.086 3.336 3.281 3.36 3.578.023.297-.24.5-.79.613m5.363-13.73c1.79-2.668 2.407-5.297 1.848-7.89-.559-2.595-2.605-4.137-6.144-4.637h-17.028v33.68h16.98l.317-.052.438-.12.312-.048c.719-.16 1.3-.343 1.758-.554 1.93-1.14 3.113-2.649 3.55-4.528.923-3.324-.706-7.027-4.89-11.105.113-.5 1.066-2.078 2.86-4.746"/><path d="M172.578 17.367v21.246c-.21 4.723 2.344 6.914 7.664 6.578h12.727v-7.226H180.46V32.23h10.098v-7.273H180.46v-6.191h12.508v-7.25h-12.727c-4.8-.13-7.355 1.82-7.664 5.851"/><path d="M207.395 32.086l3.699-9.95 3.625 9.95zm6.433-19.668c-.8-.586-1.73-.879-2.785-.879-1.04 0-1.961.277-2.762.832-.8.55-1.52 1.45-2.152 2.684l-11.215 30.183h7.59l2.723-7.394h11.656l2.699 7.394h7.543L215.98 15.055c-.632-1.172-1.347-2.051-2.152-2.637"/><path d="M251.113 11.516v22.547l-14.23-22.547h-7.813v33.773h7.496V23.246l13.989 22.04h8.199v-33.77zm0 0"/><path d="M49.398 141.54v19.405c.852.922 2.305 1.32 4.356 1.196h8.73v-4.723h-8.582v-3.75h6.93v-4.758h-6.93v-4.047h8.582v-4.738h-8.73c-2.047-.055-3.5.418-4.356 1.418"/><path d="M76.395 153.523l-3.81-13.355H63.82v22.035h4.946v-17.355l4.87 17.355h4.778l4.89-17.355v17.355h5.258v-22.031H79.7zm0 0"/><path d="M100.426 148.73c-.328.415-.781.72-1.364.915-.578.195-1.73.289-3.453.289h-.55v-5.258h.265c1.582 0 2.63.035 3.14.11.712.112 1.298.39 1.759.823.465.438.695.996.695 1.68a2.27 2.27 0 01-.492 1.441m1.11-8.277c-.856-.223-2.7-.332-5.524-.332h-6.114v22.02h5.125v-7.985h1.204c2.101 0 3.71-.105 4.824-.316.812-.176 1.613-.531 2.402-1.055.793-.523 1.445-1.246 1.957-2.164.512-.918.766-2.16.766-3.726 0-1.754-.446-3.184-1.336-4.293-.89-1.106-1.992-1.825-3.305-2.149"/><path d="M123.496 156.555c-1.137 1.203-2.605 1.808-4.398 1.808-1.782 0-3.25-.61-4.407-1.82-1.16-1.215-1.738-2.98-1.738-5.3 0-2.384.563-4.165 1.688-5.34 1.125-1.176 2.609-1.766 4.457-1.766 1.847 0 3.328.586 4.441 1.75 1.113 1.168 1.668 2.93 1.668 5.293 0 2.382-.566 4.175-1.71 5.375m-4.313-17c-1.938 0-3.653.293-5.145.882-1.11.43-2.137 1.094-3.07 1.993a10.222 10.222 0 00-2.203 3.047c-.727 1.523-1.086 3.418-1.086 5.687 0 3.527 1.039 6.293 3.12 8.3 2.083 2.005 4.9 3.009 8.45 3.009 3.492 0 6.281-1.008 8.363-3.024 2.078-2.02 3.121-4.816 3.121-8.394 0-3.602-1.047-6.422-3.144-8.453-2.102-2.032-4.903-3.047-8.406-3.047"/><path d="M155.563 156.957c-.047 0-.192-.867-.434-2.613l-3.957-14.27h-5.027c-2.848 11.258-4.313 16.883-4.391 16.883-.031 0-.176-.867-.418-2.613l-3.973-14.27h-5.293c.582 2.25 1.16 4.504 1.739 6.758a712.777 712.777 0 002.27 8.473c.823 2.992 1.355 4.683 1.6 5.074a3.719 3.719 0 001.704 1.566 5.545 5.545 0 002.39.528c.832 0 1.63-.184 2.391-.543.766-.364 1.34-.887 1.73-1.57.235-.4.762-2.087 1.586-5.07.415-1.458.813-2.915 1.204-4.38.308 1.223.707 2.684 1.183 4.395.824 2.992 1.36 4.683 1.602 5.074.398.687 1 1.234 1.722 1.566a5.559 5.559 0 004.766-.016c.762-.363 1.344-.886 1.746-1.57.223-.398.75-2.086 1.582-5.07.649-2.34 1.406-5.164 2.274-8.473a447.778 447.778 0 001.703-6.742h-5.328c-2.848 11.258-4.305 16.883-4.371 16.883"/><path d="M166.813 143.95v13.894c-.141 3.086 1.609 4.52 5.261 4.297h8.73v-4.723h-8.577v-3.75h6.925v-4.758h-6.93v-4.047h8.583v-4.742h-8.73c-3.298-.082-5.048 1.191-5.262 3.828"/><path d="M196.746 150.582c1.54-1.45 2.316-3.07 2.34-4.86.023-1.792-.516-3.179-1.61-4.16-1.097-.98-2.515-1.46-4.25-1.437h-11.085l.015 22.016h5.227l.031-17.121h5.246c.574-.02.977.175 1.2.59.222.413.128.831-.286 1.253l-4.222 4.426a2.855 2.855 0 00-.368.711l-.082.422.036.996.046.059.301.855 4.676 7.824 6.41.031-5.344-8.71c-.39-.48.188-1.446 1.72-2.895"/><path d="M214.277 153.523l-3.804-13.355h-8.766v22.035h4.941v-17.355l4.875 17.355h4.774l4.894-17.355v17.355h5.258v-22.031h-8.867zm0 0"/><path d="M228 143.95v13.894c-.145 3.086 1.61 4.52 5.262 4.297h8.73v-4.723h-8.582v-3.75h6.93v-4.758h-6.93v-4.047h8.582v-4.742h-8.73c-3.297-.082-5.047 1.191-5.262 3.828"/><path d="M258.453 154.863l-9.765-14.738h-5.36v22.082h5.14v-14.414l9.602 14.41h5.625v-22.078h-5.242zm0 0"/><path d="M265.031 140.125v4.77h4.926v17.292h5.445v-17.292h4.657v-4.77zm0 0"/><path d="M48.496 157.844v-13.895c.078-.996.383-1.8.902-2.41v-15.11c-1.574-3.14-2.37-6.878-2.37-11.238 0-4.336.656-7.957 1.964-10.867.125-.277.27-.539.406-.808V80.754c-1.578-3.238-2.37-7.07-2.37-11.492 0-4.59.714-8.422 2.144-11.504.066-.153.152-.293.226-.442V45.238h-2.843l2.843-7.656V2.754H2.438V174h46.96v-13.055c-.668-.715-.968-1.75-.902-3.101"/><path d="M48.496 143.95v13.894c-.066 1.351.234 2.386.902 3.105v-19.41c-.52.61-.824 1.41-.902 2.41" fill="#fff"/><path d="M46.555 45.238h2.843v-7.656zm0 0" fill="#fff"/><path d="M48.992 104.324c-1.308 2.91-1.965 6.531-1.965 10.871 0 4.352.797 8.094 2.371 11.235v-22.914c-.136.27-.28.53-.406.808" fill="#fff"/><path d="M47.027 69.262c0 4.425.793 8.254 2.371 11.492V57.316c-.074.149-.16.29-.23.442-1.426 3.082-2.14 6.918-2.14 11.504" fill="#fff"/><path d="M27.398 14.32h7.93v5.735H29.23c-1.988.129-3.687.945-5.093 2.453-2.07 2.633-2.39 5.574-.969 8.828 1.68 2.992 4.371 4.289 8.074 3.894h4.309l-.223-.113v5.793h-6.16c-3.637.176-6.844-1.164-9.621-4.027-2.55-2.887-3.7-6.496-3.445-10.824.617-5.254 3.394-8.954 8.335-11.094l1.047-.305.243-.074h.12l.481-.133c.176 0 .356-.027.543-.074.121.047.297.031.527-.059" fill="#fff"/><path d="M26.266 69.074a351.57 351.57 0 01-1.45 5.281c-.992 3.594-1.632 5.633-1.914 6.114-.468.824-1.164 1.453-2.086 1.89a6.643 6.643 0 01-2.886.657c-1.02 0-1.98-.215-2.88-.637-.898-.426-1.585-1.055-2.054-1.89-.297-.47-.937-2.509-1.93-6.118a756.54 756.54 0 01-2.742-10.219c-.691-2.715-1.39-5.43-2.09-8.144h6.38l4.792 17.207c.297 2.101.461 3.152.504 3.152.094 0 1.86-6.785 5.293-20.36h6.063l4.77 17.208c.296 2.101.468 3.152.523 3.152.082 0 1.84-6.785 5.277-20.36h6.422a650.357 650.357 0 01-2.055 8.126c-.89 3.414-1.805 6.82-2.738 10.222-1.004 3.594-1.645 5.633-1.914 6.114-.48.824-1.184 1.453-2.106 1.89a6.643 6.643 0 01-2.886.657 6.643 6.643 0 01-2.86-.637 4.58 4.58 0 01-2.07-1.89c-.297-.47-.942-2.509-1.934-6.118a246.135 246.135 0 01-1.43-5.297" fill="#f0028e"/><path d="M15.246 126.77v-26.59h6.2v10.597h9.945V100.18h6.203v26.59H31.39v-11.036h-9.946v11.036zm0 0" fill="#fff"/><path d="M24.754 143.867c-.656 0-1.188.242-1.59.727-.36.453-.543 1.004-.543 1.64 0 1.121.559 2.243 1.668 3.368 1.734-1.137 2.598-2.278 2.598-3.426 0-.613-.168-1.133-.5-1.563-.39-.496-.907-.746-1.551-.746zm2.82 18a9958.23 9958.23 0 01-6-6.847c-1.355 1.042-2.035 2.289-2.035 3.738 0 1.183.39 2.176 1.168 2.972.82.82 1.895 1.23 3.223 1.23 1.422 0 2.636-.362 3.644-1.093m5.172 5.223l-1.809-1.918c-2.097 1.578-4.64 2.371-7.632 2.371-3.004 0-5.395-.809-7.168-2.41-1.543-1.406-2.313-3.16-2.313-5.262 0-3.351 1.688-5.941 5.074-7.766v-.12c-1.425-1.575-2.136-3.325-2.136-5.243 0-1.875.699-3.492 2.093-4.851 1.582-1.524 3.684-2.29 6.301-2.29 2.188 0 3.98.57 5.375 1.704 1.422 1.175 2.137 2.722 2.137 4.636 0 2.856-1.828 5.164-5.477 6.926l-.039.156 4.73 5.418c.614-.664 1.083-1.52 1.388-2.562l4.328 2.426c-.254.898-1.075 2.054-2.453 3.46a185.919 185.919 0 004.91 5.325zm0 0" fill="#fff"/><path d="M9.203 192.5v-10.617H4.957v-1.418h10.211v1.418h-4.262V192.5zm0 0"/><path d="M19.098 185.773h3.664c.777 0 1.386-.074 1.824-.222.441-.153.773-.39 1.004-.723.226-.332.34-.691.34-1.082a1.74 1.74 0 00-.66-1.402c-.446-.367-1.141-.551-2.098-.551h-4.074zM17.39 192.5v-12.04h5.71c1.149 0 2.02.11 2.622.33.59.21 1.093.612 1.43 1.144.355.539.542 1.168.535 1.812 0 .856-.293 1.574-.887 2.16-.59.586-1.504.957-2.738 1.117.449.204.792.403 1.027.602.496.426.969.957 1.414 1.598l2.238 3.277h-2.14l-1.704-2.504a24.304 24.304 0 00-1.23-1.66c-.324-.383-.613-.649-.867-.805a2.816 2.816 0 00-.778-.32c-.195-.04-.507-.055-.949-.055h-1.976v5.344zm0 0"/><path d="M31.102 180.46h1.703v12.04h-1.703zm0 0"/><path d="M36.242 192.5v-12.04h1.746l6.766 9.454v-9.45h1.637V192.5h-1.75l-6.766-9.457v9.457zm0 0"/><path d="M49.992 180.46h1.703v12.04h-1.703zm0 0"/><path d="M56.855 191.082h2.75c.848 0 1.516-.074 2-.227.485-.144.868-.351 1.157-.62.402-.38.718-.887.941-1.524.227-.64.34-1.41.34-2.32 0-1.258-.223-2.227-.664-2.903-.441-.675-.98-1.129-1.61-1.36-.456-.163-1.195-.245-2.206-.245h-2.708zm-1.703 1.418v-12.04h4.438c1 0 1.762.06 2.293.177.734.156 1.367.445 1.887.86a4.927 4.927 0 011.527 2.058c.336.832.504 1.789.504 2.86 0 .913-.117 1.726-.344 2.433-.23.703-.523 1.289-.879 1.754-.324.43-.719.796-1.172 1.09-.426.265-.937.464-1.539.601a9.36 9.36 0 01-2.066.207zm0 0"/><path d="M70.898 187.559h4.368l-1.348-3.336c-.406-1.012-.715-1.844-.91-2.496a14.73 14.73 0 01-.695 2.3zM67.18 192.5l4.949-12.035h1.836l5.27 12.035h-1.942l-1.5-3.645h-5.387l-1.418 3.645zm0 0"/><path d="M82.754 191.082h2.75c.848 0 1.512-.074 1.996-.227.48-.144.871-.351 1.156-.62.403-.38.719-.887.946-1.524.222-.64.335-1.41.335-2.32 0-1.258-.218-2.227-.664-2.903-.441-.675-.976-1.129-1.609-1.36-.457-.163-1.191-.245-2.207-.245h-2.703zm-1.707 1.418v-12.04h4.437c1 0 1.766.06 2.293.177.739.156 1.368.445 1.887.86a4.927 4.927 0 011.527 2.058c.336.832.504 1.789.504 2.86 0 .913-.113 1.726-.343 2.433-.227.703-.52 1.289-.875 1.754-.325.43-.723.796-1.176 1.09-.426.265-.938.464-1.54.601a9.334 9.334 0 01-2.066.207zm0 0"/><path d="M103.883 184.805c.687-.375 1.133-.707 1.332-.993.2-.273.305-.605.305-.945 0-.41-.141-.742-.418-1.004-.278-.261-.625-.39-1.043-.39-.426 0-.782.129-1.067.386-.273.235-.43.582-.426.946 0 .183.051.379.157.586.101.203.254.422.46.652zm2.226 5.11l-2.902-3.36c-.855.476-1.43.918-1.73 1.328-.297.406-.446.808-.446 1.21 0 .485.207.993.621 1.52.414.524 1.004.785 1.766.785.477 0 .965-.136 1.473-.414a3.453 3.453 0 001.218-1.07m.993 1.168a5.387 5.387 0 01-1.707 1.215 4.854 4.854 0 01-1.993.41c-1.32 0-2.363-.418-3.136-1.25-.625-.68-.942-1.437-.942-2.273 0-.746.254-1.418.77-2.016.511-.602 1.277-1.129 2.297-1.582-.579-.621-.965-1.129-1.16-1.52-.192-.39-.29-.761-.29-1.125 0-.722.305-1.347.91-1.882.606-.536 1.372-.801 2.29-.801.879 0 1.597.25 2.156.754.558.504.84 1.11.84 1.816 0 1.145-.813 2.121-2.434 2.93l2.309 2.754a6.61 6.61 0 00.617-1.676l1.64.328c-.28 1.05-.66 1.914-1.14 2.594.57.715 1.25 1.34 2.012 1.847l-1.063 1.172c-.64-.382-1.297-.949-1.976-1.699"/><path d="M120.793 192.5v-10.617h-4.246v-1.418h10.21v1.418h-4.26V192.5zm0 0"/><path d="M129.871 186.66c0 1.45.414 2.594 1.25 3.43.836.836 1.883 1.254 3.14 1.254 1.286 0 2.34-.422 3.169-1.266.828-.844 1.242-2.039 1.242-3.59 0-.98-.176-1.836-.531-2.566a3.87 3.87 0 00-1.555-1.7c-.684-.402-1.45-.6-2.297-.6-1.207 0-2.246.386-3.113 1.16-.871.777-1.309 2.07-1.309 3.878m-1.754-.023c0-1.996.575-3.563 1.719-4.692 1.152-1.129 2.633-1.695 4.445-1.695 1.192 0 2.262.266 3.215.797a5.346 5.346 0 012.188 2.219c.5.953.75 2.027.75 3.23 0 1.223-.266 2.316-.79 3.277a5.254 5.254 0 01-2.242 2.192c-.968.492-2.039.75-3.128.742-1.211 0-2.293-.277-3.25-.824a5.44 5.44 0 01-2.168-2.238 6.415 6.415 0 01-.739-3.008"/><path d="M144.71 191.082h3.204c.555 0 .941-.023 1.16-.059.395-.066.723-.175.985-.332.265-.152.484-.375.652-.668.172-.293.254-.628.254-1.011 0-.45-.121-.84-.367-1.172-.246-.332-.586-.563-1.024-.695-.437-.137-1.066-.204-1.887-.204h-2.976zm0-5.562h2.786c.754 0 1.297-.047 1.625-.141.434-.117.762-.32.98-.598.22-.277.329-.629.329-1.05 0-.399-.106-.75-.309-1.055a1.539 1.539 0 00-.879-.625c-.379-.113-1.035-.168-1.96-.168h-2.571zm-1.706 6.98v-12.04h4.836c.98 0 1.77.126 2.367.368.594.246 1.059.617 1.395 1.125.34.508.507 1.035.507 1.59a2.645 2.645 0 01-.449 1.453c-.3.453-.75.82-1.351 1.098.777.215 1.375.578 1.793 1.094.421.515.632 1.12.632 1.824a3.38 3.38 0 01-.382 1.57c-.258.484-.57.86-.946 1.121-.375.262-.847.461-1.41.594-.566.137-1.258.203-2.082.203zm0 0"/><path d="M157.828 187.559h4.367l-1.343-3.336a31.24 31.24 0 01-.915-2.496 14.322 14.322 0 01-.695 2.3zm-3.715 4.941l4.946-12.04h1.836l5.273 12.04h-1.945l-1.5-3.648h-5.383l-1.418 3.648zm0 0"/><path d="M174.004 187.781v-1.414l5.457-.008v4.465a9.774 9.774 0 01-2.594 1.41 8.173 8.173 0 01-2.738.473c-1.266 0-2.414-.254-3.45-.762-1.034-.507-1.812-1.238-2.34-2.195-.526-.957-.788-2.027-.788-3.21 0-1.173.258-2.267.781-3.282.527-1.016 1.281-1.77 2.266-2.262.98-.492 2.117-.738 3.398-.738.93 0 1.774.14 2.527.422.75.28 1.34.675 1.77 1.18.43.503.75 1.16.977 1.968l-1.54.395c-.195-.614-.433-1.094-.718-1.446-.29-.351-.7-.632-1.23-.84a4.768 4.768 0 00-1.778-.316c-.777 0-1.45.11-2.02.332-.566.223-1.027.512-1.375.875-.347.36-.62.758-.812 1.188a5.95 5.95 0 00-.492 2.425c0 1.07.199 1.97.593 2.692.383.71.989 1.277 1.727 1.61a5.626 5.626 0 002.406.527c.739 0 1.461-.133 2.16-.403.704-.262 1.239-.547 1.602-.847v-2.239zm0 0"/><path d="M183.66 186.66c0 1.45.418 2.594 1.254 3.43.836.836 1.883 1.254 3.14 1.254 1.286 0 2.34-.422 3.169-1.266.828-.844 1.246-2.039 1.246-3.59 0-.98-.18-1.836-.535-2.566a3.893 3.893 0 00-1.555-1.7c-.684-.402-1.45-.6-2.297-.6-1.207 0-2.242.386-3.113 1.16-.871.777-1.309 2.07-1.309 3.878m-1.754-.023c0-1.996.574-3.563 1.723-4.692 1.148-1.129 2.629-1.695 4.445-1.695 1.188 0 2.258.266 3.215.797a5.36 5.36 0 012.184 2.219c.5.953.75 2.027.75 3.23 0 1.223-.262 2.316-.79 3.277a5.233 5.233 0 01-2.242 2.192 6.78 6.78 0 01-3.125.742c-1.214 0-2.296-.277-3.25-.824a5.425 5.425 0 01-2.171-2.238 6.415 6.415 0 01-.739-3.008"/><path d="M211.508 188.277l1.707.403c-.36 1.308-1.004 2.308-1.93 2.996-.93.687-2.062 1.031-3.406 1.031-1.387 0-2.516-.266-3.387-.793-.87-.531-1.531-1.293-1.984-2.297a7.71 7.71 0 01-.684-3.226c0-1.254.258-2.344.77-3.282a5.105 5.105 0 012.187-2.125c.95-.484 1.989-.726 3.125-.726 1.29 0 2.371.304 3.25.918.88.613 1.492 1.476 1.836 2.586l-1.68.37c-.296-.874-.73-1.51-1.296-1.913-.57-.399-1.286-.598-2.145-.598-.988 0-1.816.223-2.48.664a3.54 3.54 0 00-1.403 1.785 6.768 6.768 0 00-.406 2.313c0 1.023.16 1.918.48 2.68.32.765.817 1.335 1.489 1.71a4.342 4.342 0 002.187.567c.957 0 1.762-.254 2.426-.77.66-.515 1.11-1.277 1.344-2.293"/><path d="M215.816 192.5v-12.04h1.704v4.946h6.695v-4.945h1.707V192.5h-1.707v-5.672h-6.695v5.672zm0 0"/><path d="M231.508 187.559h4.367l-1.344-3.336a31.24 31.24 0 01-.914-2.496 14.322 14.322 0 01-.695 2.3zm-3.715 4.941l4.945-12.04h1.836l5.27 12.04h-1.942l-1.5-3.648h-5.386l-1.414 3.648zm0 0"/><path d="M243.363 186.188h3.328c1.102 0 1.883-.192 2.348-.579.461-.382.691-.922.691-1.617 0-.504-.136-.933-.406-1.293a1.935 1.935 0 00-1.078-.71c-.289-.071-.816-.106-1.59-.106h-3.293zm-1.703 6.312v-12.04h4.856c.855 0 1.507.04 1.96.118.633.098 1.16.285 1.59.563.426.277.774.664 1.032 1.16.261.5.39 1.047.39 1.644 0 1.024-.347 1.89-1.043 2.598-.699.71-1.957 1.062-3.78 1.062h-3.302v4.895zm0 0"/><path d="M257.387 192.5v-10.617h-4.246v-1.418h10.21v1.418h-4.261V192.5zm0 0"/><path d="M265.582 192.5v-12.04h9.316v1.423h-7.609v3.687h7.125v1.41h-7.125v4.102h7.906v1.418zm0 0"/><path d="M279.73 185.773h3.665c.78 0 1.386-.074 1.828-.222.437-.153.773-.39 1-.723.23-.332.343-.691.343-1.082 0-.57-.218-1.035-.664-1.402-.441-.367-1.14-.551-2.093-.551h-4.079zm-1.703 6.727v-12.04h5.711c1.149 0 2.02.11 2.617.33.594.21 1.098.612 1.434 1.144.352.539.54 1.168.535 1.812 0 .856-.297 1.574-.887 2.16-.59.586-1.507.957-2.742 1.117.45.204.793.403 1.028.602.5.426.968.957 1.414 1.598l2.242 3.277h-2.145l-1.703-2.504a24.304 24.304 0 00-1.23-1.66c-.32-.383-.613-.649-.867-.805a2.768 2.768 0 00-.778-.32c-.191-.04-.508-.055-.949-.055h-1.977v5.344zm0 0"/></svg>

E store logo data: <svg width="319" height="201" viewBox="0 0 319 201" xmlns="http://www.w3.org/2000/svg"><path d="M208.05 87.262c-3 1.625-30.374 13-35.374 15.125-5 2.125-7 3-9.375-.375s-4.25-9.5-4.75-12 4.125-4.25 10.375-6 23.02-6.809 29.375-8.75c6.543-2 7.5-2.125 10 4.75 1.222 3.363 2.75 5.625-.25 7.25m20.5-2.625c-1.375-4.5-5.5-13.75-7.75-19.75s-3.852-6.746-7.707-8.211c-2.418-.914-11.043 1.836-20.543 4.71-9.5 2.876-44 13.126-44 13.126s-10.25-8.5-15.875-13.25-10.625-5.5-14.875.25.5 10.875 4.5 13.875 16.375 12.75 16.375 12.75c1.25 1.875 17.75 41.875 19.875 46s4.25 6.875 10.625 5.625c0 0 21.418-4.168 28.668-6.168 5.613-1.551 9.5-2.582 9-7.75-.5-5.164-4.836-5.914-8.586-5.332-3.75.582-13.75 2.75-19.5 4.082-5.75 1.336-6.164 1.25-7.25-1.25-1.082-2.5-.914-4.082 1.086-5 2.945-1.352 42.832-19.457 49.207-22.457s8.125-6.75 6.75-11.25" fill="#68d001"/><path d="M174.05 13.262s9.5 6.25 10.376 18.625c.875 12.375-7 19.5-7 19.5s-20.625-15.25-3.375-38.125" fill="#f1cb46"/><path d="M212.844 22.324s4.062 8.254-.41 17.242c-4.47 8.989-12.883 10.723-12.883 10.723s-8.121-19.098 13.293-27.965" fill="#f1cb46"/><path d="M135.574 34s9.727-1.242 17.246 6.371c7.516 7.61 6.364 16.691 6.364 16.691S137.12 58.657 135.574 34" fill="#f1cb46"/><path d="M202.176.387s3.75 8-.5 14.75-8.25 6.875-8.25 6.875-7.75-14.25 8.75-21.625" fill="#fbe345"/><path d="M147.953 8.691s8.031 3.684 9.149 11.582c1.117 7.899-1.856 10.579-1.856 10.579s-15.121-5.872-7.293-22.16" fill="#fbe345"/><path d="M108.328 38.32s8.223-3.226 14.684 1.453c6.46 4.68 6.324 8.68 6.324 8.68s-14.723 6.809-21.008-10.133" fill="#fbe345"/><path d="M244.148 41.094s-4.195 9.351-13.347 10.722c-9.149 1.375-12.285-2.046-12.285-2.046s6.66-17.598 25.632-8.676" fill="#f1cb46"/><path d="M234.68 15.55s.73 6.528-3.875 10.266c-4.602 3.735-7.45 2.868-7.45 2.868S221.301 16.8 234.68 15.55" fill="#fbe345"/><path d="M55.004 182.984c0 1.692-.41 3.145-1.234 4.348-.825 1.203-2.043 2.117-3.649 2.738-1.613.621-3.57.934-5.875.934-2.203 0-4.09-.336-5.66-1.012-1.574-.672-2.734-1.515-3.48-2.527-.75-1.008-1.126-2.024-1.126-3.043 0-.672.239-1.25.72-1.73.48-.477 1.085-.72 1.82-.72.644 0 1.136.16 1.48.473.344.317.676.758.988 1.325.63 1.093 1.383 1.91 2.258 2.449.879.539 2.07.808 3.582.808 1.23 0 2.234-.27 3.024-.816.785-.55 1.18-1.176 1.18-1.875 0-1.078-.41-1.867-1.227-2.363-.817-.493-2.16-.965-4.032-1.414-2.109-.524-3.828-1.075-5.152-1.649-1.328-.578-2.387-1.34-3.18-2.281-.793-.945-1.191-2.106-1.191-3.48 0-1.227.367-2.391 1.102-3.485.734-1.09 1.816-1.965 3.246-2.613 1.43-.653 3.156-.98 5.175-.98 1.586 0 3.016.167 4.278.495 1.265.329 2.324.774 3.168 1.325.847.554 1.492 1.168 1.933 1.843.442.672.66 1.332.66 1.977 0 .703-.234 1.277-.707 1.726-.472.45-1.14.676-2.007.676-.63 0-1.168-.18-1.606-.539-.445-.36-.949-.898-1.52-1.617a5.559 5.559 0 00-1.636-1.437c-.629-.36-1.484-.54-2.563-.54-1.109 0-2.027.235-2.761.708-.735.472-1.102 1.058-1.102 1.761 0 .645.27 1.172.809 1.586.539.41 1.265.75 2.18 1.02.913.27 2.171.601 3.773.992 1.902.46 3.453 1.016 4.66 1.66 1.207.645 2.117 1.402 2.742 2.281.621.875.93 1.875.93 2.996" fill="#6cd000"/><path d="M60.531 166.61h.672v-3.684c0-.988.027-1.762.078-2.324.055-.559.2-1.043.438-1.45a2.79 2.79 0 011.035-1.02 2.93 2.93 0 011.504-.394c.777 0 1.484.293 2.113.875.418.395.684.867.797 1.43.113.559.168 1.355.168 2.39v4.176h2.246c.867 0 1.531.207 1.988.621.457.41.684.942.684 1.583 0 .824-.324 1.402-.977 1.73-.652.328-1.582.492-2.797.492h-1.144v11.278c0 .957.031 1.695.102 2.21.066.516.246.938.539 1.258.293.32.765.485 1.425.485.36 0 .844-.067 1.461-.192.614-.129 1.09-.191 1.438-.191.492 0 .937.199 1.336.594.394.398.593.886.593 1.472 0 .988-.539 1.742-1.617 2.27-1.078.523-2.629.785-4.648.785-1.918 0-3.371-.324-4.36-.965a4.487 4.487 0 01-1.94-2.676c-.31-1.136-.462-2.656-.462-4.558v-11.77h-.808c-.883 0-1.56-.21-2.02-.629-.465-.418-.7-.949-.7-1.594 0-.64.247-1.171.731-1.582.489-.414 1.196-.62 2.125-.62" fill="#6cd000"/><path d="M94.2 178.54c0-2.505-.552-4.446-1.653-5.84-1.102-1.391-2.578-2.09-4.438-2.09-1.195 0-2.254.308-3.164.933-.914.621-1.617 1.535-2.113 2.75-.492 1.21-.738 2.629-.738 4.246 0 1.602.242 3 .726 4.2.489 1.198 1.184 2.113 2.09 2.75.906.636 1.973.956 3.2.956 1.859 0 3.335-.703 4.437-2.097 1.101-1.403 1.652-3.336 1.652-5.809m6.153 0c0 1.824-.286 3.512-.852 5.055-.57 1.543-1.395 2.863-2.473 3.972-1.078 1.11-2.367 1.957-3.863 2.551-1.496.59-3.18.887-5.055.887-1.855 0-3.523-.3-5.007-.899a11.152 11.152 0 01-3.852-2.57 11.087 11.087 0 01-2.469-3.953c-.562-1.523-.844-3.203-.844-5.043 0-1.855.286-3.559.852-5.101.57-1.54 1.387-2.86 2.45-3.954 1.062-1.09 2.35-1.933 3.863-2.523 1.511-.594 3.183-.89 5.007-.89 1.86 0 3.543.3 5.055.902 1.512.597 2.809 1.449 3.887 2.558 1.078 1.11 1.898 2.426 2.46 3.953.56 1.528.84 3.211.84 5.055" fill="#6cd000"/><path d="M111.27 182.152v5.121c0 1.247-.293 2.176-.88 2.797-.581.621-1.324.934-2.222.934-.883 0-1.61-.316-2.18-.945-.566-.63-.851-1.555-.851-2.786v-17.07c0-2.754.996-4.133 2.988-4.133 1.016 0 1.75.325 2.2.97.448.64.695 1.593.741 2.85.735-1.257 1.485-2.21 2.258-2.85.77-.645 1.801-.97 3.086-.97 1.29 0 2.54.325 3.754.97 1.211.64 1.816 1.495 1.816 2.558 0 .75-.257 1.367-.773 1.855-.516.484-1.074.727-1.672.727-.226 0-.77-.137-1.629-.414-.863-.278-1.62-.414-2.281-.414-.898 0-1.633.238-2.2.707-.57.472-1.01 1.171-1.327 2.097-.313.934-.532 2.035-.649 3.317-.12 1.28-.18 2.84-.18 4.68" fill="#6cd000"/><path d="M130.219 176.563h11.12c-.151-2.098-.718-3.668-1.698-4.708-.98-1.039-2.27-1.562-3.871-1.562-1.528 0-2.786.531-3.766 1.586-.98 1.055-1.574 2.617-1.785 4.684m11.996 3.48h-11.996c.015 1.39.297 2.621.844 3.684.546 1.066 1.273 1.863 2.18 2.402.905.539 1.902.809 2.995.809.735 0 1.407-.086 2.012-.258a6.603 6.603 0 001.762-.805c.57-.371 1.093-.766 1.574-1.184a65.443 65.443 0 001.863-1.707c.317-.27.766-.402 1.348-.402.629 0 1.137.172 1.527.516.39.343.586.832.586 1.46 0 .551-.219 1.2-.652 1.942-.434.742-1.09 1.453-1.965 2.133-.879.683-1.977 1.246-3.305 1.699-1.324.445-2.847.672-4.57.672-3.938 0-7-1.125-9.184-3.371-2.187-2.246-3.28-5.293-3.28-9.137 0-1.816.269-3.496.808-5.043.539-1.55 1.324-2.883 2.36-3.988 1.03-1.11 2.304-1.961 3.816-2.547 1.511-.594 3.19-.89 5.03-.89 2.4 0 4.454.503 6.169 1.515 1.715 1.012 2.996 2.316 3.851 3.918.852 1.605 1.282 3.234 1.282 4.898 0 1.543-.446 2.543-1.329 3-.882.453-2.125.684-3.726.684" fill="#6cd000"/><path d="M151.941 166.61h1.457v-1.84c0-1.918.247-3.442.73-4.57.49-1.134 1.313-1.954 2.474-2.473 1.16-.512 2.75-.774 4.773-.774 3.578 0 5.367.875 5.367 2.629 0 .566-.187 1.055-.562 1.457-.371.406-.817.61-1.325.61-.238 0-.652-.047-1.234-.137a10.56 10.56 0 00-1.484-.133c-1.11 0-1.82.324-2.133.976-.316.653-.473 1.583-.473 2.797v1.457h1.504c2.336 0 3.504.707 3.504 2.114 0 1.004-.309 1.64-.93 1.91-.62.27-1.48.402-2.574.402h-1.504v16.238c0 1.215-.289 2.141-.863 2.778-.578.633-1.324.953-2.234.953-.871 0-1.594-.32-2.168-.953-.578-.637-.868-1.563-.868-2.778v-16.238h-1.683c-.914 0-1.617-.207-2.11-.613-.496-.414-.742-.95-.742-1.61 0-1.468 1.024-2.203 3.078-2.203" fill="#fccb54"/><path d="M184.598 187.543v-.785c-.735.93-1.504 1.707-2.313 2.336a8.588 8.588 0 01-2.652 1.406c-.957.305-2.051.457-3.278.457-1.484 0-2.812-.305-3.988-.918-1.176-.617-2.086-1.46-2.726-2.539-.766-1.305-1.149-3.176-1.149-5.617v-12.149c0-1.23.278-2.144.832-2.75.555-.609 1.29-.914 2.203-.914.926 0 1.676.309 2.246.922.567.617.852 1.531.852 2.742v9.813c0 1.426.121 2.617.36 3.586.238.965.671 1.722 1.292 2.265.621.547 1.461.82 2.524.82 1.035 0 2.008-.304 2.922-.921a5.375 5.375 0 002-2.399c.343-.87.515-2.773.515-5.707v-7.457c0-1.21.285-2.125.852-2.742.57-.613 1.312-.922 2.226-.922.914 0 1.645.305 2.2.914.554.606.832 1.52.832 2.75V187.5c0 1.168-.266 2.043-.797 2.629-.531.582-1.219.875-2.055.875-.84 0-1.531-.305-2.078-.91-.547-.606-.82-1.457-.82-2.551" fill="#fccb54"/><path d="M202.027 169.465v.738c1.078-1.422 2.258-2.465 3.54-3.133 1.277-.664 2.75-1 4.41-1 1.617 0 3.066.352 4.335 1.059 1.274.703 2.227 1.7 2.856 2.984.402.75.664 1.559.785 2.426.121.871.18 1.977.18 3.324v11.414c0 1.227-.281 2.153-.844 2.782-.562.632-1.289.945-2.191.945-.91 0-1.653-.324-2.223-.965-.57-.644-.852-1.566-.852-2.762v-10.222c0-2.02-.28-3.567-.843-4.637-.563-1.07-1.68-1.606-3.356-1.606-1.094 0-2.09.325-2.988.977-.899.652-1.559 1.547-1.977 2.684-.3.914-.449 2.62-.449 5.12v7.684c0 1.243-.289 2.172-.867 2.793-.574.625-1.32.934-2.234.934-.883 0-1.61-.324-2.176-.965-.57-.644-.856-1.566-.856-2.762v-17.722c0-1.168.254-2.043.766-2.618.508-.578 1.203-.867 2.086-.867.539 0 1.027.13 1.46.383.434.254.782.637 1.044 1.145.262.511.394 1.132.394 1.867" fill="#fccb54"/><path d="M229.902 178.492c0 1.664.258 3.078.774 4.246.515 1.168 1.222 2.047 2.12 2.64.9.59 1.88.888 2.946.888a5.428 5.428 0 002.953-.844c.89-.563 1.602-1.422 2.133-2.582.531-1.16.797-2.61.797-4.348 0-1.633-.266-3.035-.797-4.21-.531-1.177-1.25-2.075-2.156-2.696a5.157 5.157 0 00-2.977-.934c-1.12 0-2.125.32-3.011.957-.883.637-1.567 1.551-2.055 2.739-.484 1.191-.727 2.574-.727 4.144m12.059 9.008v-.605c-.824.94-1.633 1.71-2.438 2.3-.8.59-1.668 1.04-2.605 1.348-.934.309-1.957.46-3.066.46-1.465 0-2.825-.312-4.075-.933-1.25-.62-2.332-1.507-3.246-2.66-.914-1.152-1.605-2.508-2.078-4.062-.473-1.563-.707-3.246-.707-5.059 0-3.832.934-6.816 2.809-8.96 1.87-2.142 4.332-3.212 7.39-3.212 1.766 0 3.254.305 4.47.91 1.21.61 2.394 1.54 3.546 2.797v-9.054c0-1.254.254-2.208.754-2.852.5-.645 1.215-.965 2.144-.965.93 0 1.645.297 2.145.89.5.59.754 1.462.754 2.614V187.5c0 1.168-.27 2.043-.809 2.629-.539.582-1.234.875-2.09.875-.84 0-1.53-.305-2.078-.906-.547-.61-.82-1.477-.82-2.598" fill="#fccb54"/><path d="M260.965 169.555v17.722c0 1.227-.293 2.153-.88 2.782-.581.629-1.323.945-2.222.945-.898 0-1.629-.324-2.191-.965-.559-.644-.84-1.566-.84-2.762v-17.543c0-1.214.281-2.129.84-2.742.562-.613 1.293-.918 2.191-.918.899 0 1.64.305 2.223.918.586.613.879 1.469.879 2.563m-3.035-6.336c-.852 0-1.582-.262-2.188-.785-.61-.524-.91-1.266-.91-2.223 0-.871.309-1.586.93-2.145.625-.562 1.347-.843 2.168-.843a3.2 3.2 0 012.113.765c.613.508.922 1.25.922 2.223 0 .945-.3 1.68-.899 2.21-.601.532-1.312.798-2.136.798" fill="#fccb54"/><path d="M272.867 169.465v.738c1.078-1.422 2.258-2.465 3.54-3.133 1.277-.664 2.75-1 4.41-1 1.617 0 3.066.352 4.335 1.059 1.274.703 2.227 1.7 2.856 2.984.402.75.664 1.559.785 2.426.121.871.18 1.977.18 3.324v11.414c0 1.227-.282 2.153-.844 2.782-.563.632-1.29.945-2.192.945-.91 0-1.652-.324-2.222-.965-.57-.644-.852-1.566-.852-2.762v-10.222c0-2.02-.281-3.567-.843-4.637-.563-1.07-1.68-1.606-3.356-1.606-1.094 0-2.09.325-2.988.977-.899.652-1.559 1.547-1.977 2.684-.3.914-.449 2.62-.449 5.12v7.684c0 1.243-.29 2.172-.867 2.793-.574.625-1.32.934-2.235.934-.882 0-1.609-.324-2.175-.965-.57-.644-.856-1.566-.856-2.762v-17.722c0-1.168.254-2.043.766-2.618.508-.578 1.203-.867 2.086-.867.539 0 1.027.13 1.46.383.434.254.782.637 1.044 1.145.261.511.394 1.132.394 1.867" fill="#fccb54"/><path d="M300.785 178.336c0 2.484.543 4.363 1.63 5.637 1.085 1.273 2.487 1.91 4.21 1.91 1.02 0 1.98-.274 2.887-.817.906-.546 1.64-1.375 2.21-2.472.571-1.102.856-2.438.856-4.012 0-2.5-.55-4.445-1.652-5.84-1.102-1.39-2.547-2.09-4.344-2.09-1.754 0-3.156.668-4.215 2-1.055 1.332-1.582 3.227-1.582 5.684m17.766-7.77v17.809c0 2.035-.215 3.79-.653 5.258-.433 1.465-1.128 2.68-2.086 3.64-.96.957-2.214 1.668-3.761 2.13-1.551.464-3.48.699-5.785.699-2.114 0-4-.297-5.66-.887-1.665-.594-2.942-1.356-3.84-2.293-.899-.938-1.348-1.899-1.348-2.887 0-.75.254-1.36.762-1.828.507-.473 1.125-.71 1.843-.71.899 0 1.684.398 2.36 1.194.328.403.668.809 1.02 1.223.35.41.742.762 1.167 1.055.426.293.942.511 1.54.652.597.14 1.288.211 2.066.211 1.586 0 2.82-.219 3.695-.66.875-.442 1.488-1.063 1.84-1.856a7.525 7.525 0 00.621-2.546c.059-.907.102-2.364.133-4.372-.945 1.317-2.031 2.32-3.27 3.012-1.234.688-2.707 1.031-4.414 1.031-2.05 0-3.844-.523-5.379-1.57-1.53-1.05-2.714-2.516-3.535-4.402-.824-1.887-1.234-4.067-1.234-6.54 0-1.84.25-3.503.75-4.984.504-1.484 1.215-2.734 2.144-3.75.93-1.02 2-1.785 3.211-2.3 1.215-.52 2.547-.778 4-.778 1.739 0 3.242.332 4.516 1 1.27.664 2.457 1.711 3.547 3.133v-.832c0-1.063.262-1.887.789-2.469.523-.586 1.195-.879 2.02-.879 1.183 0 1.968.387 2.359 1.16.386.77.582 1.883.582 3.336" fill="#fccb54"/><path d="M231.094 123.012a9.83 9.83 0 01-9.832 9.832c-5.434 0-9.836-4.399-9.836-9.832a9.834 9.834 0 019.836-9.836c5.43 0 9.832 4.402 9.832 9.836" fill="#fae347"/><path d="M155.508 140.012a9.83 9.83 0 01-9.832 9.832 9.828 9.828 0 01-9.832-9.832c0-5.434 4.398-9.836 9.832-9.836 5.43 0 9.832 4.402 9.832 9.836" fill="#fae347"/><path d="M11.258 180.637c-1.375.5-1.664.539-2.75-1.375-1.082-1.918-1.457-3.543-.664-4.043.789-.5 11.164-3.625 12.832-4.125 1.668-.5 2.375-.586 3.125 1.625.527 1.554.793 2.289-.207 2.707-1 .418-10.961 4.71-12.336 5.21m1.543 4.5c1.207-.585 13.437-5.937 15.687-7.062s2.5-2.687 1.875-4.375c0 0-1.27-3.523-2.394-6.023-1.067-2.367-2.375-3.04-4.793-2.375-2.418.668-14.375 4.293-18.5 5.668s-4.25 3.207-3.457 5.375c.789 2.164 4.5 10.582 5.582 13.168 1.082 2.582 1.418 3.5 4.207 3.082 2.793-.418 12.293-2.582 14.586-3.168 2.289-.582 3.332-.832 3.164-2.664-.164-1.836-1.5-2.211-3.164-1.793-1.668.414-9.875 2.25-11.461 2.625-1.582.375-2.164.625-2.54-.375-.374-1 0-1.5 1.208-2.082" fill="#fccb54"/></svg>

Attached zip containing all four svg files. svgFiles.zip

asturur commented 4 years ago

i verified kitchensink run on 3.6.4 This means this is an old bug in svg parsing. I wonder if is related to this: https://github.com/fabricjs/fabric.js/pull/6023

fubuk-i commented 4 years ago

It seems like lot of things are changed in 4.1 and I am finding it little difficult to understand what to do here. So should I wait for https://github.com/fabricjs/fabric.js/pull/6023 pull request to get merged or is there anything I can do on my side to solve this issue. Please let me know

asturur commented 4 years ago

this is an old bug, we have to understand it amd fix it. That pr won't get merged but could contain the solution

gloriousjob commented 4 years ago

@fubuk-i Have you been able to try 4.2.0? Does this look closed now?

fubuk-i commented 4 years ago

@asturur @gloriousjob Thank you so much for your help & support. I have checked 4.2.0 on new SVG's as well as on old one's and they are all working as expected so I think we can close this now. Sorry for late reply.

fubuk-i commented 3 years ago

Found one exception case @asturur @gloriousjob Screenshot from 2020-12-24 18-12-46

Attached is the svg file: penSVG.zip

grannySVG.zip

Found one more Screenshot from 2020-12-24 18-46-46 Attached svg file:

asturur commented 3 years ago

I m sure there are many hard to parse SVG. Thanks for giving use cases, is always fun to try to add an import feature for SVG.