Skip to content

Test SVG importing #4602

Description

@0HyperCube

SVG importing has a number of correctness issues. A test suite could help identify issues and reduce chances of regressions.

A possible approach would be to do image comparisons with the following:

  • Render directly with resvg
  • Import to graphite, render the SVG from the node graph, then render the output with resvg.
  • Import to graphite and render with vello

Possible suites of SVG images to use are:

Note that an automated pixel comparison would be perhaps fragile due to colour spaces and text anti-aliasing and stem thickening and font versions. For now the text can be skipped since Graphite currently doesn't do very well with text importing.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions