Please check and comment about this bug report: http://quality.runrev.com/show_bug.cgi?id=13672
Recently, while importing some SVG files with gradients (created using Inkscape), I found a bug while rendering gradients in vector graphics. The same code produce two opposite, incomplete and incorrect results on LiveCode 6.1.2 and LiveCode 6.5 (or later). I used an Alpha version of the stack "SVGL plus Gradients" to import two small SVG files, included within linked zip file. Please notice: this Alpha version is incomplete and just must be used to test this very specific vector gradient bug. Text from attached stack. (Stack also includes images and vector graphics): (CARD 1) To the Left, a vector graphic imported into Livecode from a file named "gradient05.svg" using LiveCode 6.1.2 on Ubuntu Linux. To the Right, a png bitmap screenshot of the same file "gradient05.svg" opened in Google Chrome. Notice: Stroke Gradient renders correctly, but Fill Gradient renders in the wrong place. Click the button "Go next Card" to watch how LiveCode 6.5 and later renders the same file. ---------------- (CARD 2) To the Left, a vector graphic imported into Livecode from a file named "gradient05.svg" using LiveCode 6.6.2 on Ubuntu Linux. To the Right, a png bitmap screenshot of the same file "gradient05.svg" opened in Google Chrome. Notice, Fill Gradient now renders correctly, while Stroke Gradient renders in the wrong place. ---------------- Check the attached zip file that includes two LiveCode stacks and two small SVG files (created with InkScape). Inside the zipped file, there are two simple SVG files that you could import into LiveCode 6.1.2 and LiveCode 6.5 or later (including version 7) to compare the differences. It's a VERY subtle rendering bug, but effectively will cause many headaches if you are trying to import SVG files with gradients. I have included (among the linked files) an Alpha version of the original SVGL stack with code to import ONLY Inkscape gradients. Download too, from Google Drive: https://drive.google.com/file/d/0B9ja3Yvw8cHLVU5MTzRjY1lwcGM/edit?usp=sharing Al _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode