Using icon fonts in new content type

Forums: 

It's not clear to me whether the icon fonts that are used - e.g icomoon in https://github.com/h5p/h5p-simple-multiple-choice for showing radio buttons - are somethuing that I have to manage mysel or whether they are available to all H5P content types for consitency?

BW

Damion

theotherdy's picture

Any help appeciated with how to get FontAwesime icons to render properly. This is what I see on buttons where I am trying to show radio buttons:

Note that FontAwesome is working on Accordion in same Drupal instance above my new content type.

In my .css

... p:before { font-family: 'H5PFontAwesome4'; content: "\f1111";
...
}

In my library.json

"preloadedDependencies": [
    {
"machineName": "FontAwesome",
"majorVersion": 4,
"minorVersion": 5
}
]