I want to use iconfont in my project,and custom the font file by fontforge.
I know glyph can be referenced by unicode in html or css, such as <i></i>
and &::before{content: "\e030";}
.While I find some people can reference glyph by this: <i>library_music</i>
.I guess that's glyph name, but I cant find the 'library_music' definition in fontforge.
Here is my html and css code.
@font-face {
font-family: 'testfont';
src: url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}
i { font-family: "testfont"; }
<i>library_music</i>
<i></i>
I hope some one can tell me what is the principle of 'library_music' reference and how can I custom the word in fontforge.
thx a lot.