Not all icons are included
We recently ran into an issue where our MAUI app that uses the TTF file from MaterialDesign-Webfont the icons, failed to render specific icons. When I inspected the TTF file using gnome-font-viewer it states that the font contains 7431 glyps rather than 7447. A few icons such as the basic circle are missing.
Oddly, when I manually download @mdi/svg and manually (see #31) run this code on it on it, I end up with a font with 7468 glyphs. It has somehow added:
- All 26 standard ascii lowercase letters
- The 10 arabic numerals
- The underscore character
Which means that it actually has generated only 7468-37=7431 icon glyphs and the circle icon is still missing.
Also reported as https://github.com/Templarian/MaterialDesign-Webfont/issues/100
I've done some analysis and these are my conclusions:
- Oddly when I extract the icons from the font file that claims to have 7431 glyphs, I get only 7430 glyph names.
- When I analyse the name differences between the SVGs and the 7430 extracted from the webfont there are 17 missing icons:
cards-heart
cards-heart-outline
circle
circle-outline
login-variant
minus-thick
music-note-eighth
navigation-variant
numeric-0
numeric-0-circle
numeric-0-circle-outline
radiobox-blank
roman-numeral-1
roman-numeral-10
roman-numeral-5
size-l
terrain
I've ascertained that these icons are present in the meta.json of the @mdi/svg package. There's nothing noticeably about their metadata that sets them apart from other icons either.