I have a multi lingual site using AngularJS I want to load a font using a .woff file, but i don't want to load it every time the site loads, only if it's loaded with the font's specific language. I mean something like that:
function init(lang){
if(lang == 'eng')
// Load font here
}
I can easily use ng-class to take care of applying the font style in my css, so that is not the issue, I worry about loading redundant fonts on other languages and harm my sites loading time.
Thanks