-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Add SVG font format #149
Comments
Hi Vitaly, Why can't the file be opened? On Sun, Jun 14, 2015, 7:15 PM Vitaly Puzrin [email protected]
|
Because fontforge shows error instead of open it :( . I don't know why. |
I've installed latest FontForge from PPA, and it opens font. But SVG export in fontforge is still broken. Reported to fontforge/fontforge#2369 Possible solution is:
|
fontforge/fontforge#2369 (comment) One more comment. If you are not sure you really need zero descent, set it to ~15% from the bottom. |
@puzrin you are right. I think a commercial font editor is needed. I tried webify and it did not work. |
Any status on this? Out of the list of ~50 icon fonts I summarized "Material Design Icons" is the only icon font library that have no compiled SVG Font (i.e. |
Seems to work great to do the conversion: |
@grimen if it works, test SVG output with fontello and create a pull request. Thank you! |
@katgironpe I actually found a unicode-related bug in the output so ended up writing my own script that works well with Fontello too: https://github.com/grimen/svg-fontglyphs2svg/blob/master/script/ttf2svg. OK, will create a pull request soon then. |
@grimen thank you! |
@katgironpe I could not find any build step for the fonts - are the fonts generated externally? If so should I add the |
@grimen Since Gulp is used on this repo, it might help to add the task for converting the ttf version to svg. That makes most sense although it is not documented. Everything goes here: https://github.com/google/material-design-icons/tree/master/iconfont |
@grimen And is your update to |
@katgironpe 1: OK, then I know - will add a Gulp task then. 2: That is a good idea, I will need to package it and release under another name to avoid clashes with existing one - something like |
@katgironpe Any input on the PR? |
@grimen gave one suggestion. I think this is mostly good. Thank you! |
Please, add SVG font format. Existing TTF/Woff can not be opened in FontForge to convert.
update:
FF from PPA open font, but SVG export produce broken file.
The text was updated successfully, but these errors were encountered: