I have the same problem using font-display: auto; is the default from typotheque.com which results into different linebreaks everytime.   I followed OSUblake's direction to load the fonts first, if browsers not support this API then the text is not split and animated, but still visible which is enough   document.fonts.ready.then((fontFaceSet) => { const childSplit = new SplitText(".p-line", { type: "lines" }); gsap.set(childSplit.lines, { opacity: 0 })
    • Like
    1