Skip to content

fix(svgimport): supply svg specification defaults for linearGradient coordinates - #2944

Open
AdamMagued wants to merge 1 commit into
d2lang:masterfrom
AdamMagued:fix-issue-2937
Open

AdamMagued wants to merge 1 commit into
d2lang:masterfrom
AdamMagued:fix-issue-2937

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #2937

Summary

  • Applied standard SVG specification defaults for linearGradient attributes when omitted
  • Prevented raster export failures on valid SVG icons
  • Added unit tests for default linearGradient import

Verified in container sandbox.

…coordinates

Signed-off-by: AdamMagued <adamismailmageud@gmail.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PNG export stops when an SVG icon uses a valid SVG feature that the built-in renderer does not accept

1 participant