Lines Matching refs:extFonts
309 function loadExtFonts(extFonts) argument
313 extFonts = extFonts.split('|').map(function(ef)
325 waitCounter += extFonts.length;
328 for (var i = 0; i < extFonts.length; i++)
330 if (extFonts[i].url.indexOf(Editor.GOOGLE_FONTS) == 0)
341 link.setAttribute('href', extFonts[i].url);
348 if (extFonts[i].url.indexOf(PROXY_URL) == 0 && PROXY_URL.indexOf('http') == -1)
352 extFonts[i].url = href + extFonts[i].url;
355 var font = new FontFace(extFonts[i].name, 'url(' + extFonts[i].url + ')');
415 var extFonts = xmlDoc.documentElement.getAttribute('extFonts');
417 if (extFonts)
419 loadExtFonts(extFonts);