I use custom fonts on my project. It works perfectly 90% of time, but sometimes, in an inconsistant way, it just won't load the font at the startup and I don't know why. I need to reload the page to make it work. It seems, but I'm not 100% sure, the fonts won't display if I clear the cache and I reload my tab without having it focused. Or something like that.
The fonts are applied on my text objects at the start of layout.
Any idea why such an issue ? Any idea how to fix this ?
I had this issue too. Instead of assigning on start of layout. Do it directly on the text object instead of making a "change" while in game.
How do I do this ?
If I set up my custom font from the object property, it will load it from my computer installed fonts and show me a warning that it has fallen back to another font.
Develop games in your browser. Powerful, performant & highly capable.
Hmm, i don't get that warning, but i'm not sure if i publish it, that it'll work as the project is still in dev..
No idea ?