openfl / svg

Provides SVG parsing and rendering for OpenFL and Haxe
MIT License
68 stars 30 forks source link

It loads all black? #59

Closed Arthur-W-White closed 7 years ago

Arthur-W-White commented 7 years ago

present.txt

Rename the extension to 'svg' and test this file? Not sure if I'm using the lib incorrectly but this loads as black on my office pc. Thanks.

ashes999 commented 7 years ago

I wonder if it's because you used the <style> tag in your SVG. I don't know if that's supported.

What tool did you use to make this SVG?

Arthur-W-White commented 7 years ago

I found out it's a "known issue". tl;dr If you're exporting from Adobe Ilustrator, you need to select Style Attributes instead of (possibly the default) Style Elements. Thanks and good day. :) Here is the solution's origin: robot paint issue 275