Skip to content

Look for ways to improve PDF output of 'crispEdges' SVG shape rendering #15

@etpinard

Description

@etpinard

From @alexcjohnson in #6:

We can ignore this for now as it's not new, but would be worth investigating later. This is happening because we apply shape-rendering: crispEdges via CSS (classed('crisp', true)) rather than inline styling. Though I notice that's not applied consistently anymore, I see a lot of places we've used inline styling. Anyway the idea, which may need refining particularly in light of electron, was to explicitly drop it from vector output so we get higher precision when the user can do stuff like put the vector image into another container and zoom or rotate it. Unfortunately that means these subpixel gaps between bars return, as it was only crispEdges that hid them. Not sure that this even has a solution in theory, when you consider the possibility of rotating the vector image on screen.

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