For my project, I would like to incorporate icon fonts and customize the font file using FontForge.
I understand that glyphs can be referenced by unicode in HTML or CSS, for example <i></i>
and &::before{content: "\e030";}
. However, I have noticed some people referencing glyphs like this: <i>library_music</i>
. I assume 'library_music' is the glyph name, but I am unable to locate its definition in FontForge.
Below are snippets of 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 am seeking clarity on how the 'library_music' reference works and guidance on customizing words in FontForge.
Thank you in advance.