I have a problem when i try to fit the text in a div when this one is bigger than the div, i use a function is call Fittowidht.
The problem i think is the font is not loaded at the beginning so i use another function is:
And here is the real problem , when i go throw the web is working perfectly
but when i build for sending to casparcg this method is not working at all and i dont know how to fixed
If you comment out these console.log lines, while you play it in Caspar, do they show up in the console or the log file? In other words: Are you sure, that document.fonts.ready.then fires in Caspar?