google / material-design-icons

Material Design icons by Google (Material Symbols)
http://google.github.io/material-design-icons/
Apache License 2.0
50.34k stars 9.56k forks source link

MaterialIcons-Regular.ttf isn't a valid font file (Windows 8.1.1) #159

Closed Shidell closed 9 years ago

Shidell commented 9 years ago

Windows 8.1.1 x64 informs me that MaterialIcons-Regular.ttf is not a valid font file. I'm unable to preview the font nor install it.

Shidell commented 9 years ago

Other users have implied that Windows does not recognize the font file as valid, Linux (Ubuntu) does, however.

jestelle commented 9 years ago

Odd.

Can you try http://www.google.com/design/icons/ and/or http://google.github.io/material-design-icons/

On that Windows machine and let us know if the icons render correctly?

Also, have you tried any other icons fonts on that machine?

Shidell commented 9 years ago

Update:

Right-click and downloading "MaterialIcons-Regular.ttf" from https://github.com/google/material-design-icons/tree/master/iconfont seems to be downloading an incomplete font file (42.6 KB?). Clicking on that link, however, leading to https://github.com/google/material-design-icons/blob/master/iconfont/MaterialIcons-Regular.ttf, and right-click -> downloading the "View Raw" link does download the 108 KB file properly, which is valid for both preview and installation.

I'm not sure if this is intended/expected behavior on GitHub. My initial issue is resolved with this discovery, but I don't know if this is a different "bug" of it's own.

jestelle commented 9 years ago

Thanks for all the details Shidell.

The first thing you were downloading I believe wasn't the font at all, but was actually the HTML for Github's details about that file.

Glad you got it worked out.

erik-stunning commented 9 years ago

Hi, I'm trying to use the ttf font on Mac (in Photoshop), but it's not working? Is the font even supposed to work locally on a computer? There is no info whatsoever about this on the Material Icons web page, and I have google all over without luck.

Anyone that can help? I would really like to use the font to embed icons in my Photoshop designs and not have to open every single PNG icon just to use them.

erik-stunning commented 9 years ago

Ok I just found this page that solves the problem: http://zavoloklom.github.io/material-design-iconic-font/cheatsheet.html

Once you copy and paste the icon itself from that page and paste it into Photoshop with the font selected, then it works.

Just confused there's no info about how to do this anywhere? Whereas using the font in code/on a website is described into maximum detail.

erik-stunning commented 9 years ago

Says it's a font for designers but maybe Google really just see web developers as designers :-)