This is a pain point when making browser games, as custom fonts break way too easily in some environments.
That’s why I am thinking that custom fonts in a browser game are nothing more than just pixels to draw for the browser.
I’m doing pretty much anything with Flutter now, even trying to build 2D games with it and unless I’m mistaken: it all renders on a canvas, which has its pros and cons, but in your case it would’ve been a non-issue, or did I misunderstand?