Alright, so I've been trying my hardest to follow the rules of the bitpack to the best of my abilities but we're running into some major issues with our game because of it. It seems that Game Maker: Studio does not allow text drawing operations with web fonts unless I disable WebGL, so I did that and everything seemed fine at first except...
Apparently disabling WebGL causes a
massive drop in performance for any of the text drawing operations. Thus, the renderer I wrote for this caused the game's framerate to hover around 15 fps.. which is completely unacceptable, especially for a game whose only "graphical assets" is text.
So, I figured out a way around this to optimize performance, involving the use of what Game Maker calls "surfaces". Essentially, surfaces act as a frame buffer (so, instead of drawing the text directly to the browser window every single frame, I can draw once to the surface, and just draw the surface to the browser window each frame instead and update the surface periodically, which improved the performance
a lot.)
However, there's a major issue with this. Normally, Game Maker allows surfaces to have transparency, meaning you'd be able to display things behind it. Apparently, this isn't the case for games with WebGL disabled, as I've tried using this method and no matter what the surfaces are completely opaque... making it downright impossible to have multiple layers of text in our game.
The only way around this would be to enable WebGL, but then I can't utilize the built-in web fonts. Luckily, Game Maker
does have an option to use fonts with WebGL enabled,
using a menu that looks like this. The only problem is, html5 exports using this method of displaying text require a texture page (a graphical asset) with all of the font's characters.
So my question is this: Would it be still be within the bitpack's rules if I used these font textures? All of these font textures are generated from fonts installed locally, and I can limit myself only to the ones that are web safe (it would still be in the spirit of the bitpack and also wouldn't look any different visually to the real web fonts). I've been trying as hard as I could to follow the bitpack without resorting to this but every time, Game Maker throws something at me that makes it extremely infeasible. :(