If you need the text without waiting the whole page load you may check if the fonts / fonts are loaded as follows:   document.fonts.load('1rem "Martel"').then(() => { document.fonts.load('1rem "Work Sans"').then(() => { initsplit(); }) })  
    • Like
    2