Fonts

GameMaker has a number of functions that can be used to get information about the included font assets, as well as a further set of functions that can be used to change, add or remove fonts from your game at run-time. In particular the function font_add can be used to add non-standard fonts, like Asian glyph fonts, from a *.ttf or *.otf file.

NOTE The Unicode character 9647 (▯) is used to substitute any missing glyphs that you may have in your designated font when rendering it in the draw event. So if your font doesn't have, for example, the ° symbol, then writing 90° will actually produce 90▯.

The following functions can be used to get information about font resources:

 

The following functions can be used to change and manipulate fonts during a game: