Are fixed width fonts kept on one texture?

Monkey Forums/Monkey Programming/Are fixed width fonts kept on one texture?

Grey Alien(Posted 2014) [#1]
Hi all, I'm using a fixed width font in my game by loading in an image and pointing the monkey font system at it. I assume this is kept as a single texture internally and each character image is just a reference to that texture right? Just making sure that I'm not texture thrashing. Thx!


muddy_shoes(Posted 2014) [#2]
The basic mojo font rendering loads the font image you provide and then internally uses the DrawImage calls with a frame number as used for animation strips. So, yes, it's just one texture load.


Grey Alien(Posted 2014) [#3]
Great thanks for confirmation muddy_shoes.