Skip to content

Incorrect colors #64

Description

@Gama11
package;

import format.SVG;
import openfl.display.Sprite;
import openfl.Assets;

class Main extends Sprite {
	public function new () {
		super();
		var svg = new SVG(Assets.getText("assets/flixel-different-colors.svg"));
		svg.render(graphics, 0, 0, 150, 150);
	}
}

The result looks like this:

While Inkscape and Chrome render it with the correct colors:

Tested with OpenFL 8.1.1, Lime 6.3.1 and SVG 1.1.2.

SVG asset used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions