Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Aug 18, 2016

Conversation

etpinard
Copy link
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.
@mdtusz
Copy link
Contributor

mdtusz commented Aug 12, 2016

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

@mdtusz
Copy link
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants