-
Notifications
You must be signed in to change notification settings - Fork 73
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
Copy as SVG #49
Comments
Relevant: Client-side string compression library that could be used for fast compression of icon SVG markup, and fast uncompression on |
This should be doable. All of the font libraries have SVG. The main hurdle I see is material-design-icons, where files are organized into different category folders. Might be tricky to find the relevant SVG file to grab the markup. It didn't cross my mind that copying SVG would be useful. Curious what your use case is for it? |
@thomaspark Yes. Well I in a few occasions prefer SVG, especially when hacking around - but specific use cases are multi-color and animated icons. I also recently posted about GlyphSearch in a active developer forum and the biggest critique against Webfonts - and implicitly the lack of support in GlyphSearch - was that many prefer SVG for various reasons in modern browsers nowadays. There seem to be a ~50/50 opinion on this one. A few articles on the topic:
I am interested in looking into adding the support, but wanted to anchor it first. |
@thomaspark Did a first pass of a little JS script that when needed load and convert SVG Font-Face/Glyphs to SVG Paths, and ability to lookup icon by As you mention Will try to figure out address |
I tried Sidenote: In fact I would suggest moving away from |
Repository for SVG conversion example/sandbox: https://github.com/grimen/svg-fontglyphs2svg |
For the record: Issue: google/material-design-icons#149 Should be merged soon so |
Would be neat to be able to copy an icon as SVG.
The text was updated successfully, but these errors were encountered: