VisiCut icon indicating copy to clipboard operation
VisiCut copied to clipboard

VisiCut fails badly when a stroke has patterns

Open jnweiger opened this issue 9 years ago • 2 comments

An SVG generated with inkscape file which contains a line pattern makes visicut misbehave. On windows it apparently hangs forever while loading the file. Seen on two different machines. On Linux the file is opened without error message, but the objects are simply missing.

Screenshots of an example drawing with letters 'W e b' -- The 'W' is without pattern, 'e' and 'b' are with a pattern. bildschirmfoto vom 2016-04-16 11 22 19 bildschirmfoto vom 2016-04-16 11 21 36

jnweiger avatar Apr 16 '16 09:04 jnweiger

The path that works has: fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.0846666;

the paths that don't work have: fill:#000000;fill-opacity:1;stroke:url(#linearGradient5099);stroke-width:0.08466667;

Using this definitiion elsewhere in the document:

    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient5940"
       id="linearGradient5099"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(0.27429427,-0.06642308,0.06642308,0.27429427,-1.4084101,5.2946553)"
       x1="14.549529"
       y1="60.52491"
       x2="162.36838"
       y2="60.52491" />

jnweiger avatar Apr 16 '16 12:04 jnweiger