Skip to content

Fix <svg> export of graphs with layout images#846

Merged
etpinard merged 3 commits into
masterfrom
export-layout-image-eps-pdf
Aug 18, 2016
Merged

Fix <svg> export of graphs with layout images#846
etpinard merged 3 commits into
masterfrom
export-layout-image-eps-pdf

Conversation

@etpinard
Copy link
Copy Markdown
Contributor

... in more strict environment (then browsers).

The fix was easy. we simply add to skip over the clip-path with no corresponding <defs> item. The browsers don't care about that, but other environments do.

- looks like the browsers ignored clip paths that have
  corresponding no <defs> item, but not all renders can
  support them (e.g. Batik - which lead to eps and pdf export
  failures).
- it seems like a solid candidate to test export with.
@etpinard etpinard added bug something broken status: reviewable labels Aug 11, 2016
@etpinard etpinard added this to the v1.17.0 milestone Aug 11, 2016
@mdtusz
Copy link
Copy Markdown
Contributor

mdtusz commented Aug 12, 2016

I dream of the day that svg has a spec that is actually followed.

@mdtusz
Copy link
Copy Markdown
Contributor

mdtusz commented Aug 18, 2016

💃

@etpinard etpinard merged commit f21a522 into master Aug 18, 2016
@etpinard etpinard deleted the export-layout-image-eps-pdf branch August 18, 2016 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants