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

Could SVG's be exported without outlined text #16

Open
mipmip opened this issue May 18, 2022 · 3 comments
Open

Could SVG's be exported without outlined text #16

mipmip opened this issue May 18, 2022 · 3 comments

Comments

@mipmip
Copy link

mipmip commented May 18, 2022

Is this possible? For my case I need to edit the text after the export.

@mipmip
Copy link
Author

mipmip commented May 18, 2022

I found the option in the code which works in src/main/index.tsx

const svg = await node.exportAsync({ format: 'SVG', svgOutlineText: false })

Would you like this option to be available as an plugin setting? It is of course out of the SVGO scope.

@opudalo
Copy link
Collaborator

opudalo commented May 21, 2022

Hello, yeah you can add it as a setting and proceed with PR. Thanks!

@mipmip
Copy link
Author

mipmip commented May 24, 2022

I would love to, but the currect code structure prevents me in submitting a straightforward PR. All configurable settings are tied to the SVGO api. The plugin structure should first have a clear distinction between Generic Settings and SVGO settings. It will take some time and experience in this particular code base to reorganize this.

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

No branches or pull requests

2 participants