We’re running into some issues with loading Google Fonts in GUI.TextBlock using both block.fontFamily directly and also by applying block.style utilzing style.fontFamily.
It seems that the font will not load for the initial load, but does for subsequent loads. This leads me to believe that the font is not loaded into memory yet, but I’ve also tried importing the font definitions by importing scss with something like import './styles/fonts.scss"; and no dice.
As a rough test, I also tried delaying the instantiation of the class object – which creates these blocks – up to 20000 ms, which didn’t seem to work either.
One thing we noticed is that hovering over a GUI.Button updates the font, but the spacing is off, possibly due to using the default font definition and not updating?
Found a few other methods which seemed pretty hacky IMHO, but no luck so far, regardless.
What we should see (and sometimes see on subsequent page loads):