Oops, I guess we can’t send attachments to the list. Here is a link to the file I tested.
https://lovesvg.com/2018/01/cat-5169/ Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo > On Jan 5, 2018, at 11:21 AM, Bleiler, Timothy via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I’ve been testing this a little and I’ve run into some files that don’t > render correctly. > > I’ve attached a simple example I found on the internet that contains this > info about how it was created - Generator: Adobe Illustrator 22.0.1, SVG > Export Plug-In . SVG Version: 6.00 Build 0). > > When I tried to display this in the image control as described, I get just an > outline of the drawing filled black. I’m using Mac OS with Livecode 9.0.0 (dp > 11) > > Have I missed a critical part of the process or should this be filed as a bug? > > > > > > > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > > >> On Jan 5, 2018, at 10:03 AM, Mark Waddingham via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> On 2018-01-05 15:58, Dave Kilroy via use-livecode wrote: >>> Hi - anyone got news on 'VectorIcon' or whatever it's going to be called? I >>> was thinking it would arrive with LC (dp11) but it didn't >> >> It did - but not in widget form. >> >> There is a script library which compiles an SVG file into a metafile format >> called a 'drawing'. >> >> Then the image object has been prodded so you can set the text of an image >> to said metafile data and it will render the SVG represented by it. >> >> Take a look in the dictionary under drawingSvgCompile(). >> >>> When using Mark's external that he shared on LC Global I can get it working >>> in the IDE but it's a no-show on an iOS device (amongst other errors I get >>> "864,7,1 unable to load sag compiler") >> >> Yes - there was an issue with inclusions in extensions - that should be >> fixed in dp11. However, the support for rendering drawings is in the engine >> - so you only need to include the drawing SVG compiler library if you want >> to compile SVGs on the fly. >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 _______________________________________________ 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