-
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
Document usage of underscores in ligatures more clearly #184
Comments
Can we please get dashes instead of underscores? 😢 |
This is still an issue. I struggled with the lack of documentation regarding the need for underscores on multi-word icons. Google eventually led me to issue #177. Which led me here. |
Also faced with the problem. For example, I've tried to use menu_book , but instead, it shows two icons: 'menu' and 'book'. Same time restore_page works, and restore_from_trash not. First, i thought that using codepoints could help https://github.com/google/material-design-icons/blob/master/iconfont/codepoints |
Stumbled over |
I had the exact same problem. Here's what worked for me: So either fetch the resource directly from Google / add this to your code: o͙r͙ go to: fonts.googleapis.com/icon?family=Material+Icons and copy this URL:
Hope it helps! |
I can confirm, that this issue still exists. I am trying to self-host the font. But it seems that I have to use the SVG instead. |
First, I hope recent commenters realize they are piling on an UNRELATED issue? The issue is, we need to do a better job of documenting how ligatures work in icon names. Also, I will note that one weakness with the ligature usage, that perhaps should be documented, is that the ligature code will not work if the text breaks over a line ending. This is just because of how OpenType ligatures and line layout work, not at all apparent there is a reasonable fix for it. :( If you have an issue with a specific ligature NOT WORKING in any other way, then please specify very clearly whether it is Material Icons or Material Symbols, and create an issue for it. |
It's confusing because it differs from the icon name
The text was updated successfully, but these errors were encountered: