Some icons have a weird width

Shouldn't they look the same?
implemented via link https://fonts.googleapis.com/icon?family=Material+Icons
Yes, I noticed the same issue with the closed_captions icon.
dito for star_rate
Can confirm for star_rate too.
Could it be that star_rate is designed so that you can string 5 of them next to each other to make a "number of stars" rating indicator? (Chris)
On Fri, Jun 10, 2016 at 7:48 AM, Razvan Stoenescu [email protected] wrote:
Can confirm for star_rate too.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/material-design-icons/issues/302#issuecomment-225202900, or mute the thread https://github.com/notifications/unsubscribe/AAtIJvTB8PIL9bTwydMcHDjZdGTZMaKPks5qKXk7gaJpZM4HSg6v .
This occurs when the icon font doesn't contain the icon you're trying to use.
insert_imageisn't in the font because we don't have an icon by that name.insert_photois probably what you're looking for.closed_captionsisn't in the font, butclosed_captionis. That extra s is what's adding the unwanted space.star_ratedoesn't exist in the icon font, although I agree that it should. I've opened #430 to remind me to add it.
equal size :)
The icon calendar_today seems to be too large as well when you use it like this:
<i class="material-icons">
calendar_today
</i>
The icon alt_list seems to be too large and has not border.

We have the problem for visibility_off, and we debug for 6+ hours on it. Any solution?
Any update on this? Also running into this issue for calendar_today icon.
calendar_today has a broken width, with no other changes

calendar_today is fixed in this fork, other items might be as well: https://github.com/jossef/material-design-icons-iconfont
star_rate is definitely behaving differently. Here is a clear screenshot of the problem.
Share icon is not aligned center. Problems seems to be inside the element itself and not CSS. Finally fixed it by adding margin -2px individually to this one item. Somehow this icon seems to be bigger too than the other icons.


This is still occuring.
The icon you're using is called star. Remove _rate and the spacing will be correct.
Nevertheless of any namings etc. - shouldn't all icons have the same size? Like a monospaced font? That gives predictability and anyone can easily add paddings/margins as they wish. This behavior is clearly unexpected and thus considered a bug.
It is monospace, actually. The problem here is that the ligature (the string you write to trigger the display of an icon) needs to be an exact match. Extra characters take up horizontal space.
For example, let's say your font size is 24px and you are using star. That icon renders at 24x24. Perfect.
But now lets say you make a mistake, and write star_rate instead. star matches, renders the star icon in place of that string, but we still have _rate hanging off the end. Although we don't actually render the _rate characters (the icon font has a set of blank latin alphabet characters), they're still there, and they still have a width.
Hope that helps.
But I'll admit, it's not ideal. It's a weird way to fail.
One thing I've seen people do is to use numerical character references (NCR) instead of ligatures — they'll refer to an icon with  instead of 3d_rotation. It guards against this kind of error.
There's a codepoints file in the repo that can be used to generate a list of NCRs.
Ahh that's why! Thanks for the explanation. Ideally this would also show up as the proposed usage on https://material.io/resources/icons/ so people are inclined to go with the entities. On the other hand I guess the whole UX Idea of the font was to use ligatures so people exactly don't have to do that... Tricky. Couldn't the font be set in a way that the other characters get represented with the zero width char that is also used for emojis?