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

Mask / clipping problems for SVG export in Adobe Illustrator. #882

Closed
kescobo opened this issue Mar 16, 2021 · 10 comments
Closed

Mask / clipping problems for SVG export in Adobe Illustrator. #882

kescobo opened this issue Mar 16, 2021 · 10 comments
Labels
CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo.

Comments

@kescobo
Copy link
Contributor

kescobo commented Mar 16, 2021

Files display fine in browser and open fine in Inkscape, but in adobe illustrator I get

image

instead of

image

Doing select-all and cmd+alt+7 (release clipping mask) solves the issue without any apparent ill-effects, so it's not a critical problem, but is a minor annoyance, and I thought worth mentioning in case someone else runs into the same issue.

@SimonDanisch SimonDanisch added the CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. label Mar 16, 2021
@jkrumbiegel
Copy link
Collaborator

jkrumbiegel commented Mar 17, 2021

can you check how illustrator opens the same plot as a pdf? svg is Inkscape's base format, but not Illustrator's. So the import could do something weird.

@kescobo
Copy link
Contributor Author

kescobo commented Mar 17, 2021

Do you mean saving as PDF from CairoMakie? I'm having some issues with that (ImageMagick throwing errors)

@jkrumbiegel
Copy link
Collaborator

That sounds weird, why is ImageMagick involved in that? Cairo can save pdfs directly

@kescobo
Copy link
Contributor Author

kescobo commented Mar 17, 2021

🤷‍♂️ when I first tried CairoMakie.save("myfig.pdf", scene) it have me an error saying ImageMagick wasn't installed. When I installed it, I got a different error. Worth a separate issue?

@jkrumbiegel
Copy link
Collaborator

Sure!

@kescobo
Copy link
Contributor Author

kescobo commented Mar 18, 2021

🤔 Can't reproduce the ImageMagick thing in a fresh environment 🤔

@SimonDanisch
Copy link
Member

Might be due to the FileIO update. I think there were certain version mixes, that could run into trouble. On the newest versions, everything should be fixed, so could make sense that it went away in a fresh environment ;)

@jkrumbiegel
Copy link
Collaborator

if pdfs work now, could you report back regarding the clipping problem in illustrator?

@kescobo
Copy link
Contributor Author

kescobo commented Mar 18, 2021

Yeah, was just doing that. PDFs look fine

@jkrumbiegel
Copy link
Collaborator

good, then let's blame this on illustrator's svg import for now, because there's probably nothing we can do if that's the case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo.
Projects
None yet
Development

No branches or pull requests

3 participants