Closed wirmachenbunt closed 2 months ago
how to load a font for fontface, its not clear how to do it and its not shown in the example
`//Font loading var myFont = new FontFace("myFont", "url(fonts/open-sans.woff2)");
myFont.load().then(function (font) { document.fonts.add(font); console.log("Font loaded"); });`
how to load a font for fontface, its not clear how to do it and its not shown in the example