Google Material Design Icons #417

Open
kristofzerbe opened this Issue Jun 12, 2015 · 15 comments

Projects

None yet

5 participants

@kristofzerbe

I have prepared a fontello font with the new material design icons from Google (https://github.com/google/material-design-icons) as described on https://github.com/fontello/fontello/wiki/How-to-suggest-font-to-fontello#how-to-prepare-a-font-for-use-with-fontello. It can be downloaded from: https://drive.google.com/file/d/0B8Fq4dtgh8myY05rT0pJRlBBTGM/view?usp=sharing

It would be great, if they would be integrated into fontello.

Regards
Kristof

@puzrin
Member
puzrin commented Jun 12, 2015

LGTM. May be someone wish to verify/extend aliases?

@puzrin
Member
puzrin commented Jun 12, 2015

I'd suggest to wait a couple of days, to be sure no updates/fixes needed.

@puzrin
Member
puzrin commented Jun 12, 2015

@kristofzerbe , there are some thing to improve, to make this font maintainable in case of updates.

  • complete set of icons.
  • the same names as for original icons (may be, replacing _ with -).
  • the same icon codes as in original font (more easy to make diff in future)
  • not sure grouping aliaces like device (folder names) a really needed for the search.

https://github.com/google/material-design-icons/tree/master/iconfont - it worth to use font for import to solve all problems at once.

  1. Convert TTF to SVG font via FontForge
  2. Import SVG font (folltello should load all icons at once, preserving codes and names)
  3. Edit names/aliaces via web, or directly config.json in text editor.

/cc @shyndman

@kristofzerbe

@puzrin I've used all 48px sized SVG's of the available icons from Google's github download. Some SVG's came up with errors on importing in fontello and I'm not a specialist in SVG, so they are not included in the font I've made.

For the naming I took the original groups (folder name in Google's download), added the orginal file name and replaced _ with -, as you suggested.

The suggestion you've made (convert TTF, Import SVG and edit names) means that you won't use my preliminary work for fontello?

@puzrin
Member
puzrin commented Jun 13, 2015

@kristofzerbe , in you preliminary work aliases are useful. Other things need rework (for maintainability). If i use it as is, that will cause a huge time loss on next update to track changes.

@puzrin
Member
puzrin commented Jun 13, 2015

The suggestion you've made (convert TTF, Import SVG and edit names) means that you won't use my preliminary work for fontello?

This is the way to quickly get proper glyph codes (as in original)and to not miss any icon. IMHO, it's the fastest way.

That's also can be edited manually in json file. So, i don't insist, only explain one of possible ways.

@kristofzerbe

Ok, FontForge (for Windows) came up with an error opening the original TTF from https://github.com/google/material-design-icons/tree/master/iconfont. As I said, I'm not a specialist in fonts or SVG.

@puzrin
Member
puzrin commented Jun 14, 2015

Wow, something is really broken (checked). I didn't knew it.

Reported bug google/material-design-icons#149

@puzrin
Member
puzrin commented Jun 15, 2015

Latest fontforge version open TTF, but SVG output is still broken fontforge/fontforge#2369. Fonsquirell generator also has the same problem.

@kristofzerbe i forgot to say, if you import font and wish to preserve glyph codes, fontello encoding must be set to 'unicode' (via menu -> advanced -> encoding)

@shyndman

Can you guys provide any more information on what's going wrong? Any specific error messages?

@puzrin puzrin added the font update label Mar 3, 2016
@cm0s
cm0s commented Mar 17, 2016

Any news about the integration of material design icons?

@cm0s
cm0s commented Mar 18, 2016

Yes, it definitely helps! Thank you for the link.
However, is there any plan to officially integrate material icons in the fontello set? (probably more a question for @puzrin)

@puzrin
Member
puzrin commented Mar 18, 2016

@shyndman yes, that will help a lot to keep everything in sync with your repo.

@cm0s As i sad before - i have no objections against adding GMD icons to fontello. Is someone can add search aliases - that will happen fast, if not - when i have time to do it myself (with updating other fonts).

@dbarjs
dbarjs commented Aug 2, 2016

It will be great, can i do something to help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment