Taking advantage of new web technologies we can optimize the fonts of our game (or, at least, in most of them, the main font) so that it takes up less space (> 1MB to 0.016M and loads much faster , showing exactly the same quality. The woff2 font format is wide supported in all browsers (https://caniuse.com/#search=woff2).
Legal requirement
The license of the font must allow you to do this modification to the font. In the case of default game font I believe that this is the license, so we can do it.
These fonts are free software.
Unlimited permission is granted to use, copy, and distribute them, with or without modification, either commercially or noncommercially.
THESE FONTS ARE PROVIDED "AS IS" WITHOUT WARRANTY. http://mplus-fonts.osdn.jp/about-en.html#license Click to expand...
Tutorial
For the default game font.
You can change the default font TTF (1Mb ) to their WOFF2 western-optimized version (16Kb ).
Put the attached file (woff2 extension) in the font directory
Remove the previous font that has ttf extension.
Change the gamefont.css first-part to (changes in bold).