Skip to content

Some SVG files appear to be all black in color #275

@oskay

Description

@oskay

screen-shot-2016-08-03-at-17 26 37

Some SVG files, when opened in RoboPaint, show the correct shapes, but filled with solid black color. As this appears in the edit mode, where the file can be imported, it has consequences for using the file elsewhere in RoboPaint as well.

Background: There are quite a few different methods of indicating what the styles of objects are within an SVG file, including tags on the individual objects, inherited tags, and css, both inline and by named style. (Perusing the SVG export options within Adobe Illustrator is somewhat instructive about the variety of different methods available.) It seems likely that some, but not all, of these methods are not being understood/interpreted correctly.

We believe that the following are true:

  • The choice of machine does not affect this behavior.
  • Some, not all, SVG files are affected.

Information needed: To proceed with understanding and fixing this issue, we need a set of SVG files that can reproduce the problem. If you know of one or more, please ZIP the file and attach it to this issue, ideally with a screen shot as well.

Questions to be answered:

  • Are only some computers/platforms affected?
  • Does the file still print correctly in multiple colors, even if it appears all black on the screen?
  • Do the affected files have a consistency about how their styling is applied?
  • Were the affected files generated by the same software?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions